Updated test to prove projection works
This commit is contained in:
parent
94e2844ffa
commit
45eb8cf148
1 changed files with 11 additions and 1 deletions
12
test.cpp
12
test.cpp
|
@ -47,5 +47,15 @@ int main() {
|
|||
n.push_back("Hcnul");
|
||||
n.push_back("Rennid");
|
||||
|
||||
//Projection test
|
||||
vector<string> 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);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue