This commit is contained in:
lfirmin
2026-03-30 07:48:35 +02:00
parent 93f06c3b6d
commit 6090fe193d
3 changed files with 43 additions and 14 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
int main()
{
// TEST 1 - MutantStack
std::cout << "test 1" << std::endl << std::endl;
std::cout << "Test 1 :" << std::endl;
MutantStack<int> mstack;
mstack.push(5);
mstack.push(17);
@@ -25,7 +25,7 @@ int main()
}
std::stack<int> s(mstack);
std::cout << std::endl << "test 2" << std::endl << std::endl;
std::cout << std::endl << "Test 2 :" << std::endl;
// TEST 2 - std::list (même comportement attendu)
std::list<int> mlist;
mlist.push_back(5);