Esempio n. 1
0
void
test_default_ctor (const T*, const char *tname, bool copy)
{
    if (!copy)
        rw_info (0, 0, __LINE__, "std::valarray<%s>::valarray()", tname);

    test_ctor ((const T*)0, tname, DefaultCtor, copy, __LINE__, 0, 0);
}
Esempio n. 2
0
int main (int argc, char ** argv)
{
	printf ("KEYSET TESTS\n");
	printf ("===============\n\n");

	init (argc, argv);

	test_ctor ();
	test_basic ();
	test_searching ();
	test_iterating ();

	printf ("\n%s RESULTS: %d test(s) done. %d error(s).\n", argv[0], nbTest, nbError);
	return nbError;
}
Esempio n. 3
0
int main (int argc, char ** argv)
{
    printf ("KEY TESTS\n");
    printf ("===============\n\n");

    init (argc, argv);

    test_ctor ();

    create_global_keys ();
    test_props ();
    test_basic ();
    test_operators ();
    test_name_manipulation ();
    test_value_operations ();
    test_meta_data ();
    test_validating ();
    destroy_global_keys ();

    printf ("\n%s RESULTS: %d test(s) done. %d error(s).\n", argv[0], nbTest, nbError);
    return nbError;
}