aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gleam/bool_test.gleam14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/gleam/bool_test.gleam b/test/gleam/bool_test.gleam
index c2ef78b..ad47ea2 100644
--- a/test/gleam/bool_test.gleam
+++ b/test/gleam/bool_test.gleam
@@ -10,6 +10,20 @@ pub fn negate_test() {
|> should.be_true
}
+pub fn nor_test() {
+ bool.nor(False, False)
+ |> should.be_true
+
+ bool.nor(False, True)
+ |> should.be_false
+
+ bool.nor(True, False)
+ |> should.be_false
+
+ bool.nor(True, True)
+ |> should.be_false
+}
+
pub fn exclusive_or_test() {
bool.exclusive_or(True, True)
|> should.be_false