How to write parameterized tests in Elm

thanks for the solution.

Is there also a way to write it so that the expected could differ for different inputs?

test("sayHi", function(assert) {
  assert.equal(sayHi("Thomas"), "Hello Thomas!");
  assert.equal(sayHi("George"), "Hello George");
  assert.equal(sayHi(""), "Hello");
  ...
})