Exemplo n.º 1
0
        public void TupleWithAtomToString()
        {
            Tuple tuple = new Tuple(new object[] { 1, new Atom("atom"), 3 });

            Assert.AreEqual("{1,atom,3}", tuple.ToString());
        }
Exemplo n.º 2
0
        public void TupleWithVariableToString()
        {
            Tuple tuple = new Tuple(new object[] { 1, new Variable("X"), 3 });

            Assert.AreEqual("{1,X,3}", tuple.ToString());
        }
Exemplo n.º 3
0
        public void SimpleTupleToString()
        {
            Tuple tuple = new Tuple(new object[] { 1, 2, 3 });

            Assert.AreEqual("{1,2,3}", tuple.ToString());
        }