| 122 | } |
| 123 | |
| 124 | void TestToYearMonthDay(int batch_size) { |
| 125 | DCHECK(date_.size() == to_ymd_result_.size()); |
| 126 | for (int i = 0; i < batch_size; ++i) { |
| 127 | int n = date_.size(); |
| 128 | for (int j = 0; j < n; ++j) { |
| 129 | ignore_result(date_[j].ToYearMonthDay( |
| 130 | &to_ymd_result_[j].year_, |
| 131 | &to_ymd_result_[j].month_, |
| 132 | &to_ymd_result_[j].day_)); |
| 133 | } |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | void TestToYear(int batch_size) { |
| 138 | DCHECK(date_.size() == to_year_result_.size()); |
no test coverage detected