X-Git-Url: https://mattmccutchen.net/bigint/bigint.git/blobdiff_plain/3e1327901d299a537a8d932c49dd330f87ac3bda..0afe80d551aa9b66b574b956cf681692399fc728:/testsuite.cc diff --git a/testsuite.cc b/testsuite.cc new file mode 100644 index 0000000..c91c8ad --- /dev/null +++ b/testsuite.cc @@ -0,0 +1,17 @@ +/* Test suite for the library. First, it ``tests'' that all the constructs it + * uses compile successfully. Then, its output to stdout is compared to the + * expected output automatically extracted from slash-slash comments below. */ + +#include "BigIntegerLibrary.hh" + +#include +#include +using namespace std; + +int main() { + +BigUnsigned z(0), one(1), ten(10); +cout << z << ',' << one << ',' << ten << endl; //0,1,10 + +return 0; +}