OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace-cog commits / 1e83492

Fix more off-counts
1e83492bc7f55827df5c7bf7b32109a4b69cbf7c
by Linas Vepstas <linasvepstas@gmail.com> · 2025-12-13T05:45:46.000Z

Changed files (2) +5 -4

tests/persist/cog-simple/SimpleBasicSaveUTest.cxxtest +2 -2
……@@ -407,8 +407,8 @@ void BasicSaveUTest::test_table()
407407 size_t num_fetched = table2->get_size();
408408 printf("test_table: Done loading table; fetched %lu, expected %lu\n",
409409 num_fetched, num_stored);
410 // Two extra: (PredicateNode "*-TruthValueKey-*") and (PredicateNode "*-IsKeyFlag-*")
411 TSM_ASSERT("Wrong number of atoms fetched", num_fetched == num_stored+2);
410 // 12 extra from CogServerNode, etc.
411 TSM_ASSERT("Wrong number of atoms fetched", num_fetched == num_stored+12);
412412
413413 idx = 0;
414414 check_table(idx++, as2, "aaa ");
tests/persist/cog-storage/BasicSaveUTest.cxxtest +3 -2
……@@ -416,8 +416,9 @@ void BasicSaveUTest::test_table()
416416 size_t num_fetched = table2->get_size();
417417 printf("test_table: Done loading table; fetched %lu, expected %lu\n",
418418 num_fetched, num_stored);
419 // Two extra: (PredicateNode "*-TruthValueKey-*") and (PredicateNode "*-IsKeyFlag-*")
420 TSM_ASSERT("Wrong number of atoms fetched", num_fetched == num_stored+2);
419 // 12 extra: (PredicateNode "*-TruthValueKey-*") and "*-IsKeyFlag-*"
420 // and gorp from CogServerNode
421 TSM_ASSERT("Wrong number of atoms fetched", num_fetched == num_stored+12);
421422
422423 idx = 0;
423424 check_table(idx++, table2, "aaa ");