Exemplo n.º 1
0
        public void InvertLiteralTest()
        {
            var one = new One();

            Assert.AreEqual(one.Invert(), PowerOp.Create(new One(), new NegativeOne()));
            var two = new Two();

            Assert.AreEqual(two.Invert(), PowerOp.Create(new Two(), new NegativeOne()));
        }