|
@@ -8,14 +8,23 @@ int main()
|
|
|
cout << "success! Created test" << endl;
|
|
|
int x[3] = {0,1,0};
|
|
|
int y[5] = {1,0,1,1,0};
|
|
|
+ int z[1] = {0};
|
|
|
+ int a[7] = {1,0,1,1,0,0,0};
|
|
|
+ int b[7] = {0,1,1,0,0,1,1};
|
|
|
test->insert(x, 3);
|
|
|
cout << "success! inserted x" << endl;
|
|
|
test->insert(y, 5);
|
|
|
cout << "success! inserted y" << endl;
|
|
|
+ test->insert(z, 5);
|
|
|
+ cout << "success! inserted z" << endl;
|
|
|
+ test->insert(a, 5);
|
|
|
+ cout << "success! inserted a" << endl;
|
|
|
+ test->insert(b, 5);
|
|
|
+ cout << "success! inserted b" << endl;
|
|
|
test->myPrintIsBetterThanYoursLogan();
|
|
|
cout << "Print Done!" << endl;
|
|
|
test->cut(x, 3);
|
|
|
- cout << "success! cut tree" << endl;
|
|
|
+ cout << "success! cut x" << endl;
|
|
|
test->myPrintIsBetterThanYoursLogan();
|
|
|
delete test;
|
|
|
cout << "success! Completed test" << endl;
|