Пример #1
0
        public void StopShowFor_KnownNumberGiven_IsShowStoppedForReturnsTrueForSameNumber()
        {
            var showstopper = new Showstopper();

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

            Assert.IsTrue(result);
        }
Пример #2
0
        public void StopShowFor_KnownNumberGiven_IsShowStoppedForReturnsFalseForDifferentNumber()
        {
            var showstopper = new Showstopper();

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

            Assert.IsFalse(result);
        }