Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
spacewander committed Feb 12, 2017
1 parent 924499f commit 4dfaf08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ describe('benchmark', function()
end, 'test')
print(res)
assert.are.same(res.label, 'test')
assert.is_true(res.real > time)
assert.is_true(res.total > time)
assert.is_true(res.real > 0)
assert.is_true(res.total >= time)
assert.is_true(res.stime >= 0)
assert.is_true(res.utime >= 0)
assert.is_true(res.stime + res.utime == res.total)
Expand Down

0 comments on commit 4dfaf08

Please sign in to comment.