public void test_15_7() { Bruch test = new Bruch(15, 7); Assert.IsTrue(test.ToString() == "2 1/7"); }
public void test_full_five() { Bruch test = new Bruch(5); Assert.IsTrue(test.ToString() == "5"); }
public void tofloat() { Bruch test = new Bruch(3, 4); Assert.IsTrue(test.ToFloat() == 0.75f); }
public void test_one_half() { Bruch test = new Bruch(1, 2); Assert.IsTrue(test.ToString() == "1/2"); }