File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ namespace ai {
197197 *
198198 * @return Reference to the jellyfish chain.
199199 */
200- const fossil_jellyfish_chain& getChain () const {
200+ const fossil_jellyfish_chain& get_chain () const {
201201 return chain;
202202 }
203203
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ using fossil::ai::JellyfishAI;
4444FOSSIL_TEST_CASE (cpp_test_jellyfishai_chain_init) {
4545 JellyfishAI ai;
4646 // After init, the chain should be empty and valid
47- ASSUME_ITS_EQUAL_SIZE (ai.getChain ().count , 0 );
47+ ASSUME_ITS_EQUAL_SIZE (ai.get_chain ().count , 0 );
4848}
4949
5050FOSSIL_TEST_CASE (cpp_test_jellyfishai_chain_learn_and_reason) {
@@ -67,11 +67,11 @@ FOSSIL_TEST_CASE(cpp_test_jellyfishai_chain_cleanup) {
6767
6868 ai.learn (" a" , " 1" );
6969 ai.learn (" b" , " 2" );
70- ASSUME_ITS_EQUAL_SIZE (ai.getChain ().count , 2 );
70+ ASSUME_ITS_EQUAL_SIZE (ai.get_chain ().count , 2 );
7171
7272 ai.cleanup ();
7373 // After cleanup, the chain should be empty
74- ASSUME_ITS_EQUAL_SIZE (ai.getChain ().count , 0 );
74+ ASSUME_ITS_EQUAL_SIZE (ai.get_chain ().count , 0 );
7575}
7676
7777FOSSIL_TEST_CASE (cpp_test_jellyfishai_chain_dump) {
@@ -80,7 +80,7 @@ FOSSIL_TEST_CASE(cpp_test_jellyfishai_chain_dump) {
8080 ai.learn (" x" , " y" );
8181 // This just checks that dump does not crash; output is not captured
8282 ai.dump ();
83- ASSUME_ITS_TRUE (ai.getChain ().count == 1 );
83+ ASSUME_ITS_TRUE (ai.get_chain ().count == 1 );
8484}
8585
8686FOSSIL_TEST_CASE (cpp_test_jellyfishai_chain_hash) {
You can’t perform that action at this time.
0 commit comments