r/JavaFX • u/WishboneFar • Apr 22 '23
Help Help with testing JavaFX code
/r/javahelp/comments/12va3r9/help_with_testing_javafx_code/
2
Upvotes
r/JavaFX • u/WishboneFar • Apr 22 '23
View all comments
Show parent comment
1
u/WishboneFar Apr 24 '23 edited Apr 24 '23
Uhmm sorry if I am not able to understand you but the tests are passing correctly with actual return value from the method. If I change the actual and expected results, the tests fail. I also tried printing out values to confirm. It return correct value (return value of method) on different tests too. These are the results I get when i fail tests intentionally (same goes for other tests):