#include <iostream>

int batch_count(int items, int capacity) {
    int batches{items / capacity + (items % capacity != 0 ? 1 : 0)};
    return batches;
}

int main() {
    const int actual{batch_count(14, 5)};
    const int expected{3};
    int checks{0};
    int failures{0};
    ++checks;
    if (actual != expected) {
        ++failures;
    }
    std::cout << "actual=" << actual << " expected=" << expected << '\n';
    std::cout << "checks=" << checks << " failures=" << failures << '\n';
    return failures == 0 ? 0 : 1;
}
