Пример #1
0
        public void AcceptableMessageIceAlt2Test()
        {
            string  message  = "mmaammmmootthh";
            Kingdom ice      = new IceKingdom();
            bool    willAlly = ice.WillPledgeAllegiance(message);

            Assert.IsTrue(willAlly);
        }
Пример #2
0
        public void UnAcceptableIceMessageAltTest()
        {
            string  message  = "wwertmajtgho";
            Kingdom ice      = new IceKingdom();
            bool    willAlly = ice.WillPledgeAllegiance(message);

            Assert.IsFalse(willAlly);
        }
Пример #3
0
        public void AcceptableMessageIceTest()
        {
            string  message  = "Ahoy! Fight for me with men and money";
            Kingdom ice      = new IceKingdom();
            bool    willAlly = ice.WillPledgeAllegiance(message);

            Assert.IsTrue(willAlly);
        }