예제 #1
0
        public void Test_AddBookRead()
        {
            ReadRepository readRep = ReadRepository.getInstance();

            BookRead readBook = new BookRead("Carrie", "Stephen King", "Hodder", DateTime.Now, 242, "horror", DateTime.Now, 2);

            readRep.AddBookRead(readBook);

            Assert.AreEqual(4, readRep.getReadBooksNum());
        }