Replace stack_merge_new function with two simpler functions
- merge(version1, version2) - split(version)
This commit is contained in:
parent
e686478ad2
commit
6535704870
4 changed files with 42 additions and 42 deletions
|
|
@ -127,7 +127,7 @@ describe("Stack", [&]() {
|
|||
// ↑
|
||||
// └───2─── C*
|
||||
ts_stack_push(stack, 0, trees[0], false, stateA);
|
||||
ts_stack_pop_count(stack, 0, 0);
|
||||
ts_stack_split(stack, 0);
|
||||
ts_stack_push(stack, 0, trees[1], false, stateB);
|
||||
ts_stack_push(stack, 1, trees[2], false, stateC);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue