Esempio n. 1
0
        public void CheckVIN_LessThen17Chars_ReturnsFalse()
        {
            //Arrange
            string vin      = "KJASHDJK3SKDH123";
            bool   expected = false;
            //Act
            bool actual = VIN.CheckVIN(vin);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Esempio n. 2
0
        public void CheckVIN_CorrectVIN_ReturnsTrue()
        {
            //Arrange
            string vin      = "KJASHDJK3SKDH1234";
            bool   expected = true;
            //Act
            bool actual = VIN.CheckVIN(vin);

            //Assert
            Assert.AreEqual(expected, actual);
        }