Ejemplo n.º 1
0
        public void AcceptableMessageIceAlt2Test()
        {
            string  message  = "mmaammmmootthh";
            Kingdom ice      = new IceKingdom();
            bool    willAlly = ice.WillPledgeAllegiance(message);

            Assert.IsTrue(willAlly);
        }
Ejemplo n.º 2
0
        public void UnAcceptableIceMessageAltTest()
        {
            string  message  = "wwertmajtgho";
            Kingdom ice      = new IceKingdom();
            bool    willAlly = ice.WillPledgeAllegiance(message);

            Assert.IsFalse(willAlly);
        }
Ejemplo n.º 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);
        }