Prefix all getters with "get"
This commit is contained in:
@@ -37,7 +37,7 @@ TEST_CASE("Formula retains its source string", "[formula]")
|
||||
const std::string source = "10 + x / 5";
|
||||
const Formula f = Formula::compile(source);
|
||||
|
||||
REQUIRE(f.source() == source);
|
||||
REQUIRE(f.getSource() == source);
|
||||
}
|
||||
|
||||
TEST_CASE("Formula throws on malformed source", "[formula]")
|
||||
|
||||
Reference in New Issue
Block a user