Sha256: 28b26e746bddb8bf36f11b4731a7ca49106beacd8d28893d029ac6295a9a28dc
Contents?: true
Size: 517 Bytes
Versions: 54
Compression:
Stored size: 517 Bytes
Contents
use "ponytest" actor Main is TestList new create(env: Env) => PonyTest(env, this) new make() => None fun tag tests(test: PonyTest) => test(_TestHelloWorld) class iso _TestHelloWorld is UnitTest """ Test HelloWorld package """ fun name(): String => "hello-world/HelloWorld" fun apply(h: TestHelper) => let hello: HelloWorld = HelloWorld.create() h.assert_eq[String]("Hello, World!", hello.say_hello()) h.assert_eq[String]("Hello, Exercism!", hello.say_hello("Exercism"))
Version data entries
54 entries across 54 versions & 1 rubygems