tests: add input file as test case
This commit is contained in:
@@ -27,4 +27,10 @@
|
||||
<ProjectReference Include="..\HauntedWasteland\HauntedWasteland.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\INPUT.txt">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -39,6 +39,11 @@ public class MapTests
|
||||
MapInput,
|
||||
2
|
||||
},
|
||||
new object[]
|
||||
{
|
||||
File.ReadAllLines("INPUT.txt"),
|
||||
13019
|
||||
}
|
||||
};
|
||||
|
||||
public static IEnumerable<object[]> ParseMapTestData =>
|
||||
|
||||
Reference in New Issue
Block a user