예제 #1
0
 public void ShoeSizeConstructionPass()
 {
     Size s = new ShoeSize(43);
     string text = s.GetAsText();
     Assert.AreEqual("43", text);
 }
예제 #2
0
 public void TestOfShoeSizePrintPass()
 {
     Size s = new ShoeSize(new int[42]);
        int size = s.GetAsInt();
        Assert.AreEqual(42,size);
 }