@Test
public void exerciseCanBeMarkedAsCompleted() {
management.add("New exercise");
management.markAsCompleted("New exercise");
assertTrue(management.isCompleted("New exercise"));
//this test fails because of the add method not correctly addeding im assumeing the beleow test doesnn't work as intened as well.
// ill try to fix it and understand it sometime later. I spent too long loocking into it right now
}
public void setCompleted(boolean completed) {
completed = completed;
}
public void setCompleted(boolean completed) {
this.completed = completed;
}