Tests.LogicTest.LogicConstructorTest C# (CSharp) Method

LogicConstructorTest() private method

private LogicConstructorTest ( ) : void
return void
        public void LogicConstructorTest()
        {
            Logic target = new Logic();
            Stopwatch w1 = new Stopwatch();
            w1.Start();
            List<Card> cards = target.GenerateCards();
            w1.Stop();

            Stopwatch w2 = new Stopwatch();
            w2.Start();
            HashSet<List<Card>> all_sets = target.FindSets(cards);
            Assert.AreEqual(1080, all_sets.Count);
            w2.Stop();

            long gen = w1.ElapsedMilliseconds;
            long find = w2.ElapsedMilliseconds;
        }