public void ResultToDecTest() { Variabel target = new Variabel(); // TODO: Initialize to an appropriate value string text = "3.5"; // TODO: Initialize to an appropriate value Decimal expected = 3.5M; // TODO: Initialize to an appropriate value Decimal actual; actual = target.ResultToDec(text); Assert.AreEqual(expected, actual); }
public void ResultToDecFailTest() { Variabel target = new Variabel(); string text = "abc"; Decimal actual; actual = target.ResultToDec(text); }