class Test def main is shared assert Test().sum(1, 2, 3)==6 def sum(numbers as vari int) as int sum = 0 for n in numbers sum += n return sum