Skip to content
Snippets Groups Projects
Commit c99e8d06 authored by Danny Allen's avatar Danny Allen
Browse files

Update CircularArrayComparatorTests.java

parent 32ed48dd
No related branches found
No related tags found
No related merge requests found
......@@ -113,8 +113,10 @@ public class CircularArrayComparatorTests extends TestsUtility {
public static int test_equals_doesnt_modify() {
CircularArrayFIFOQueue<String> l1 = init();
CircularArrayFIFOQueue<String> l2 = init();
l1.add("a");
l1.equals(init());
return l1.size() == 1? 1 : 0;
l2.add("a");
l1.equals(l2);
return l1.size() == 1 ? 1 : 0;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment