What would you like to share?
In the lines 35 - 42, test_and_gate() function is defined.
deftest_and_gate() ->None:
""" Tests the and_gate function """assertand_gate(0, 0) ==0assertand_gate(0, 1) ==0assertand_gate(1, 0) ==0assertand_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
What would you like to share?
In the lines 35 - 42, test_and_gate() function is defined.
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