-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
42 lines (34 loc) · 826 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include "moduleFoo.h"
#include "moduleBar.h"
#include <iostream>
int
main()
{
std::cout << "#### Foo\n";
ObjectFoo f = makeFoo();
std::cout << f.toString(1) << '\n';
std::cout << "# Perform wibble-zorbling\n";
f.wibble();
f.zorble();
for (int i = 0; i < 3; ++i)
f.flibber();
std::cout << f.toString(1) << '\n';
std::cout << "# Perform wibble-zorble-flibbering\n";
f.unwibble();
f.unwibble();
f.zorble();
f.flibber();
std::cout << f.toString(1);
std::cout << '\n';
//////////////////////////////////////////////////////////////////////////////////////
std::cout << "#### Bar\n";
ObjectBar b = makeBar();
std::cout << b.toString(1) << '\n';
std::cout << "# Perform splinx-yibbling\n";
b.splinx();
b.yibble();
for (int i = 0; i < 5; ++i)
b.flibber();
std::cout << b.toString(1);
return 0;
}