From f4011eb489d97bbf3170c81a985a09568bfc0dd7 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 13 Aug 2024 02:46:56 -0400 Subject: Remove test --- test/metamethods.tm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test/metamethods.tm') diff --git a/test/metamethods.tm b/test/metamethods.tm index d20670b2..0b4bf87c 100644 --- a/test/metamethods.tm +++ b/test/metamethods.tm @@ -44,9 +44,6 @@ struct Vec2(x,y:Int): func modulo1(v:Vec2, modulus:Int; inline)->Vec2: return Vec2(v.x mod1 modulus, v.y mod1 modulus) - func power(v:Vec2, exponent:Num; inline)->Vec2: - return Vec2(Int(v.x ^ exponent), Int(v.y ^ exponent)) - func main(): >> x := Vec2(10, 20) >> y := Vec2(100, 200) @@ -90,6 +87,4 @@ func main(): = Vec2(x=1, y=2) >> x mod1 3 = Vec2(x=1, y=2) - >> x^2.0 - = Vec2(x=1, y=4) -- cgit v1.2.3