From b842955e3e44b707b4b4ca12d6f386a275ba19f9 Mon Sep 17 00:00:00 2001 From: Brandon Jackson <1drummer@att.net> Date: Tue, 15 Sep 2015 20:16:58 -0500 Subject: [PATCH] Update test.cpp --- test.cpp | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 64 insertions(+), 2 deletions(-) diff --git a/test.cpp b/test.cpp index 491d9f9..0c956a1 100755 --- a/test.cpp +++ b/test.cpp @@ -1,5 +1,67 @@ +/* #include +#include "DBEngine.h" + +using namespace std; int main() { - std::cout << "Hello World!"; -} \ No newline at end of file + + + //DBEngine engine; + vector my_vector = {"Name", "Grade", "Happiness"}; + string at1 = "Name", at2 = "Grade", at3 = "Happiness"; + + + Attribute attribute_1(at1);//, attribute_2(at2), attribute_3(at3); + + + //Relation r(line1, my_attributes); + + //r.displayTableName(); +*/ + +#include +//#include "DBEngine.h" +#include +#include "Attribute.h" + +using namespace std; + +int main() { + + /* + DBEngine engine; + Relation r; + Attribute a; + */ + + vector shamWow; + shamWow.push_back("rag"); + shamWow.push_back("sponge"); + shamWow.push_back("wooow"); + shamWow.push_back("cloth"); + + Attribute atributo; + atributo.initializeAttribute("atributo",shamWow); + atributo.display(); + + vector doom; + doom.push_back("zombieman"); + doom.push_back("revenant"); + doom.push_back("imp"); + doom.push_back("archvile"); + + Attribute atributo2; + atributo2.initializeAttribute("attribute_2", doom); + atributo2.display(); + + + + + string line1 = "Table_1"; + + + + //Relation r(line1, my_attributes); +} +