| 605 | int whatever; |
| 606 | }; |
| 607 | void another_array_test() |
| 608 | { |
| 609 | array<stuff> a; |
| 610 | a.resize(5); |
| 611 | a[0].whatever = 0; |
| 612 | stuff temp; |
| 613 | temp.whatever = 99; |
| 614 | a.push_back(temp); |
| 615 | DLIB_TEST(a.size() == 6); |
| 616 | DLIB_TEST(a[5].whatever == 99); |
| 617 | |
| 618 | DLIB_TEST(dlib::is_array<array<stuff> >::value == true); |
| 619 | } |
| 620 | |
| 621 | void test_array_split() |
| 622 | { |
no test coverage detected