示例#1
0
        static void Main(string[] args)
        {
            UnitCounter unitCounter = new UnitCounter();

            unitCounter.UnitTest();
            unitCounter.UnitTest();
            unitCounter.UnitTest();

            Console.ReadKey();
        }
示例#2
0
        static void Main(string[] args)
        {
            UnitCounter unitCounter = new UnitCounter();

            unitCounter.UnitTest(new List <Func <bool> >()
            {
                () => true,
                () => false,
                () => false,
                () => true
            });

            Console.ReadKey();
        }