Simon Diesenreiter d15b0b65da
All checks were successful
CI / linter (9.0.X, ubuntu-latest) (push) Successful in 2m7s
SonarQube Scan / SonarQube Trigger (push) Successful in 2m7s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Successful in 1m37s
feat: initial implementation of input provider, ref: A24-7
2024-12-02 12:54:35 +01:00

17 lines
423 B
C#

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]);
}
}