package foo

class Sum(x: Int, y: Int) {
    init {
        log("new Sum($x, $y)")
    }

    val value = x + y
}

fun box(): String {
    assertEquals(3, Sum(fizz(1), buzz(2)).value)
    assertEquals("fizz(1);buzz(2);new Sum(1, 2);", pullLog())

    return "OK"
}