blob: 12e4c4b696f3c722e5fd8500fe45c30b505d332c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: false
require 'test/unit'
class TestNot < Test::Unit::TestCase
def test_not_with_grouped_expression
assert_equal(false, (not (true)))
assert_equal(true, (not (false)))
end
def test_not_with_empty_grouped_expression
assert_equal(true, (not ()))
end
end
|