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