diff python/tests/utils.txt @ 42:1a2ac2d4f53a

added loading of the rest of the data for objects
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 01 Jul 2010 10:44:32 -0400
parents 48e56179c39e
children 74b1fc68d4df
line wrap: on
line diff
--- a/python/tests/utils.txt	Fri May 28 20:25:45 2010 -0400
+++ b/python/tests/utils.txt	Thu Jul 01 10:44:32 2010 -0400
@@ -26,3 +26,16 @@
 'test-adfasdf.asdfa'
 >>> removeExtension('test-adfasdf')
 'test-adfasdf'
+
+>>> values = line2Ints('1 2 3 5 6')
+>>> values[0]
+1
+>>> values[-1]
+6
+>>> values = line2Floats('1.3 2.45 7.158e+01 5 6')
+>>> values[0]
+1.3
+>>> values[2] #doctest: +ELLIPSIS
+71.5...
+>>> values[-1]
+6.0