LevelInputProvider/LevelInputProvider.Tests/LevelInputProviderTest.cs

17 lines
423 B
C#
Raw Normal View History

namespace AoCLevelInputProvider.Tests;
using AoCLevelInputProvider;
public class LevelInputProviderTest
{
[Fact]
public void Test1()
{
var lip = new LevelInputProvider();
string text = lip.WithYear(2024).WithLevel(1).Provide();
var lines = text.Split("\n");
Assert.Equal("39472 15292", lines[0]);
Assert.Equal("18560 15292", lines[999]);
}
}