Example #1
0
 public void AddTransition()
 {
     FSATransitions transitions = new FSATableTransitions ();
     transitions.Add ("0", "a", "1");
     IList<string> states = transitions.Get ("0", "a");
     Assert.IsTrue(states.Contains("1"));
 }
Example #2
0
 public void AddExistedTransitionThrowsException()
 {
     FSATransitions transitions = new FSATableTransitions ();
     transitions.Add ("0", "a", "1");
     transitions.Add ("0", "a", "1");
 }