MCPcopy Create free account
hub / github.com/BitVM/BitVM / push_hex

Function push_hex

bitvm/src/bigint/std.rs:948–961  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

946
947 #[test]
948 fn push_hex() {
949 run(script! {
950 { U254::push_hex("30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47") }
951 { 0x187cfd47 } OP_EQUALVERIFY // 410844487
952 { 0x10460b6 } OP_EQUALVERIFY // 813838427
953 { 0x1c72a34f } OP_EQUALVERIFY // 119318739
954 { 0x2d522d0 } OP_EQUALVERIFY // 542811226
955 { 0x1585d978 } OP_EQUALVERIFY // 22568343
956 { 0x2db40c0 } OP_EQUALVERIFY // 18274822
957 { 0xa6e141 } OP_EQUALVERIFY // 436378501
958 { 0xe5c2634 } OP_EQUALVERIFY // 329037900
959 { 0x30644e } OP_EQUAL // 12388
960 });
961 }
962
963 // test the extract window fn
964 #[test]

Callers 1

push_modulusMethod · 0.85

Calls 1

runFunction · 0.85

Tested by

no test coverage detected