Example #1
0
int main() {

	testConstructorsAndAssignment();
	testOperators();
	testAccess();
	testPushPop();
	testIteration();
    testExceptions();
	testIterationConstness();

	return 0;
}
Example #2
0
int main() {
  int rv = 0;
  rv += testEmpty();
  rv += testAccess();
  rv += testWrite();
  rv += testFind();
  rv += testVoid();
  rv += testRFind();
  rv += testCompressWhitespace();
  if (0 == rv) {
    fprintf(stderr, "PASS: StringAPI tests\n");
  }
  return rv;
}