1include "test.idp"
2
3cout << functionDEFINITION << "length" << endl;
4real t;
5string str = "Hello, wordl!";
6string str2 = "";
7string str3;
8int size;
9
10t = clock();
11size = str.length;
12t = clock() - t;
13cout << timeELAPSED << t << endl;
14test(size == 13);
15
16t = clock();
17size = str2.length;
18t = clock() - t;
19cout << timeELAPSED << t << endl;
20test(size == 0);
21