edit tests
This commit is contained in:
parent
93b6d4c657
commit
f4a7e9913a
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue