예제 #1
0
        public void IsCodeValid_BLXM1122212()
        {
            ContainerNumberValidator cv = new ContainerNumberValidator();

            Assert.True(cv.IsValid("BLXM1122212"));
        }
예제 #2
0
        public void IsCodeValid_BLXM1122110()
        {
            ContainerNumberValidator cv = new ContainerNumberValidator();

            Assert.False(cv.IsValid("BLXM1122110"));
        }
예제 #3
0
        public void IsCodeValid_Empty()
        {
            ContainerNumberValidator cv = new ContainerNumberValidator();

            Assert.False(cv.IsValid(""));
        }
예제 #4
0
        public void IsCodeValid_TFGU411222B()
        {
            ContainerNumberValidator cv = new ContainerNumberValidator();

            Assert.False(cv.IsValid("TFGU411222B"));
        }
예제 #5
0
        public void IsCodeValid_TFGU4112227__()
        {
            ContainerNumberValidator cv = new ContainerNumberValidator();

            Assert.True(cv.IsValid("TFGU4112227 "));
        }
예제 #6
0
        public void IsCodeValid_tfgu4112227()
        {
            ContainerNumberValidator cv = new ContainerNumberValidator();

            Assert.True(cv.IsValid("tfgu4112227"));
        }