| 237 | } |
| 238 | |
| 239 | bool runAlignmentTest() |
| 240 | { |
| 241 | std::cerr << "\nRunning alignment tests...\n"; |
| 242 | bool ok = true; |
| 243 | for (size_t type = 0; type < type_count; ++type) { |
| 244 | for (size_t encoding = 0; encoding < encoding_count; ++encoding) { |
| 245 | ok &= testType(encodings[encoding], types[type]); |
| 246 | } |
| 247 | } |
| 248 | return ok; |
| 249 | } |
| 250 | |
| 251 | bool runAlignmentResetTest() |
| 252 | { |