crown  1.0.0
src/test_crown.cpp
Go to the documentation of this file.
00001 /*
00002  Copyright 2015 Nicolas Melot
00003 
00004  This file is part of Crown.
00005 
00006  Crown is free software: you can redistribute it and/or modify
00007  it under the terms of the GNU General Public License as published by
00008  the Free Software Foundation, either version 3 of the License, or
00009  (at your option) any later version.
00010 
00011  Crown is distributed in the hope that it will be useful,
00012  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00014  GNU General Public License for more details.
00015 
00016  You should have received a copy of the GNU General Public License
00017  along with Crown. If not, see <http://www.gnu.org/licenses/>.
00018 
00019 */
00020 
00021 
00022 #include <iostream>
00023 
00024 #include <iostream>
00025 #include <cstdlib>
00026 #include <fstream>
00027 #include <string>
00028 #include <boost/regex.hpp>
00029 #include <iomanip>
00030 
00031 #include <pelib/AmplInput.hpp>
00032 #include <pelib/AmplOutput.hpp>
00033 
00034 #include <pelib/AmplInputData.hpp>
00035 #include <pelib/AmplInputScalar.hpp>
00036 #include <pelib/AmplInputVector.hpp>
00037 #include <pelib/AmplInputMatrix.hpp>
00038 
00039 #include <pelib/AmplOutputScalar.hpp>
00040 #include <pelib/AmplOutputVector.hpp>
00041 #include <pelib/AmplOutputMatrix.hpp>
00042 
00043 #include <pelib/Scalar.hpp>
00044 #include <pelib/Set.hpp>
00045 #include <pelib/Vector.hpp>
00046 #include <pelib/Matrix.hpp>
00047 #include <crown/CrownAllocation.hpp>
00048 
00049 #include <pelib/unit.h>
00050 
00051 using namespace pelib;
00052 using namespace pelib::crown;
00053 using namespace std;
00054 
00055 // Include cpp format input
00056 // Import the buildRecord() function
00057 #include "make_record.cpp"
00058 
00059 void
00060 init()
00061 {
00062 }
00063 
00064 void
00065 setup()
00066 {
00067   // Allocate and initialize your test stack before each test
00068 }
00069 
00070 void
00071 teardown()
00072 {
00073   // Do not forget to free your stacks after each test
00074   // to avoid memory leaks as now
00075 }
00076 
00077 void
00078 cleanup()
00079 {
00080   // Destroy properly your test batch
00081 }
00082 
00083 void
00084 run()
00085 {
00086   // No test
00087 }