示例#1
0
void test_const_rand_acc_iter_const() {
	dynArray<int> const test { 1, 2, 3, 4, 5, 6, 7, 8, 6 };

	int erg { std::accumulate(test.cbegin(), test.cend(), 0) };

	ASSERT_EQUAL(42, erg);
}