Exemplo n.º 1
0
int main() {
    fixtureSetup();
    resetTestCount();

    testStarted("test_sort_Int_array");
    setup();
    test_sort_Int_array();
    tearDown();
    testEnded();
    testStarted("test_sort_double_array");
    setup();
    test_sort_double_array();
    tearDown();
    testEnded();
    testStarted("test_sort_character_array");
    setup();
    test_sort_character_array();
    tearDown();
    testEnded();
    testStarted("test_sort_string_array");
    setup();
    test_sort_string_array();
    tearDown();
    testEnded();
    testStarted("test_sort_struct_array");
    setup();
    test_sort_struct_array();
    tearDown();
    testEnded();

    summarizeTestCount();
    fixtureTearDown();
    return 0;
}
Exemplo n.º 2
0
int main(){
	fixtureSetup();
	resetTestCount();

	testStarted("test_sort_Int_array_having_1_element");
	setup();
		test_sort_Int_array_having_1_element();
	tearDown();
	testEnded();
	testStarted("test_sort_Int_array");
	setup();
		test_sort_Int_array();
	tearDown();
	testEnded();
	testStarted("test_sort_float_array");
	setup();
		test_sort_float_array();
	tearDown();
	testEnded();
	testStarted("test_sort_char_array");
	setup();
		test_sort_char_array();
	tearDown();
	testEnded();
	testStarted("test_sort_string_array");
	setup();
		test_sort_string_array();
	tearDown();
	testEnded();
	testStarted("test_sort_double_array");
	setup();
		test_sort_double_array();
	tearDown();
	testEnded();

	summarizeTestCount();
	fixtureTearDown();
	return 0;
}