public void returns_959() { var input = File.ReadAllLines("Files\\Day05.txt"); var result = new Day05Task1().FindHighestSeatId(input); result.Should().Be(959); }
public void returns_max_seat_id() { var input = new[] { "FBFBBFFRLR", "BFFFBBFRRR", "FFFBBBFRRR", "BBFFBBFRLL" }; var result = new Day05Task1().FindHighestSeatId(input); result.Should().Be(820); }
public void returns_seat_id(string input, int expected) { var result = new Day05Task1().FindSeatId(input); result.Should().Be(expected); }
public void finds_column(string input, int expected) { var result = new Day05Task1().FindColumn(input); result.Should().Be(expected); }