From Dev.to
Golden-File Tests for a Score Calculator: Check Every Row Against the Published Table
If you build a calculator that turns a raw result into points, the scoring table is the product. A bug in the arithmetic is easy to spot. A single wrong row in a 100-line table is not, and users will...
