Commit | Line | Data |
---|---|---|
0afe80d5 MM |
1 | /* Test suite for the library. First, it ``tests'' that all the constructs it |
2 | * uses compile successfully. Then, its output to stdout is compared to the | |
3 | * expected output automatically extracted from slash-slash comments below. */ | |
4 | ||
5 | #include "BigIntegerLibrary.hh" | |
6 | ||
7 | #include <string> | |
8 | #include <iostream> | |
9 | using namespace std; | |
10 | ||
11 | int main() { | |
12 | ||
13 | BigUnsigned z(0), one(1), ten(10); | |
14 | cout << z << ',' << one << ',' << ten << endl; //0,1,10 | |
15 | ||
16 | return 0; | |
17 | } |