3 #include "../document.h"
9 unsigned test_objects = 4;
11 int main(int argc, char ** argv)
15 for (unsigned id = 0; id < test_objects; ++id)
17 doc.Add(Random(), Random(), Random(), Random());
19 doc.Save("test.ipdf");
21 Document equ("test.ipdf");
22 //doc.Add(Random(), Random(), Random(), Random());
23 if (doc != equ || equ != doc)
25 Error("Loaded document is not equivelant to saved document!");
26 doc.DebugDumpObjects();
27 equ.DebugDumpObjects();