source: git/gfanlib/test.cpp

spielwiese
Last change on this file was 15813d, checked in by Hans Schoenemann <hannes@…>, 8 years ago
format
  • Property mode set to 100644
File size: 417 bytes
Line 
1#include <iostream>
2#include "gfanlib.h"
3using namespace gfan;
4using namespace std;
5int main()
6{
7    try{
8      cout<<mixedVolume(MixedVolumeExamples::cyclic(12),16)<<endl;
9      cout<<mixedVolume(MixedVolumeExamples::cyclic(12))<<endl;
10      cout<<mixedVolume(MixedVolumeExamples::gaukwa(7),16)<<endl;
11    }
12    catch (...)
13    {
14        cerr<<"Error - most likely an integer overflow."<<endl;
15    }
16    return 0;
17}
Note: See TracBrowser for help on using the repository browser.