コード例 #1
0
 public virtual void Pass(Turnstile name)
 {
     throw new FSMError("Pass", name.GetCurrentState());
 }
コード例 #2
0
        // default event functions

        public virtual void Coin(Turnstile name)
        {
            throw new FSMError("Coin", name.GetCurrentState());
        }
コード例 #3
0
 public void InitialConditions()
 {
     Assert.IsTrue(turnstile.GetCurrentState() is Locked);
 }