test: cover compatibility method subtraction returns

This commit is contained in:
Hermes Agent
2026-09-12 16:21:24 +00:00
parent 7cdc2e72b1
commit 55e783e2c3
6 changed files with 31 additions and 3 deletions
@@ -0,0 +1,9 @@
CLASS Player
TEACH score TAKES amount RETURNS NUMBER
CHECK TYPE amount IS NUMBER
RETURN amount - 2
LEARNED
ENDCLASS
NEW Player player
CALL player.score WITH 4