You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit added tests for Tree behavior in concurrency scenarios:
Styles by 2 users (4 * 6 * 6 = 144 cases):
- Ranges(4)
- A = B
- A contains B
- A and B are intersecting
- not intersecting
- Operations for both A and B(6)
- `RemoveStyle({'bold'})`
- `Style({'bold': 'aa'})`
- `Style({'bold': 'bb'})`
- `RemoveStyle({'italic'})`
- `Style({'italic': 'aa'})`
- `Style({'italic': 'bb'})`
Edit and Style (6 * 5 * 2 = 60 cases):
- Ranges(6)
- A = B
- A contains B
- B contains A
- A and B are intersecting
- B is next to A
- A is next to B.
- Operations for A(5)
- Insert front of range
- Insert back of range
- Insert middle of range
- Delete
- Change
- Operations for B(2)
- `RemoveStyle({'bold'})`
- `Style({'bold': 'aa'})`
0 commit comments