Exemple #1
0
        public void TestQuire8Sub()
        {
            var qA = Quire8.Create();

            qA -= (1, 1);
            var pA = qA.ToPosit();

            Assert.That(pA, Is.EqualTo(Posit8.MinusOne));
        }
Exemple #2
0
        public void TestQuire8Add()
        {
            var qA = Quire8.Create();

            qA += (1, 1);
            var pA = qA.ToPosit();

            Assert.That(pA, Is.EqualTo(Posit8.One));
        }