public void dzielenie_2_liczb() { iloraz target = new iloraz(); // TODO: Initialize to an appropriate value object[] args = new string[2]; // TODO: Initialize to an appropriate value args[0] = "2.0"; args[1] = "5"; object expected = "0,4"; // TODO: Initialize to an appropriate value object actual = target.run(args); Assert.AreEqual(expected, actual); }
public void dzielenie_2_przez_1() { iloraz target = new iloraz(); // TODO: Initialize to an appropriate value object[] args = new string[2]; // TODO: Initialize to an appropriate value args[0] = "2.0"; args[1] = "1"; object expected = "2"; // TODO: Initialize to an appropriate value object actual = target.run(args); Assert.AreEqual(expected, actual); // Assert.Inconclusive("Verify the correctness of this test method."); }