nalply / rbts

Typescript red-black tree
ISC License
12 stars 3 forks source link

Minor refinement in test.ts: use ok() and nil() #6

Closed nalply closed 5 years ago

nalply commented 5 years ago

https://github.com/nalply/rbts/blob/25e5a34e911b0dd5bea5adf81f19ba19cb6b1348/test.ts#L12-L16

use ok() and nil() with isTrue() instead