Automata.Z3.Tests.Z3_RankedAlphabetTests.ZeroOneTwoAlphabetTest9 C# (CSharp) Method

ZeroOneTwoAlphabetTest9() private method

private ZeroOneTwoAlphabetTest9 ( ) : void
return void
        public void ZeroOneTwoAlphabetTest9()
        {
            try
            {
                Z3Provider z3p = new Z3Provider();
                var A = z3p.TT.MkRankedAlphabet("A", z3p.IntSort, new string[] { "zero", "one", "two" }, new int[] { 0, 1, 2 });
                z3p.TT.GetRankedAlphabetSort("B", z3p.IntSort);
                Assert.IsTrue(false, "expecting exception RankedAlphabet_UnrecognizedAlphabetSort");
            }
            catch (AutomataException e)
            {
                Assert.IsTrue(AutomataExceptionKind.RankedAlphabet_UnrecognizedAlphabetSort == e.kind);
            }
        }