Beispiel #1
0
        public void TestMethod4()
        {
            var cup = new Cup();

            cup.Fill();
            cup.Fill();
        }
Beispiel #2
0
        public void TestMethod2()
        {
            var cup = new Cup();

            cup.Fill();
            Assert.IsTrue(cup.IsFull);
        }
Beispiel #3
0
        public void TestMethod6()
        {
            var cup = new Cup();

            cup.Fill();
            cup.Drink();
            cup.Drink();
        }
Beispiel #4
0
        public void TestMethod3()
        {
            var cup = new Cup();

            cup.Fill();
            cup.Drink();

            Assert.IsFalse(cup.IsFull);
        }
Beispiel #5
0
        public void TestMethod7()
        {
            var cup = new Cup();

            for (int i = 0; i < 1000; i++)
            {
                cup.Fill();
                cup.Drink();
            }

            Assert.IsFalse(cup.IsFull);
        }