I love the tutorials, but I am having a problem with lesson 14. When you run the MyLibrary Test, your test works. However, I am getting an error (fail) on the testGetBooksForPerson test. My error message tells me that expected is<1> but was <0>.
My code matches your code exactly Assert Equals(1,testBooks.size();
I really want to understand what is wrong with my code and why this is not working! I have tried to do the lessons 4 times and I am always getting stuck at lessons 14 or 15.
Thanks for your quick reply.!!:))))))
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I love the tutorials, but I am having a problem with lesson 14. When you run the MyLibrary Test, your test works. However, I am getting an error (fail) on the testGetBooksForPerson test. My error message tells me that expected is<1> but was <0>.
My code matches your code exactly Assert Equals(1,testBooks.size();
I really want to understand what is wrong with my code and why this is not working! I have tried to do the lessons 4 times and I am always getting stuck at lessons 14 or 15.
Thanks for your quick reply.!!:))))))