Commit 29fee7f
docs(ruby): explain the magic values in the testInterfaces assertions
Multiply implements IFriendly, IFriendlier and IRandomNumberGenerator at
once; each asserted value is a canary proving dispatch reached the right
interface's implementation. The 89 is Multiply's hardcoded fake
next() — not arithmetic on the operands.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f1ffc9f commit 29fee7f
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| |||
0 commit comments