public void CheckIfState4ReturnsState9WhenC3Char() { // arrange var fsm = new Fsm(true); // act var res = fsm.CheckIfState4(C3Char); // assert Console.Out.WriteLine((res == 9) + " -> result of CheckIfState4ReturnsState9WhenC3Char"); }
public void CheckIfState4ReturnsBadStateWhenBadChar() { // arrange var fsm = new Fsm(true); // act var res = fsm.CheckIfState4('w'); // assert Console.Out.WriteLine((res == -1) + " -> result of CheckIfState4ReturnsBadStateWhenBadChar"); }