1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-08 14:42:27 +08:00

feat: add LessOrEqual and GreaterOrEqual

This commit is contained in:
dudaodong
2022-01-09 13:58:27 +08:00
parent 3ffd81a98a
commit 65719515bd
2 changed files with 20 additions and 0 deletions

View File

@@ -9,7 +9,9 @@ func TestAssert(t *testing.T) {
assert.Equal(0, 0)
assert.NotEqual(1, 0)
assert.Greater(1, 0)
assert.GreaterOrEqual(1, 1)
assert.Less(0, 1)
assert.LessOrEqual(0, 0)
assert.Greater(1.1, 0.1)
assert.Less(0.1, 1.1)