Garden

test keyword

test defines a named test.

test arithmetic {
  assert((1 + 2) == 3)
}

To run all the tests in a file, run the garden interpreter with the test command.

$ garden test my_file.gdn