rcircuit/spec/not_spec.rb
2018-07-10 08:52:34 -05:00

11 lines
163 B
Ruby

describe NotGate do
it "should NOT the input" do
table=[
[0,1],
[1,0]
]
ok=NotGate.test_table(table)
expect(ok).to eq true
end
end