mirror of
https://github.com/PeterCamilleri/fOOrth
synced 2024-11-16 07:47:56 +01:00
Made the specs for .sleep test more lax.
This commit is contained in:
parent
7fbd7a2c4f
commit
c5e8bd06ba
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ class ThreadLibraryTester < MiniTest::Unit::TestCase
|
|||
start = Time.now
|
||||
foorth_equal('0.05 .sleep', [])
|
||||
finish = Time.now
|
||||
assert(finish-start > 0.04)
|
||||
assert(finish-start < 0.06)
|
||||
assert(finish-start > 0.03)
|
||||
assert(finish-start < 0.1)
|
||||
end
|
||||
|
||||
def test_creating_a_thread
|
||||
|
|
Loading…
Reference in a new issue