From 45eb8cf148aef08e7a9212bccbb6f0e98ba780a3 Mon Sep 17 00:00:00 2001 From: Brandon Jackson <1drummer@att.net> Date: Tue, 22 Sep 2015 00:05:17 -0500 Subject: [PATCH] Updated test to prove projection works --- test.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/test.cpp b/test.cpp index 1c138cb..e6f7261 100755 --- a/test.cpp +++ b/test.cpp @@ -47,5 +47,15 @@ int main() { n.push_back("Hcnul"); n.push_back("Rennid"); + //Projection test + vector projectTest; + projectTest.push_back("Breakfast"); + projectTest.push_back("Dinner"); + + cout << "\n***Initiated Projection***\n" << endl; + + Relation sub_r = engine.projection(projectTest, r); + sub_r.display(); + //engine.rename(r, o, n); -} \ No newline at end of file +}