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

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

Definition at line 64 of file TestBestFile.h.

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

00065     {
00066         Util::PropertySet set;
00067         Util::IOBuffer buf("value=0.34 gamma=0.5 kernel=precomputed");
00068         Util::Read(&set, &buf);
00069         CPPUNIT_ASSERT_EQUAL(3, set.Size());
00070         CPPUNIT_ASSERT_EQUAL(0.34, set.GetDouble("value"));
00071         CPPUNIT_ASSERT_EQUAL(0.5, set.GetDouble("gamma"));
00072         CPPUNIT_ASSERT_EQUAL(String("precomputed"), set.GetString("kernel"));
00073     }

Here is the call graph for this function:


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