Add test project to verify the action with

This commit is contained in:
Webber
2019-11-30 15:51:01 +01:00
committed by Webber Takken
parent 4ac3869bcf
commit f7a6d0b151
40 changed files with 2270 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using System;
public class BasicCounter
{
public const int MaxCount = 10;
public BasicCounter(int count = 0)
{
Count = count;
}
public void Increment()
{
Count = Math.Min(MaxCount, Count + 1);
}
public int Count { get; private set; }
}