Skip to content

Commit

Permalink
Increase code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed Jul 31, 2023
1 parent 07799c0 commit 5d347d7
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,20 @@ public void testEquals() {
null,
null,
null);
DetectedObject detectedObject2 = new DetectedObject(
null,
0.6,
null,
null,
null,
null,
null,
null,
null);

assertNotEquals(detectedObject1, detectedObject);
assertEquals(detectedObject2, detectedObject1);

assertNotEquals(detectedObject, detectedObject1);

//Correct Type
detectedObject1.setType(detectedObject.getType());
Expand Down

0 comments on commit 5d347d7

Please sign in to comment.