Example #1
0
 public void ShouldNot_ChangeCommand(CommandDay8b command)
 {
     Assert.Throws <Exception>(() => command.ChangeCommand());
 }
Example #2
0
        public void Should_FindCommandThatCauseInfiniteLoopData(List <CommandDay8> commands, CommandDay8b expected)
        {
            var solver = new PuzzleSolverDay8();
            var result = solver.FindCommandThatCauseInfiniteLoopData(commands);

            result.Should().BeEquivalentTo(expected);
        }
Example #3
0
 public void Should_ChangeCommand(CommandDay8b command, CommandDay8b expected)
 {
     command.ChangeCommand();
     command.Should().BeEquivalentTo(expected);
 }