Alonso-del-Arte / toy-examples

Just a random assortment of classic object-oriented programming toy examples, some more fleshed out than others.
GNU General Public License v3.0
2 stars 6 forks source link

Update ExtendedRandomTest.java #12

Open Kaloioanness opened 1 year ago

Kaloioanness commented 1 year ago

Additional methods extend the testing coverage for the nextObject method, ensuring that it works correctly with different types of collections and handles empty collections gracefully. The rest of the code is largely the same as the initial code you shared, including tests for other methods like nextInt, nextBigInt, nextDouble, nextFraction, and alphanumeric.

Alonso-del-Arte commented 1 year ago

Sorry I didn't see this sooner.

Did you have any problems running the tests? If so, that might be on me. Try running the tests you wrote and let me know what error messages you get.