tests: add input file as test case

This commit is contained in:
Stevan Freeborn committed 2023-12-08 22:01:58 -06:00
1 parent b05f886666
commit 9aff5620f0
2 files changed
+11

No files matched your search

@@ -27,4 +27,10 @@
<ProjectReference Include="..\HauntedWasteland\HauntedWasteland.csproj" /> <ProjectReference Include="..\HauntedWasteland\HauntedWasteland.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Content Include="..\INPUT.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project> </Project>
+5
View File
@@ -39,6 +39,11 @@ public class MapTests
MapInput, MapInput,
2 2
}, },
new object[]
{
File.ReadAllLines("INPUT.txt"),
13019
}
}; };
public static IEnumerable<object[]> ParseMapTestData => public static IEnumerable<object[]> ParseMapTestData =>