Skip to content

Commit

Permalink
refs #6447 Existing test fixed and enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Sep 20, 2013
1 parent 3f28a3b commit 7fe03bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions Code/Mantid/Framework/MDEvents/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ set ( TEST_FILES
MDBinTest.h
MDBoxBaseTest.h
MDBoxIteratorTest.h
MDBoxFlatTreeTest.h
MDBoxTest.h
MDBoxSaveableTest.h
MDDimensionStatsTest.h
Expand Down
6 changes: 4 additions & 2 deletions Code/Mantid/Framework/MDEvents/test/MDBoxFlatTreeTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ class MDEventFlatTreeTest :public CxxTest::TestSuite

void testInit()
{
MDBoxFlatTree BoxTree("aFile");
MDBoxFlatTree BoxTree;

TS_ASSERT_EQUALS(0,BoxTree.getNBoxes());

TS_ASSERT_THROWS_NOTHING((BoxTree.initFlatStructure<MDLeanEvent<3>, 3>(spEw3,"aFile")));
TS_ASSERT_THROWS_NOTHING((BoxTree.initFlatStructure(spEw3,"aFile")));

TSM_ASSERT_EQUALS("Workspace creatrion helper should generate ws split into 1001 boxes",1001,BoxTree.getNBoxes());


TS_ASSERT_THROWS_NOTHING(BoxTree.setBoxesFilePositions()
}

MDEventFlatTreeTest()
Expand Down

0 comments on commit 7fe03bc

Please sign in to comment.