From 25cf6a53b753fccc1c574e04eabae5e9aaeb885d Mon Sep 17 00:00:00 2001 From: Russell Taylor Date: Mon, 6 Jan 2014 11:22:48 -0500 Subject: [PATCH] Re #8669. Fix tests by ensuring log is created as a double. --- .../MantidQt/CustomInterfaces/test/EventNexusFileMementoTest.h | 2 +- Code/Mantid/MantidQt/CustomInterfaces/test/RawFileMementoTest.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Mantid/MantidQt/CustomInterfaces/test/EventNexusFileMementoTest.h b/Code/Mantid/MantidQt/CustomInterfaces/test/EventNexusFileMementoTest.h index f30a5d07af6a..ddb6991962d8 100644 --- a/Code/Mantid/MantidQt/CustomInterfaces/test/EventNexusFileMementoTest.h +++ b/Code/Mantid/MantidQt/CustomInterfaces/test/EventNexusFileMementoTest.h @@ -86,7 +86,7 @@ class EventNexusFileMementoTest : public CxxTest::TestSuite memento.setUB(0,0,2,0,4,0,-8,0,0); memento.setLogValue("A", "12", "Number"); memento.setLogValue("angle1", "1.234", "Number Series"); - memento.setLogValue("angle2", "2", "Number Series"); + memento.setLogValue("angle2", "2.0", "Number Series"); memento.setGoniometer("angle1, 1.0,2.0,3.0,1","angle2, 1.1,2.1,3.1,-1","","","",""); IEventWorkspace_sptr ws = boost::dynamic_pointer_cast(memento.applyActions()); diff --git a/Code/Mantid/MantidQt/CustomInterfaces/test/RawFileMementoTest.h b/Code/Mantid/MantidQt/CustomInterfaces/test/RawFileMementoTest.h index d2bb15281074..e3e6585aa9c7 100644 --- a/Code/Mantid/MantidQt/CustomInterfaces/test/RawFileMementoTest.h +++ b/Code/Mantid/MantidQt/CustomInterfaces/test/RawFileMementoTest.h @@ -77,7 +77,7 @@ class RawFileMementoTest : public CxxTest::TestSuite memento.setUB(0,0,2,0,4,0,-8,0,0); memento.setLogValue("A", "12", "Number"); memento.setLogValue("angle1", "1.234", "Number Series"); - memento.setLogValue("angle2", "2", "Number Series"); + memento.setLogValue("angle2", "2.0", "Number Series"); memento.setGoniometer("angle1, 1.0,2.0,3.0,1","angle2, 1.1,2.1,3.1,-1","","","",""); MatrixWorkspace_sptr ws = boost::dynamic_pointer_cast(memento.applyActions());