#include #include "gate.h" #include "parser.h" int main(void) { char test_string[] = "input test\n"; assert(0 == parse_line(test_string)); assert(gate_get_input_by_name("test") != NULL); assert(0 != parse_line(test_string)); assert(gate_get_input_by_name("test") != NULL); return 0; }