Esempio n. 1
0
        public void StopShowFor_KnownNumberGiven_IsShowStoppedForReturnsTrueForSameNumber()
        {
            var showstopper = new Showstopper();

            showstopper.StopShowFor(1);
            var result = showstopper.IsShowStoppedFor(1);

            Assert.IsTrue(result);
        }
Esempio n. 2
0
        public void StopShowFor_KnownNumberGiven_IsShowStoppedForReturnsFalseForDifferentNumber()
        {
            var showstopper = new Showstopper();

            showstopper.StopShowFor(1);
            var result = showstopper.IsShowStoppedFor(2);

            Assert.IsFalse(result);
        }