Esempio n. 1
0
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);
}
Esempio n. 2
0
TEST(langParser, lkjCovDeprecationFunction) {
  test_warning("lkj_cov_deprecation2",
               "Info: the lkj_cov_log() function is deprecated.");
}
Esempio n. 3
0
TEST(langParser, lkjCovDeprecationSampling) {
  test_warning("lkj_cov_deprecation1",
               "Info: the lkj_cov_log() sampling distribution is deprecated.");
}
Esempio n. 4
0
TEST(langParserExpressionGrammarDef, absDeprecate) {
  test_warning("abs-deprecate",
               "Info: Function abs(real) is deprecated in the Stan language.");
}
Esempio n. 5
0
TEST(langParserExpressionGrammarDef, intDivUserFacing) {
  test_warning("int_div_user",
               "a[1] / b[2]");
}
Esempio n. 6
0
TEST(langParserStatementGrammarDef, intDivUserFacing) {
  test_warning("int_div_user",
               "a[1] / b[2]");
}