ReactOS 0.4.17-dev-1196-gb6224c3
ptr2_test.cpp File Reference
#include <vector>
#include <algorithm>
#include <functional>
#include "cppunit/cppunit_proxy.h"
Include dependency graph for ptr2_test.cpp:

Go to the source code of this file.

Classes

class  Ptr2Test
 

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (Ptr2Test)
 
static int sum (int x_, int y_)
 
bool even (int n_)
 

Function Documentation

◆ CPPUNIT_TEST_SUITE_REGISTRATION()

CPPUNIT_TEST_SUITE_REGISTRATION ( Ptr2Test  )

◆ even()

bool even ( int  n_)

Definition at line 39 of file ptr2_test.cpp.

40{
41 return(n_ % 2) == 0;
42}

◆ sum()

static int sum ( int  x_,
int  y_ 
)
static

Definition at line 35 of file ptr2_test.cpp.

36{
37 return x_ + y_;
38}

Referenced by AccumTest::accum1(), add_file_hash(), add_uint32_carry(), af_sort_and_quantize_widths(), basic_tests(), bezierPatchMeshListNumTriangles(), bezierPatchMeshListTotalStrips(), bezierPatchMeshListTotalVert(), bezierPatchMeshNumTriangles(), box_score(), cf2_doBlend(), cff_blend_doBlend(), compute_checksum(), CreateDitherBrush(), CryptCATOpen(), d2d_fp_fast_expansion_sum_zeroelim(), d2d_fp_scale_expansion_zeroelim(), d2d_fp_two_two_diff(), d2d_fp_two_two_sum(), D3DXSHRotateZ(), dir_find(), dir_read(), dir_register(), __crt_strtox::divide(), find_file_hash(), fit_lfn(), ft_smooth_overlap_spans(), gdip_format_string(), lfn_fix_checksum(), lfn_get(), LmsOtsCalculateChecksum(), lower_ceil(), lower_floor(), lower_round(), lwip_standard_chksum(), M16(), M24(), M8(), merge_isofs(), multiply_ld12(), pphash(), pres_dot(), Ptr2Test::ptrbin1(), Ptr2Test::ptrbin2(), rdssl_hmac_md5(), read_color_pixels(), rpn_sum(), rpn_sum2(), s_sum_conf_array(), s_sum_conf_ptr_by_conf_ptr(), s_sum_cps(), s_sum_cpsc(), s_sum_cpuints(), s_sum_doub_carr(), s_sum_fixed_int_3d(), s_sum_L1_norms(), s_sum_padded_conf(), s_sum_puints(), s_sum_toplev_conf_2n(), s_sum_toplev_conf_cond(), stat_sum(), stat_sum2(), sum_sfn(), SYNTH_NAME(), test_capture(), test_clock(), test_timer(), test_worst_case(), VARIANT_int_add(), vkd3d_bound_range(), wined3d_bound_range(), WritePrivateProfileStructW(), ZSTD_downscaleStat(), and ZSTD_upscaleStat().