测试
This commit is contained in:
parent
a8525b639b
commit
785a6236fa
@ -9,6 +9,13 @@
|
||||
#include "stack_expand.h"
|
||||
|
||||
int main(int argc, char **argv){
|
||||
|
||||
Stack *t_stack = initStack();
|
||||
for(int i = 0; i < 10; i++){
|
||||
pushStack(t_stack, snodeWithInt(i));
|
||||
}
|
||||
for(int i = 0; i < 10; i++){
|
||||
printf("%d",getValueByIntForSNode(popStack(t_stack)));
|
||||
}
|
||||
releaseStack(t_stack);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user