Ejemplo n.º 1
0
        public void test_full_five()
        {
            Bruch test = new Bruch(5);

            Assert.IsTrue(test.ToString() == "5");
        }
Ejemplo n.º 2
0
        public void test_15_7()
        {
            Bruch test = new Bruch(15, 7);

            Assert.IsTrue(test.ToString() == "2 1/7");
        }
Ejemplo n.º 3
0
        public void test_one_half()
        {
            Bruch test = new Bruch(1, 2);

            Assert.IsTrue(test.ToString() == "1/2");
        }