Ad
  • Custom User Avatar

    Hi, correct me if Im arong but i think there is a problem with tests. After submitting i get this error:

    "/workspace/java/src/UserTest.java:7: error: reference to assertEquals is ambiguous
    assertEquals("After applying rank of " + rank + " the resulting user rank was expected to be " + expectedRank + ", but was actually " + user.rank, expectedRank, user.rank);
    ^
    both method assertEquals(String,long,long) in Assert and method assertEquals(String,Object,Object) in Assert match
    /workspace/java/src/UserTest.java:8: error: reference to assertEquals is ambiguous
    assertEquals("After applying rank of " + rank + " the progress was expected to be " + expectedProgress + ", but was actually " + user.progress, expectedProgress, user.progress);
    ^
    both method assertEquals(String,long,long) in Assert and method assertEquals(String,Object,Object) in Assert match
    2 errors"

    Am i right or this error is my fault?
    Cheers