edit tests
This commit is contained in:
+2
-2
@@ -17,9 +17,9 @@ int main() {
|
||||
sortiment.addWare(new Ware("ware1", 5, 13.1, 13, 10));
|
||||
sortiment.addWare(new Ware("ware1", 5, 13.1, 13, 10));
|
||||
|
||||
sortiment.sort(2);
|
||||
sortiment.sort(4);
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
std::cout << sortiment.waren[i]->getGewicht() << std::endl;
|
||||
std::cout << *(sortiment.waren[i]) << std::endl;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user