예제 #1
0
        public void TestDifference()
        {
            var f1  = new Frac(1, 2);
            var f2  = new Frac(1, 3);
            var otv = f1.Difference(f2);

            Assert.AreEqual(otv.Numerator, 1);
            Assert.AreEqual(otv.Denominator, 6);
        }