public void CheckIfState2ReturnsState3WhenC2Char() { // arrange var fsm = new Fsm(true); // act var res = fsm.CheckIfState2(C2Char); // assert Console.Out.WriteLine((res == 3) + " -> result of CheckIfState2ReturnsState3WhenC2Char"); }
public void CheckIfState2ReturnsBadStateWhenBadChar() { // arrange var fsm = new Fsm(true); // act var res = fsm.CheckIfState2('w'); // assert Console.Out.WriteLine((res == -1) + " -> result of CheckIfState2ReturnsBadStateWhenBadChar"); }