Skip to content

Commit

Permalink
Remember property test. Refs #3219
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiSavici committed Apr 16, 2013
1 parent c4be6ab commit f860104
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Code/Mantid/Framework/Kernel/test/PropertyTest.h
Expand Up @@ -110,6 +110,17 @@ class PropertyTest : public CxxTest::TestSuite
TS_ASSERT_EQUALS(p2->units(), "furlongs/fortnight");
}

void testRemember()
{
Property * p3;
p3 = new PropertyHelper;
TS_ASSERT(p3->remember());
p3->setRemember(false);
TS_ASSERT(!p3->remember());
p3->setRemember(true);
TS_ASSERT(p3->remember());
}

private:
Property *p;

Expand Down

0 comments on commit f860104

Please sign in to comment.