Extends class TestRun with an additional logfile for
dump of large sets of floating-point numbers for a second-level
regression test.
Methods
|
|
__approxline
__init__
approx
floatdump
|
|
__approxline
|
__approxline (
self,
line,
realfilter,
)
Replace floating-point numbers in line by approximate
numbers(computed by realfilter)(called from approx).
|
|
__init__
|
__init__ (
self,
logfile,
removepath=' ',
)
|
|
approx
|
approx ( self, realfilter )
Run through logfile, find all real numbers and replace
them by approximate real numbers computed by realfilter.
|
|
floatdump
|
floatdump (
self,
program,
options='',
)
Run program and direct output to self.floatlogfile.
|
|