Fixed test

This commit is contained in:
2026-06-05 12:56:14 +02:00
parent 595ddc789d
commit b311dbd16c
12 changed files with 72 additions and 77 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
struct Vector2 {
Int x,
Int y,
i32 x,
i32 y,
}
impl Vector2 {
pub Int magnitude(self*) -> Int {
pub i32 magnitude(self*) {
self.x * self.x + self.y * self.y
}
}