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

Function foostack32

bitvm/src/hash/sha256_u4_stack.rs:834–855  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

832 }
833 #[test]
834 fn foostack32() {
835 test_sha256(
836 "b2222696d574e2c595e60b97b5fd30fe5efb9535de8421654543534534742475",
837 true,
838 true,
839 );
840 test_sha256(
841 "b2222696d574e2c595e60b97b5fd30fe5efb9535de8421654543534534742475",
842 true,
843 false,
844 );
845 test_sha256(
846 "b2222696d574e2c595e60b97b5fd30fe5efb9535de8421654543534534742475",
847 false,
848 true,
849 );
850 test_sha256(
851 "b2222696d574e2c595e60b97b5fd30fe5efb9535de8421654543534534742475",
852 false,
853 false,
854 );
855 }
856 #[test]
857 fn test_sha256_strs() {
858 let message = "Hello.";

Callers

nothing calls this directly

Calls 1

test_sha256Function · 0.70

Tested by

no test coverage detected