Beispiel #1
0
        public void ValidateOrder_SevenCharacters_ReturnsFalse()
        {
            OrderValidation orderValidation = new OrderValidation();
            Boolean         result          = orderValidation.OrderNumberIsValid("YN50-231");

            Assert.AreEqual(result, false);
        }
Beispiel #2
0
        public void ValidateOrder_Returns_True()
        {
            OrderValidation orderValidation = new OrderValidation();
            Boolean         result          = orderValidation.OrderNumberIsValid("YN50-2315");

            Assert.AreEqual(result, true);
        }
Beispiel #3
0
        public void ValidateOrder_AllNumbers_ReturnsFalse()
        {
            OrderValidation orderValidation = new OrderValidation();
            Boolean         result          = orderValidation.OrderNumberIsValid("1250-2315");

            Assert.AreEqual(result, false);
        }