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