Beispiel #1
0
 public void CountTest()
 {
     count = new CountVo(100);
     Assert.AreEqual(100, count.Count);
     count.Add();
     Assert.AreEqual(101, count.Count);
 }
 public int CountUp(CountVo count)
 {
     if (count.Count < max)
     {
         count.Add();
     }
     return(count.Count);
 }