From f8902c8f687e1f2ce31db180e921f645195b0123 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 4 Jun 2010 04:50:36 -0400 Subject: [PATCH] Extend test.mfp3d_driver to test both MFP3D file versions we have available. --- test/mfp3d_driver.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/test/mfp3d_driver.py b/test/mfp3d_driver.py index 12f9352..984007c 100644 --- a/test/mfp3d_driver.py +++ b/test/mfp3d_driver.py @@ -20,7 +20,7 @@ >>> from hooke.hooke import Hooke, HookeRunner >>> h = Hooke() >>> r = HookeRunner() ->>> h = r.run_lines(h, ['load_playlist test/data/vclamp_mfp3d/playlist']) # doctest: +ELLIPSIS +>>> h = r.run_lines(h, ['load_playlist test/data/vclamp_mfp3d/playlist']) Success @@ -35,4 +35,21 @@ blocks: 2 block sizes: [(1091, 2), (0, 2)] Success + +Also checkout a newer Image* file + +>>> h = r.run_lines(h, ['previous_curve']) +Success + +>>> h = r.run_lines(h, ['curve_info']) # doctest: +ELLIPSIS, +REPORT_UDIFF +name: Image0396.ibw +path: test/data/vclamp_mfp3d/Image0396.ibw +experiment: +driver: +filetype: mfp3d +note: +blocks: 2 +block sizes: [(1006, 3), (0, 3)] +Success + """ -- 2.26.2