Skip to content

Commit

Permalink
Fix a couple of warnings in UnitTest.h
Browse files Browse the repository at this point in the history
Refs #9252
  • Loading branch information
martyngigg committed Apr 10, 2014
1 parent 035797c commit 8c3e8cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Kernel/test/UnitTest.h
Expand Up @@ -244,7 +244,7 @@ class UnitTest : public CxxTest::TestSuite
void test_copy_constructor_on_concrete_type()
{
Units::TOF first;
first.initialize(1.0,1.0,1.0,1.0,1.0,1.0);
first.initialize(1.0,1.0,1.0,2,1.0,1.0);
Units::TOF second(first);
TS_ASSERT_EQUALS(first.isInitialized(), second.isInitialized());
TS_ASSERT_EQUALS(first.unitID(), second.unitID())
Expand All @@ -256,7 +256,7 @@ class UnitTest : public CxxTest::TestSuite
void test_copy_assignment_operator_on_concrete_type()
{
Units::TOF first;
first.initialize(1.0,1.0,1.0,1.0,1.0,1.0);
first.initialize(1.0,1.0,1.0,2,1.0,1.0);
Units::TOF second;
second = first;
TS_ASSERT_EQUALS(first.isInitialized(), second.isInitialized());
Expand Down

0 comments on commit 8c3e8cb

Please sign in to comment.