• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/libubox/tests/cram/test_avl.t

  1 check that avl is producing expected results:
  2 
  3   $ [ -n "$TEST_BIN_DIR" ] && export PATH="$TEST_BIN_DIR:$PATH"
  4   $ valgrind --quiet --leak-check=full test-avl
  5   test_basics: insert: 0=zero 0=one 0=two 0=three 0=four 0=five 0=six 0=seven 0=eight 0=nine 0=ten 0=eleven 0=twelve 
  6   test_basics: insert duplicate: -1=zero -1=one -1=two -1=three -1=four -1=five -1=six -1=seven -1=eight -1=nine -1=ten -1=eleven -1=twelve 
  7   test_basics: first=eight last=zero
  8   test_basics: for each element: eight eleven five four nine one seven six ten three twelve two zero 
  9   test_basics: delete 'one' element
 10   test_basics: for each element reverse: zero two twelve three ten six seven nine four five eleven eight 
 11   test_basics: delete all elements
 12 
 13   $ test-avl-san
 14   test_basics: insert: 0=zero 0=one 0=two 0=three 0=four 0=five 0=six 0=seven 0=eight 0=nine 0=ten 0=eleven 0=twelve 
 15   test_basics: insert duplicate: -1=zero -1=one -1=two -1=three -1=four -1=five -1=six -1=seven -1=eight -1=nine -1=ten -1=eleven -1=twelve 
 16   test_basics: first=eight last=zero
 17   test_basics: for each element: eight eleven five four nine one seven six ten three twelve two zero 
 18   test_basics: delete 'one' element
 19   test_basics: for each element reverse: zero two twelve three ten six seven nine four five eleven eight 
 20   test_basics: delete all elements

This page was automatically generated by LXR 0.3.1.  •  OpenWrt