ReactOS 0.4.15-dev-7942-gd23573b
TimesTest Class Reference
Inheritance diagram for TimesTest:
Collaboration diagram for TimesTest:

Protected Member Functions

void times ()
 

Private Member Functions

 CPPUNIT_TEST_SUITE (TimesTest)
 
 CPPUNIT_TEST (times)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

Definition at line 14 of file times_test.cpp.

Member Function Documentation

◆ CPPUNIT_TEST()

TimesTest::CPPUNIT_TEST ( times  )
private

◆ CPPUNIT_TEST_SUITE()

TimesTest::CPPUNIT_TEST_SUITE ( TimesTest  )
private

◆ CPPUNIT_TEST_SUITE_END()

TimesTest::CPPUNIT_TEST_SUITE_END ( )
private

◆ times()

void TimesTest::times ( )
protected

Definition at line 29 of file times_test.cpp.

30{
31 int input [4] = { 1, 5, 7, 2 };
32 int total = accumulate(input, input + 4, 1, multiplies<int>());
34}
_STLP_BEGIN_NAMESPACE _STLP_INLINE_LOOP _Tp accumulate(_InputIterator __first, _InputIterator __last, _Tp _Init)
Definition: _numeric.h:42
#define CPPUNIT_ASSERT(X)
Definition: cppunit_mini.h:200
size_t total
GLenum GLenum GLenum input
Definition: glext.h:9031

The documentation for this class was generated from the following file: