I am comparing one double from a text file with a hard-coded double, the value read from a text file is put into a double variable using Double.parseDouble() in Java. Then, I'm using the following line to assert their equality. Is it possible that this assert fails? Does it depend on the value?
assertEquals(17353820.450663020000, Double.parseDouble(input.next()), 0.0);
Note that 0.0 is the value of epsilon used for comparing doubles.
Text file contents:
17353820.450663020000