From 2fa3882dd54dee5065d4f83baa2cd0b31ec460de Mon Sep 17 00:00:00 2001 From: Joe Eli McIlvain Date: Sat, 27 Jul 2019 19:33:16 -0700 Subject: [PATCH] Update random name expectations in NameGenerator tests. --- jylis/test/test_name_generator.pony | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/jylis/test/test_name_generator.pony b/jylis/test/test_name_generator.pony index 54e4c9e..8cf3df8 100644 --- a/jylis/test/test_name_generator.pony +++ b/jylis/test/test_name_generator.pony @@ -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")