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:
|