Lower provider-owned volumetric fields

This commit is contained in:
Meta Vens 2026-07-15 17:12:11 +01:00
commit 852458dade
12 changed files with 474 additions and 4 deletions

View file

@ -23,6 +23,24 @@ namespace GameCult.Eve.UnityScene.Tests
assembly.Name?.Contains("Aetheria", StringComparison.OrdinalIgnoreCase) == true), Is.False);
}
[Test]
public void CanonicalFieldsPackageOwnsTheCultMeshWireDocument()
{
Assert.That(typeof(EveFieldsSplatsDocument).GetCustomAttributes(false)
.Any(attribute => attribute.GetType().Name == "CultDocumentAttribute"), Is.True);
Assert.That(new EveFieldsSplatsDocument().Schema, Is.EqualTo(EveFieldsSchemas.Splats));
Assert.That(typeof(EveFieldsSplatsDocument).Assembly.GetReferencedAssemblies()
.Any(assembly => assembly.Name?.Contains("Aetheria", StringComparison.OrdinalIgnoreCase) == true), Is.False);
}
[Test]
public void VolumeRendererConsumesCanonicalFieldsWithoutProviderCode()
{
Assert.That(typeof(EveUnityFieldsVolumeRenderer).Assembly.GetReferencedAssemblies()
.Any(assembly => assembly.Name?.Contains("Aetheria", StringComparison.OrdinalIgnoreCase) == true), Is.False);
Assert.That(typeof(IEveUnityFieldsSplatsDocumentSource).GetEvent("FieldsSplatsAvailable"), Is.Not.Null);
}
[Test]
public void PackageContainsGenericFieldsShader()
{