created build pipeline to allow unit testing

This commit is contained in:
2021-01-01 21:38:20 +01:00
parent 41ff431bdd
commit 047e9ee732
19 changed files with 99 additions and 6 deletions

23
Assignment_2/lib/Set.cpp Normal file
View File

@@ -0,0 +1,23 @@
#pragma once
#include "Node.cpp"
class Set {
protected:
std::string name;
Set(std::string _name);
Node* first;
public:
bool add(int element) { return false; };
bool rmv(int element) { return false; };
bool ctn(int element) { return false; };
std::string get_name() { return name; };
};
Set::Set(std::string _name){
name = _name;
first = Node::Dummy();
Node* last = Node::Dummy();
first->next = last;
}