Question
I need to create a junit test for all these methods that I have implemented. I got all these methods from: https://docs.oracle.com/javase/8/docs/api/java/util/List.html#add-E- public int size(){
I need to create a junit test for all these methods that I have implemented.
I got all these methods from: https://docs.oracle.com/javase/8/docs/api/java/util/List.html#add-E-
public int size(){ return this.list.size(); } public boolean isEmpty(){ return this.list.isEmpty(); } public boolean contains(Object o){ return this.list.contains(o); } public Iterator If you could help me also fix my tick method its giving me a error and check my tostring that would be wonderful!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started