11 lines
209 B
Mojo
Generated
11 lines
209 B
Mojo
Generated
from std.testing import assert_equal
|
|
|
|
|
|
def total_distance(near: Int, far: Int) -> Int:
|
|
return near + far
|
|
|
|
|
|
def main() raises:
|
|
assert_equal(total_distance(100, 50), 200)
|
|
print("All checks passed!")
|