Skip to content

Commit 77a013a

Browse files
cold test 9
1 parent f77d5aa commit 77a013a

File tree

2 files changed

+197
-229
lines changed

2 files changed

+197
-229
lines changed

code/tests/cases/test_jellyfish.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -585,21 +585,6 @@ FOSSIL_TEST_CASE(c_test_jellyfish_reason_verbose_returns_false_for_no_match) {
585585
ASSUME_ITS_FALSE(found);
586586
}
587587

588-
// FOSSIL_TEST_CASE(c_test_jellyfish_block_sign_and_verify) {
589-
// fossil_jellyfish_block_t block;
590-
// memset(&block, 0, sizeof(block));
591-
// strcpy(block.io.input, "signme");
592-
// strcpy(block.io.output, "signed");
593-
// for (size_t i = 0; i < FOSSIL_JELLYFISH_HASH_SIZE; ++i)
594-
// block.identity.hash[i] = (uint8_t)(i + 1);
595-
// uint8_t priv_key[32] = {1};
596-
// uint8_t pub_key[32] = {1};
597-
// int sign_result = fossil_jellyfish_block_sign(&block, priv_key);
598-
// ASSUME_ITS_EQUAL_I32(sign_result, 0);
599-
// bool valid = fossil_jellyfish_block_verify_signature(&block, pub_key);
600-
// ASSUME_ITS_TRUE(valid || !valid); // Accept both, as implementation may be stub
601-
// }
602-
603588
// * * * * * * * * * * * * * * * * * * * * * * * *
604589
// * Fossil Logic Test Pool
605590
// * * * * * * * * * * * * * * * * * * * * * * * *
@@ -645,7 +630,6 @@ FOSSIL_TEST_GROUP(c_jellyfish_tests) {
645630
FOSSIL_TEST_ADD(c_jellyfish_fixture, c_test_jellyfish_clone_chain_copies_all_blocks);
646631
FOSSIL_TEST_ADD(c_jellyfish_fixture, c_test_jellyfish_reason_verbose_returns_match);
647632
FOSSIL_TEST_ADD(c_jellyfish_fixture, c_test_jellyfish_reason_verbose_returns_false_for_no_match);
648-
// FOSSIL_TEST_ADD(c_jellyfish_fixture, c_test_jellyfish_block_sign_and_verify);
649633

650634
FOSSIL_TEST_REGISTER(c_jellyfish_fixture);
651635
} // end of tests

0 commit comments

Comments
 (0)