Home / CSE MCQs / JUnit MCQs :: Discussion

Discussion :: JUnit MCQs

  1. assertThat(0.03, is(closeTo(1.0, 0.03))) is ___________
  2. A.
    True
    B.
    False
    C.
    Null
    D.
    Error

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    1.0-0.03 = 0.97>0.03, hence is false


Be The First To Comment