Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Core::Training::TestBestFile::testReadOld (  )  [inline]

Definition at line 52 of file TestBestFile.h.

References Impala::Util::PropertySet::GetDouble(), Impala::Util::PropertySet::GetInt(), Impala::Util::Read(), and Impala::Util::PropertySet::Size().

00053     {
00054         Util::PropertySet set;
00055         Util::IOBuffer buf("value:0.76\nw1=2 w2=0.125");
00056         Util::Read(&set, &buf);
00057         CPPUNIT_ASSERT_EQUAL(3, set.Size());
00058         CPPUNIT_ASSERT_EQUAL(0.76, set.GetDouble("value"));
00059         CPPUNIT_ASSERT_EQUAL(2, set.GetInt("w1"));
00060         CPPUNIT_ASSERT_EQUAL(0.125, set.GetDouble("w2"));
00061     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:21 2011 for ImpalaSrc by  doxygen 1.5.1