ASSERT_FALSE(chunko, "chunko whack test should succeed");
ASSERT_FALSE(alias, "aliased lorkas whack test should succeed");
ASSERT_TRUE(lorkas, "original lorkas should not have been cleared");
- lorkas = NIL;
+ lorkas = NULL_POINTER;
ASSERT_EQUAL((int)sizeof(testing_file_struct), (int)sizeof(FILE),
"struct size test, sizeof testing_file_struct and sizeof FILE should not differ");
#ifdef __WIN32__
known_operating_systems os = determine_OS();
- if (os == WIN_95)
- printf("This is windows 95.\n");
- else if (os == WIN_NT)
- printf("This is windows NT.\n");
- else if (os == WIN_2K)
- printf("This is windows 2000.\n");
- else if (os == WIN_XP)
- printf("This is windows XP.\n");
- else
- printf("This OS is unknown.\n");
+ astring os_report = "This OS is: ";
+ os_report += opsystem_name(os);
+ os_report += "\n";
+ printf(os_report.s());
#endif
version os_ver = application_configuration::get_OS_version();