Reputation: 1421
For example, how do I test:
ArrayList<String> list = new ArrayList<String>();
list.iterator();
How to test this "iterator()
" method?
Thanks.
Upvotes: 12
Views: 25710
Reputation: 328568
The few tests I can think of are:
You can also have a look at the tests used in openJDK.
Upvotes: 21