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

Version Path
trackler-2.0.6.10 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.6.9 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.6.8 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.6.7 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.6.6 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.6.5 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.6.4 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.6.3 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.6.2 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.6.1 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.6.0 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.5.18 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.5.17 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.5.16 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.5.15 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.5.14 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.5.13 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.5.12 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.5.11 tracks/pony/exercises/hello-world/test.pony
trackler-2.0.5.10 tracks/pony/exercises/hello-world/test.pony