Prove released mapped Aetheria asset lowering

This commit is contained in:
Meta Vens 2026-07-16 14:46:49 +01:00
commit 9897527ca5
6 changed files with 38 additions and 26 deletions

View file

@ -9,6 +9,7 @@ using GameCult.Eve.Surface;
using GameCult.Eve.UnityUIToolkit;
using GameCult.Eve.UnityScene;
using GameCult.Eve.UnityScene.Fields;
using GameCult.Mesh;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
@ -262,6 +263,9 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
Assert.That(provider.Selection.VerseId, Is.Not.Empty);
Assert.That(provider.Selection.ProviderId, Is.Not.Empty);
Assert.That(provider.Selection.SurfaceId, Is.Not.Empty);
Assert.That(provider.CurrentAssetBodyTransportKind,
Is.EqualTo(CultMeshBodyTransportKind.SharedFileMapping),
"The generic client did not negotiate its verified provider bundle as a mapped body.");
host = root.AddComponent<EveUnityPlayableWorldClientHost>();
host.Configure(
root.transform,
@ -815,6 +819,7 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
Assert.That(fieldSplats, Is.Not.Null);
WriteWitnessFacts(
witnessProfile,
provider.CurrentAssetBodyTransportKind?.ToString() ?? "",
initialVersion,
runtime.ActiveVersion,
movementDistance,
@ -894,6 +899,7 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
private static void WriteWitnessFacts(
string witnessProfile,
string assetBodyTransport,
long initialVersion,
long finalVersion,
float movementDistance,
@ -960,6 +966,7 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
witnessProfile = witnessProfile,
providerAdvertisement = true,
providerAssets = true,
assetBodyTransport = assetBodyTransport,
environmentPresentation = environmentPresentation,
fieldVolumeFrameId = fieldVolumeFrameId,
fieldVolumeLayerCount = fieldVolumeLayerCount,
@ -1042,6 +1049,7 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
public string witnessProfile;
public bool providerAdvertisement;
public bool providerAssets;
public string assetBodyTransport;
public bool environmentPresentation;
public long fieldVolumeFrameId;
public int fieldVolumeLayerCount;