From: Jeff H. <je...@ac...> - 2008-05-26 17:17:41
|
KATO Kanryu wrote: > You know that Tcl interpreter doesn't ensure that dict key ordering. > > That is not matter for almost cases. > > But when we write test cases, > how to compare between program result and booked value? dicts are order-preserving, but that doesn't help you here. I would look at the 8.5 dict.test for how it does it, using a [getOrder] proc that ensures a known order. Jeff |