Randomization related test failures
osj1961 opened this issue · 3 comments
osj1961 commented
some of the tests in guava.tst use randomized inputs. The expected outputs can't necessarily be compared to previous results.
osj1961 commented
The way to deal w/ this issue is to compute the same thing in 2 different ways based on the random item and then compare them. The expected output becomes "true" rather than something that has to do w/ the randomized object.
olexandr-konovalov commented
You can also use ;;
to suppress output and then check that some properties/attributes of the output are correct.
osj1961 commented
Done.