Beispiel #1
0
 public void IsNumericTest()
 {
     Form1_Accessor target = new Form1_Accessor(); // TODO: 適切な値に初期化してください
     Assert.AreEqual(true, target.IsNumeric("1"));
     Assert.AreEqual(true, target.IsNumeric("9"));
     Assert.AreEqual(false, target.IsNumeric("-"));
     Assert.AreEqual(false, target.IsNumeric("."));
     Assert.AreEqual(false, target.IsNumeric("a"));
     Assert.AreEqual(false, target.IsNumeric("あ"));
 }