mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-11-05 15:18:16 +08:00
fix : ouptut statement changes
This commit is contained in:
@@ -161,12 +161,11 @@ static void test() {
|
||||
L.insert(18);
|
||||
assert(L.top()==11);
|
||||
assert(L.last()==18);
|
||||
L.display(); // To print the array
|
||||
L.reverseList();
|
||||
//Reversal Testing
|
||||
assert(L.top()==18);
|
||||
assert(L.last()==11);
|
||||
std::cout << "passed" << std::endl;
|
||||
std::cout << "Passed" << std::endl;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user