Automata.Z3.Tests.Z3_RankedAlphabetTests.ZeroOneTwoAlphabetTest2 C# (CSharp) Метод

ZeroOneTwoAlphabetTest2() приватный Метод

private ZeroOneTwoAlphabetTest2 ( ) : void
Результат void
        public void ZeroOneTwoAlphabetTest2()
        {
            Z3Provider z3p = new Z3Provider();
            try
            {   //number of ranks is wrong
                var A = z3p.TT.MkRankedAlphabet("A", z3p.IntSort, new string[] { "zero", "one", "two" }, new int[] { 0, 1 });
                Assert.IsTrue(false, "expecting exception RankedAlphabet_IsInvalid");
            }
            catch (AutomataException e)
            {
                Assert.IsTrue(AutomataExceptionKind.RankedAlphabet_IsInvalid == e.kind);
            }
        }