Example #1
0
        public void Black()
        {
            Wire wire = new Black();

            Assert.AreEqual(ResultType.Explode, wire.Cut(new White()));
            Assert.AreEqual(ResultType.Disarm, wire.Cut(new Red()));
            Assert.AreEqual(ResultType.Disarm, wire.Cut(new Black()));
            Assert.AreEqual(ResultType.Explode, wire.Cut(new Orange()));
            Assert.AreEqual(ResultType.Explode, wire.Cut(new Green()));
            Assert.AreEqual(ResultType.Disarm, wire.Cut(new Purple()));
        }