summaryrefslogtreecommitdiff
path: root/t/helper/test-serve-v2.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2021-10-01 11:14:32 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-01 12:43:08 -0700
commit0cecb75531e1ab525f42943be71f4a213d023412 (patch)
tree239f5f0d2332581859a12beeda538df436067c46 /t/helper/test-serve-v2.c
parenttest-mergesort: add test subcommand (diff)
downloadtgif-0cecb75531e1ab525f42943be71f4a213d023412.tar.xz
test-mergesort: add generate subcommand
Add a subcommand for printing test data. It can be used to generate special test cases and feed them into the sort subcommand or sort(1) for performance measurements. It may also be useful to illustrate the effect of distributions, modes and their parameters. It generates n integers with the specified distribution and its distribution-specific parameter m. E.g. m is the maximum value for the plateau distribution and the length and height of individual teeth of the sawtooth distribution. The generated values are printed as zero-padded eight-digit hexadecimal numbers to make sure alphabetic and numeric order are the same. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-serve-v2.c')
0 files changed, 0 insertions, 0 deletions