Beispiel #1
0
void test_func_front_const() {
	dynArray<double> const test { 42.0, 2.0, 3.0, 4.0 };

	ASSERT_EQUAL(42.0, test.front());
}
Beispiel #2
0
void testFrontConst() {
	std::vector<int> const iu { 1, 2, 5 };
	dynArray<int> const dyniu { 1, 2, 5 };
	ASSERT_EQUAL(iu.front(), dyniu.front());
}