This commit is contained in:
parent
ba00edc4db
commit
465c959414
@ -70,7 +70,7 @@ func TestRest(t *testing.T) {
|
|||||||
|
|
||||||
rapid.Check(t, func(t *rapid.T) {
|
rapid.Check(t, func(t *rapid.T) {
|
||||||
myList := descSortedIntListGen().Draw(t, "myList")
|
myList := descSortedIntListGen().Draw(t, "myList")
|
||||||
assert.GreaterOrEqual(t, myList.First(), myList.Rest().First(), "rest decreases value in list head")
|
assert.Greater(t, myList.First(), myList.Rest().First(), "rest decreases value in list head")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user