SSD5_EXE3练习题
if (!testConstructors()) {
cerr << "Constructor and\\or accessors failed check\n"
return EXIT_FAILURE
}
if (!testLessThan()) {
cerr << "Operator < failed check\n"
return EXIT_FAILURE
}
if (!testInsertion()) {
cerr << "Operator >> failed check\n"
return EXIT_FAILURE
}
cout << "All tests passed\n"
return EXIT_SUCCESS
标签:
testConstructors
Constructor
accessors
failed
上传时间:
2016-11-16
上传用户:zhliu007