test: cover numeric method return division

This commit is contained in:
Hermes Agent
2026-09-12 10:11:10 +00:00
parent 1fc8e72c1d
commit 689d2b2bcc
5 changed files with 27 additions and 2 deletions
@@ -0,0 +1,11 @@
CLASS Player
HAS score NUMBER
TEACH total amount RETURNS NUMBER
CHECK TYPE amount IS NUMBER
RETURN amount / 2
END
END
NEW Player player
DO player.total 4