CST 338 Weekly Journal #2

 Weekly Journal

This week, I worked on HW01, which focused on unit testing. Some of the unit tests were kind of easy and some other ones were a little bit more challenging. For example, I wrote unit tests for the Jotto class, which focused on verifying that the readwords() method correctly reads from a file, handles duplicates, and missing files. However, I think the most challenging test was making sure about unique words because I had to use a Set to confirm that only distinct entries were added to the wordlist. Also, made it hard because there were duplicate words in the file. All in all this helped me get a better understanding of some of these tests and helped me better understand collections and compare data.

Comments

Popular Posts