this is my attempt to write gtest for this functions
Im not sure how to approach this I'm trying find the most efficient way write gtest for these functions. I don't know if I'm calling the class and objects correctly in test and also I'm not sure if i need seters to be able to set string value and even that how to do it with multiple strings
#include "Datetime.h"
#include <string>
#include <vector>
using namespace std;
class Task
{
private:
Date date;
Date deadline;
Vector<Task*> subtasks;
string tag;
string description;
int priority;
public:
DateTime get_date() {return date;}
DateTime get_deadline() {return deadline;}
Vector<Task*> get_subtask() {return subtasks;}
string get_tag() {return tag;}
string get_description() { return description;}
int get_priority() {return priority;}
void add_subtask(Vector<Task*> subtasks) {subtasks.push_back(subtasks);}
void remove_subtask(Vector<Task*> subtasks) {subtasks.erase(tasks.begin() + i);}
};