diff options
author | Eduardo Julian | 2017-12-03 16:16:50 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-12-03 16:16:50 -0400 |
commit | f2d1c591814a055b48dab3a72b3cddef0d1b0974 (patch) | |
tree | e3eb25da00612f7ece616469542ba1063d49c3a2 /stdlib/test | |
parent | cee0c1010716a1bdafc5c1e90ce3fb9886288b96 (diff) |
- Fixed some small issues uncovered by new-luxc.
Diffstat (limited to 'stdlib/test')
-rw-r--r-- | stdlib/test/test/lux/data/coll/stack.lux | 2 | ||||
-rw-r--r-- | stdlib/test/test/lux/math/logic/fuzzy.lux | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/test/test/lux/data/coll/stack.lux b/stdlib/test/test/lux/data/coll/stack.lux index 2cbd2a1ab..c5f1e598f 100644 --- a/stdlib/test/test/lux/data/coll/stack.lux +++ b/stdlib/test/test/lux/data/coll/stack.lux @@ -30,7 +30,7 @@ (#.Some _) (not (&.empty? sample)))) (test "Popping empty stacks doesn't change anything. - But, if they're non-empty, the top of the stack is removed." + But, if they're non-empty, the top of the stack is removed." (let [sample' (&.pop sample)] (or (n/= (&.size sample) (n/inc (&.size sample'))) (and (&.empty? sample) (&.empty? sample'))) diff --git a/stdlib/test/test/lux/math/logic/fuzzy.lux b/stdlib/test/test/lux/math/logic/fuzzy.lux index 50423a973..a1c01408c 100644 --- a/stdlib/test/test/lux/math/logic/fuzzy.lux +++ b/stdlib/test/test/lux/math/logic/fuzzy.lux @@ -160,12 +160,12 @@ sample (|> r.nat (:: @ map (n/% +20)))] ($_ seq (test "Values that satisfy a predicate have membership = 1. - Values that don't have membership = 0." + Values that don't have membership = 0." (B/= (d/= ~true (&.membership sample (&.from-predicate n/even?))) (n/even? sample))) (test "Values that belong to a set have membership = 1. - Values that don't have membership = 0." + Values that don't have membership = 0." (B/= (d/= ~true (&.membership sample (&.from-set set-10))) (set.member? set-10 sample))) )))) |