Skip to content

Commit

Permalink
Update random name expectations in NameGenerator tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jemc committed Jul 28, 2019
1 parent f2c4fdf commit 2fa3882
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions jylis/test/test_name_generator.pony
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ class TestNameGenerator is UnitTest
fun name(): String => "jylis.NameGenerator"

fun apply(h: TestHelper) =>
let n = NameGenerator(Rand(100))
h.assert_eq[String](n(), "manifold-fable-320332505658")
h.assert_eq[String](n(), "legendary-orbit-b3eefbc45bee")
h.assert_eq[String](n(), "whistling-energy-68572cf79300")
h.assert_eq[String](n(), "occluded-music-4ea96b7a99ab")
h.assert_eq[String](n(), "lucent-firmament-fe1f7b797319")
h.assert_eq[String](n(), "natal-certainty-027e6ae3785e")
h.assert_eq[String](n(), "blessed-request-c87663a105bd")
h.assert_eq[String](n(), "sentimental-order-a670630f07b7")
let n = NameGenerator(Rand(99))
h.assert_eq[String](n(), "trembling-flame-007863ec2d27")
h.assert_eq[String](n(), "immersive-figure-487b4dc757bf")
h.assert_eq[String](n(), "present-obelisk-9b01fa258e65")
h.assert_eq[String](n(), "astral-pylon-43d01fec472e")
h.assert_eq[String](n(), "nascent-banner-22f45352dfaf")
h.assert_eq[String](n(), "apocryphal-effigy-7e9bc8f616f8")
h.assert_eq[String](n(), "translucent-shape-2b6ba2e32ab6")
h.assert_eq[String](n(), "endless-reward-32a82ba66e33")

0 comments on commit 2fa3882

Please sign in to comment.