add binary operators

This commit is contained in:
simon lehericey 2022-06-09 12:14:08 +02:00
parent 6ebfc505c4
commit a98a6d6d1e
9 changed files with 131 additions and 1 deletions

View file

@ -6,5 +6,7 @@ describe Logic do
expect(Logic.from_json(constant(1).to_json)).to eq(constant(1))
expect(Logic.from_h(empty.to_h)).to eq(empty)
expect(Logic.from_h(greater_than(constant(1), constant(2)).to_h)).to eq(greater_than(constant(1), constant(2)))
end
end