コード例 #1
0
 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);
 }
コード例 #2
0
 public void ResultToDecFailTest()
 {
     Variabel target = new Variabel();
     string text = "abc";
     Decimal actual;
     actual = target.ResultToDec(text);
 }