mirror of
https://github.com/patchzyy/wiicompiled
synced 2026-09-10 17:16:47 -04:00
15 lines
580 B
C#
15 lines
580 B
C#
namespace Translator.Tests;
|
|
|
|
public sealed class ProductionTranslationPolicyTests
|
|
{
|
|
[Fact]
|
|
public void ProductionProjectIsStrict()
|
|
{
|
|
var repositoryRoot = ProjectPathsForTests.FindRepositoryRoot();
|
|
var productionProject = File.ReadAllText(
|
|
Path.Combine(repositoryRoot, "projects", "mkwii", "recomp.yml"));
|
|
Assert.Contains("allow_unsupported_instructions: false", productionProject, StringComparison.Ordinal);
|
|
Assert.DoesNotContain("allow_unsupported_instructions: true", productionProject, StringComparison.Ordinal);
|
|
}
|
|
}
|