Lower provider-owned volumetric fields
This commit is contained in:
parent
fbe326f211
commit
852458dade
12 changed files with 474 additions and 4 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue