Closed
Description
What would you like to share?
In the lines 35 - 42, test_and_gate() function is defined.
def test_and_gate() -> None:
"""
Tests the and_gate function
"""
assert and_gate(0, 0) == 0
assert and_gate(0, 1) == 0
assert and_gate(1, 0) == 0
assert and_gate(1, 1) == 1
But it is never called during the entire run time of the program.
Therefore, I would suggest adding a function call test_and_gate()
between lines 45 and 46 to first verify all assertions before any real output.
Additional information
No response