Exemplo n.º 1
0
        public void Validate_ISBN10_Checksum_invalid()
        {
            string     ISBN = "0134757590";
            ISBNFinder sut  = new ISBNFinder();

            Assert.False(sut.checkISBN10(ISBN));
        }
Exemplo n.º 2
0
        public void Validate_ISBN10_Checksum_validWithX()
        {
            string     ISBN = "043942089X";
            ISBNFinder sut  = new ISBNFinder();

            Assert.True(sut.checkISBN10(ISBN));
        }
Exemplo n.º 3
0
        public void Validate_ISBN10_Checksum()
        {
            string     ISBN = "0134757599";
            ISBNFinder sut  = new ISBNFinder();

            Assert.True(sut.checkISBN10(ISBN));
        }