logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tcutest - test cases of the utility API

Description

       The  command  `tcutest' is a utility for facility test and performance test.  This command is used in the
       following format.  `rnum' specifies the number of iterations.  `anum' specifies  the  initial  number  of
       elements of array.  `bnum' specifies the number of buckets.

              tcutestxstrrnum
                     Perform test of extensible string.
              tcutestlist [-rd] rnum [anum]
                     Perform test of array list.
              tcutestmap [-rd] [-tr] [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum [bnum]
                     Perform test of hash map.
              tcutesttree [-rd] [-tr] [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum
                     Perform test of ordered tree.
              tcutestmdb [-rd] [-tr] [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum [bnum]
                     Perform test of on-memory hash database.
              tcutestndb [-rd] [-tr] [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum
                     Perform test of on-memory tree database.
              tcutestmiscrnum
                     Perform test of miscellaneous routines.
              tcutestwickedrnum
                     Perform updating operations of list and map selected at random.

       Options feature the following.

              -rd : perform the reading test also.
              -tr : perform the iterator test also.
              -rnd : select keys at random.
              -dk : use the function `tcxxxputkeep' instead of `tcxxxput'.
              -dc : use the function `tcxxxputcat' instead of `tcxxxput'.
              -dai : use the function `tcxxxaddint' instead of `tcxxxput'.
              -dad : use the function `tcxxxadddouble' instead of `tcxxxput'.
              -dpr : use the function `tcxxxputproc' instead of `tcxxxput'.

       This command returns 0 on success, another on failure.

Name

       tcutest - test cases of the utility API

See Also

tcumttest(1), tcucodec(1), tcutil(3), tokyocabinet(3)

Man Page                                           2012-08-18                                         TCUTEST(1)

See Also