You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed the seed to 42 as indicated in the source file, but still fail the test. I'm guessing Julia has changed its randomness mechanism between 1.2 (the one you assume) and 1.5 (the one I use), so not sure an issue is in order.
using Random
aboutkoan ="set the myseed equal to something else, besides 1"
myseed =42
Random.seed!(myseed)
@testrand(1:10^20) ==5590813852184710016
Test Failed at In[10]:5
Expression: rand(1:10 ^ 20) == 5590813852184710016
Evaluated: 2353793361580022217 == 5590813852184710016
There was an error during testing
Stacktrace:
[1] record(::Test.FallbackTestSet, ::Union{Test.Error, Test.Fail}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:737
[2] do_test(::Test.ExecutionResult, ::Any) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:520
[3] top-level scope at In[10]:5
The text was updated successfully, but these errors were encountered:
I changed the seed to 42 as indicated in the source file, but still fail the test. I'm guessing Julia has changed its randomness mechanism between 1.2 (the one you assume) and 1.5 (the one I use), so not sure an issue is in order.
The text was updated successfully, but these errors were encountered: