What we check
- The formula. Resting energy, life-stage factors, due dates, unit conversions and cost sums are each tested at several inputs, including small and large pets.
- The limits. Inputs outside a sensible range are rejected instead of giving a misleading result.
- The pages. The build also checks titles, descriptions, schema, links, spelling and that every page you can reach is indexable only when it should be.
Example cases
A few of the cases that every build must pass. Expected values are in the units the calculator shows.
| Calculator | Function | Input | Expected | Tolerance |
|---|---|---|---|---|
| dog calorie calculator | rer | [1] | 70 | ±0.5 |
| dog calorie calculator | rer | [5] | 234.1 | ±0.5 |
| dog food calculator | dogMer | [10, "neuteredAdult"] | 629.8 | ±0.5 |
| dog food calculator | dogMer | [20, "neuteredAdult"] | 1059.2 | ±0.5 |
| cat food calculator | catMer | [4, "neuteredAdult"] | 237.6 | ±0.5 |
| cat food calculator | catMer | [5, "intactAdult"] | 327.7 | ±0.5 |
| dog pregnancy calculator | dogDueDate | ["2026-10-01", "mating"] | 2026-12-03 | ±0 |
| dog pregnancy calculator | dogDueDate | ["2026-10-01", "mating"] | 2026-11-28 | ±0 |
Cases per calculator
Limits of testing
A test shows that the arithmetic matches a published formula. It does not show that a formula suits your pet. Pets differ, and health, nutrition and breeding pages are reviewed by a licensed veterinarian. Use any result as a starting point and ask your vet.
Frequently asked questions
What does a failed test do?
The build stops. A formula that does not match its test case cannot be published until the formula or the case is checked against the source.
Are the expected answers taken from our own code?
No. Each expected value was calculated separately from the site's code, from the published formula, and the code must match it within the stated tolerance.
Does a passing test mean the advice is right for my pet?
No. A test shows the arithmetic matches the published formula. It does not diagnose or replace your veterinarian.
Can I use the test cases?
Yes. Download the CSV, check any calculator against it, and tell us if you find a difference.
Download and report a difference
Download all 224 cases as a CSV file. Found a result that differs? Tell us; corrections are logged on the changes page. See also our editorial policy and formulas and sources.