Sha256: b735fb17a4a58fa52b8a02698526e1b05dee94199249f76f50538df7303daabf

Contents?: true

Size: 1.08 KB

Versions: 223

Compression:

Stored size: 1.08 KB

Contents

module Test.Main where

import Prelude
import Test.Unit (suite, test)
import Test.Unit.Main (runTest)
import Test.Unit.Assert as Assert
import Raindrops (raindrops)


main = runTest do
  suite "Raindrops.raindrops" do
    test "1" do
      Assert.equal "1" $ raindrops 1
    test "3" do
      Assert.equal "Pling" $ raindrops 3
    test "5" do
      Assert.equal "Plang" $ raindrops 5
    test "7" do
      Assert.equal "Plong" $ raindrops 7
    test "6" do
      Assert.equal "Pling" $ raindrops 6
    test "9" do
      Assert.equal "Pling" $ raindrops 9
    test "10" do
      Assert.equal "Plang" $ raindrops 10
    test "14" do
      Assert.equal "Plong" $ raindrops 14
    test "15" do
      Assert.equal "PlingPlang" $ raindrops 15
    test "21" do
      Assert.equal "PlingPlong" $ raindrops 21
    test "25" do
      Assert.equal "Plang" $ raindrops 25
    test "35" do
      Assert.equal "PlangPlong" $ raindrops 35
    test "49" do
      Assert.equal "Plong" $ raindrops 49
    test "52" do
      Assert.equal "52" $ raindrops 52
    test "105" do
      Assert.equal "PlingPlangPlong" $ raindrops 105

Version data entries

223 entries across 223 versions & 1 rubygems

Version Path
trackler-2.2.1.37 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.36 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.35 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.34 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.33 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.32 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.31 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.30 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.29 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.28 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.27 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.26 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.25 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.24 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.23 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.22 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.21 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.20 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.19 tracks/purescript/exercises/raindrops/test/Main.purs
trackler-2.2.1.18 tracks/purescript/exercises/raindrops/test/Main.purs