static void Main(string[] args) { FractionTest fractionTest = new FractionTest(); Console.WriteLine("NORMALIZATION TEST PASS?: " + fractionTest.TestNormalization()); Console.WriteLine("TODOUBLE TEST PASS?: " + fractionTest.TestToDouble()); Console.WriteLine("ADD TEST PASS?: " + fractionTest.TestAdd()); Console.WriteLine("SUBTRACT TEST PASS?: " + fractionTest.TestSubtract()); Console.WriteLine("MULTIPLY TEST PASS?: " + fractionTest.TestMultiply()); Console.WriteLine("DIVIDE TEST PASS?: " + fractionTest.TestDivide()); Console.WriteLine("INCREMENT TEST PASS?: " + fractionTest.TestIncrement()); Console.WriteLine("NEGATE TEST PASS?: " + fractionTest.TestNegate()); Console.WriteLine("COMPARE TEST PASS?: " + fractionTest.TestCompare()); Console.ReadLine(); }
static void Main(string[] args) { FractionTest fractionTest = new FractionTest(); Console.WriteLine("NORMALIZATION TEST PASS?: " + fractionTest.TestNormalization()); Console.WriteLine("TODOUBLE TEST PASS?: " + fractionTest.TestToDouble()); Console.WriteLine("ADD TEST PASS?: " + fractionTest.TestAdd()); Console.WriteLine("SUBTRACT TEST PASS?: " + fractionTest.TestSubtract()); Console.WriteLine("MULTIPLY TEST PASS?: " + fractionTest.TestMultiply()); Console.WriteLine("DIVIDE TEST PASS?: " + fractionTest.TestDivide()); Console.WriteLine("INCREMENT TEST PASS?: " + fractionTest.TestIncrement()); Console.WriteLine("NEGATE TEST PASS?: " + fractionTest.TestNegate()); Console.WriteLine("COMPARE TEST PASS?: " + fractionTest.TestCompare()); Console.ReadLine(); }