Tests.TestFixture2.Test2 C# (CSharp) Method

Test2() private method

private Test2 ( ) : void
return 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 } });
        }