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

ZeroOneTwoAlphabetTest6() private method

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