radix tree test suite: Add tests for ida_simple_get() and ida_simple_remove()
authorRehas Sachdeva <[email protected]>
Mon, 20 Feb 2017 11:40:00 +0000 (06:40 -0500)
committerMatthew Wilcox <[email protected]>
Tue, 7 Mar 2017 18:18:19 +0000 (13:18 -0500)
commit166bb1f532fd9fe1b81c6b411ad5d5c9dd21a685
tree88c78261a7976af4533989e52ae104f206fa63b5
parent2eacc79c27eb683c4a3ded80c2629387ee0d4e04
radix tree test suite: Add tests for ida_simple_get() and ida_simple_remove()

Assert that ida_simple_get() allocates an id in the passed range or returns
error on failure, and ida_simple_remove() releases an allocated id.

Signed-off-by: Rehas Sachdeva <[email protected]>
Signed-off-by: Matthew Wilcox <[email protected]>
tools/testing/radix-tree/idr-test.c