MCPcopy Create free account
hub / github.com/antirez/ds4 / test_long_prefill_progress

Function test_long_prefill_progress

tests/ds4_test.c:674–680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672 for (int i = 0; i < 8; i++) {
673 if (restored_after[i].id != reference_after[i].id ||
674 fabsf(restored_after[i].logit - reference_after[i].logit) >
675 continued_logit_tolerance) {
676 fprintf(stderr,
677 "ds4-test: snapshot after[%d] reference=(%d,%.9g) "
678 "restored=(%d,%.9g) delta=%.9g\n",
679 i, reference_after[i].id, reference_after[i].logit,
680 restored_after[i].id, restored_after[i].logit,
681 restored_after[i].logit - reference_after[i].logit);
682 }
683 TEST_ASSERT(restored_after[i].id == reference_after[i].id);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected