aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/testing/Requirement.cpp
blob: e7d03e51260b1081d5cca91453dcc709915751f8 (plain) (blame)
1
2
3
4
5
6
7
8
#include <testing/Requirement.hpp>

using namespace OpenVic;

void Requirement::set_pass(bool in_pass) {
   pass = in_pass;
   set_tested(true); // Ever setting a pass condition implies it has been tested
}