Name bundled TTS notices independently of excluded model directories
This commit is contained in:
@@ -40,7 +40,7 @@ namespace MagnetismHeroes.Tests
|
|||||||
Assert.That(source.playOnAwake, Is.False); Assert.That(source.spatialBlend, Is.Zero);
|
Assert.That(source.playOnAwake, Is.False); Assert.That(source.spatialBlend, Is.Zero);
|
||||||
Assert.That(source.clip, Is.Null, "User has deferred supplying music/SFX; no substitute is selected.");
|
Assert.That(source.clip, Is.Null, "User has deferred supplying music/SFX; no substitute is selected.");
|
||||||
}
|
}
|
||||||
foreach (string path in new[] { "NotoSansCJK-OFL.txt", "Qwen3-TTS-Apache-2.0.txt", "Qwen3-TTS-model-card.txt" })
|
foreach (string path in new[] { "NotoSansCJK-OFL.txt", "TTS-Apache-2.0.txt", "TTS-model-card.txt" })
|
||||||
Assert.That(File.ReadAllText("Assets/StreamingAssets/Notices/" + path).Length, Is.GreaterThan(100));
|
Assert.That(File.ReadAllText("Assets/StreamingAssets/Notices/" + path).Length, Is.GreaterThan(100));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user