MCPcopy Index your code
hub / github.com/BitVM/BitVM / test_script_debug

Function test_script_debug

bitvm/src/lib.rs:347–356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

345
346 #[test]
347 fn test_script_debug() {
348 let script = script! {
349 OP_TRUE
350 DEBUG
351 OP_TRUE
352 OP_VERIFY
353 };
354 let exec_result = execute_script(script);
355 assert!(!exec_result.success);
356 }
357
358 #[test]
359 fn test_script_execute() {

Callers

nothing calls this directly

Calls 1

execute_scriptFunction · 0.85

Tested by

no test coverage detected