From a75f0fb713418d4704d0ce9ea892ab939ce9f00f Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 31 May 2005 19:56:57 +0000 Subject: added formatting to _stp_map_print() and updated tests. --- runtime/tests/maps/ist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/tests/maps/ist.c') diff --git a/runtime/tests/maps/ist.c b/runtime/tests/maps/ist.c index 24eb6f42..be3ca87d 100644 --- a/runtime/tests/maps/ist.c +++ b/runtime/tests/maps/ist.c @@ -41,8 +41,8 @@ int main () for (j = 0; j < 1024 ; j++ ) _stp_map_add_int64_stat (map2, i); - _stp_map_print (map, "map"); - _stp_map_print (map2, "map2"); + _stp_map_print (map, "map[%1d] = count:%C sum:%S avg:%A min:%m max:%M\n%H"); + _stp_map_print (map2, "map2[%1d] = count:%C sum:%S avg:%A min:%m max:%M\n%H"); _stp_map_del (map); _stp_map_del (map2); -- cgit