Commit 05445b5c authored by Roger Kaeppeli's avatar Roger Kaeppeli

Remove unnecessary parts

parent 51de6fe4
......@@ -44,10 +44,5 @@ int main() {
poly->set_values(4., 5.);
std::cout << "Triangle area: " << poly->area() << '\n';
set_values(rec, 4., 5.);
std::cout << "Rectangle area: " << poly->area() << '\n';
set_values(tri, 4., 5.);
std::cout << "Triangle area: " << poly->area() << '\n';
}
......@@ -42,10 +42,5 @@ int main() {
poly->set_values(4., 5.);
std::cout << "Triangle area: " << poly->area() << '\n';
set_values(rec, 4., 5.);
std::cout << "Rectangle area: " << poly->area() << '\n';
set_values(tri, 4., 5.);
std::cout << "Triangle area: " << poly->area() << '\n';
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment