Tests.TestFixture2.Test2 C# (CSharp) 메소드

Test2() 개인적인 메소드

private Test2 ( ) : void
리턴 void
        public void Test2()
        {
            var m = new Marking(4, new Dictionary<int, int>{
                { 0, 1 },
                { 1, 1 },
                { 2, 0 },
                { 3, 0 } });
            var p = CreatePNTwoInTwoOut();
            AssertMarkings(m, new Dictionary<int, int>{
                { 0, 1 },
                { 1, 1 },
                { 2, 0 },
                { 3, 0 } });
            m = p.Fire(m);
            AssertMarkings(m, new Dictionary<int, int>{
                { 0, 0 },
                { 1, 0 },
                { 2, 1 },
                { 3, 1 } });
        }