public void mnozenie_3_liczb() { iloczyn target = new iloczyn(); // TODO: Initialize to an appropriate value object[] args = new string[3]; // TODO: Initialize to an appropriate value args[0] = "2.0"; args[1] = "5"; args[2] = "2.5"; object expected = "25"; // TODO: Initialize to an appropriate value object actual = target.run(args); Assert.AreEqual(expected, actual); }
public void mnozenie_2_liczb() { iloczyn target = new iloczyn(); // TODO: Initialize to an appropriate value object[] args = new string[2]; // TODO: Initialize to an appropriate value args[0] = "2.0"; args[1] = "5.5"; object expected = "11"; // TODO: Initialize to an appropriate value object actual; actual = target.run(args); Assert.AreEqual(expected, actual); // Assert.Inconclusive("Verify the correctness of this test method."); }