static void ginfo_push(char *case_name, bool success) { char *r_case_name = (case_name == NULL ? "Anonymous Case" : case_name); for (int i = 0; i < CASE_NUM; i++) { if (!ginfo[i].used) { ginfo[i].case_name = r_case_name; ginfo[i].success = success; ginfo[i].used = TRUE; return; } } test_warning(); printf("GINFO full, [%s] result not recorded.\n", r_case_name); }
TEST(langParser, lkjCovDeprecationFunction) { test_warning("lkj_cov_deprecation2", "Info: the lkj_cov_log() function is deprecated."); }
TEST(langParser, lkjCovDeprecationSampling) { test_warning("lkj_cov_deprecation1", "Info: the lkj_cov_log() sampling distribution is deprecated."); }
TEST(langParserExpressionGrammarDef, absDeprecate) { test_warning("abs-deprecate", "Info: Function abs(real) is deprecated in the Stan language."); }
TEST(langParserExpressionGrammarDef, intDivUserFacing) { test_warning("int_div_user", "a[1] / b[2]"); }
TEST(langParserStatementGrammarDef, intDivUserFacing) { test_warning("int_div_user", "a[1] / b[2]"); }