Sha256: be91f5d817d2403a36036a10e8ed1d93f9bd655abcc4471db6e92d0d96ce171b
Contents?: true
Size: 569 Bytes
Versions: 135
Compression:
Stored size: 569 Bytes
Contents
#include <utility> #include <vector> #include <algorithm> #include "cppunit/cppunit_proxy.h" #if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES) using namespace std; #endif // // TestCase class // class PairTest : public CPPUNIT_NS::TestCase { CPPUNIT_TEST_SUITE(PairTest); CPPUNIT_TEST(pair0); CPPUNIT_TEST_SUITE_END(); protected: void pair0(); }; CPPUNIT_TEST_SUITE_REGISTRATION(PairTest); // // tests implementation // void PairTest::pair0() { pair<int, int> p = make_pair(1, 10); CPPUNIT_ASSERT(p.first==1); CPPUNIT_ASSERT(p.second==10); }
Version data entries
135 entries across 135 versions & 2 rubygems