MCPcopy Create free account
hub / github.com/ElementsProject/lightning / main

Function main

common/test/run-shutdown_scriptpubkey.c:184–198  ·  view source on GitHub ↗

Test runner

Source from the content-addressed store, hash-verified

182
183// Test runner
184int main(int argc, char *argv[])
185{
186 common_setup(argv[0]);
187
188 test_valid_op_returns();
189 test_invalid_op_return_too_short();
190 test_invalid_op_return_too_long();
191 test_invalid_op_return_wrong_push_length();
192 test_invalid_op_return_wrong_opcode();
193 test_invalid_op_return_empty();
194 test_valid_witnessprogs();
195 test_invalid_witnessprogs();
196 common_shutdown();
197 return 0;
198}

Callers

nothing calls this directly

Tested by

no test coverage detected