Example #1
0
        public void Test_CheckYesOrNo_ReturnsFalse()
        {
            var play = MenuOptions.CheckYesOrNo("no");

            Assert.AreEqual(false, play);
        }
Example #2
0
        public void Test_CheckYesOrNo_ReturnsOther()
        {
            var play = MenuOptions.CheckYesOrNo("test");

            Assert.AreEqual(null, play);
        }
Example #3
0
        public void Test_CheckYesOrNo_ReturnsTrue()
        {
            var play = MenuOptions.CheckYesOrNo("yes");

            Assert.AreEqual(true, play);
        }