Sha256: a54f81e46f96dacfa2ed3884a5b056b0e44b0c829722b611ad433f14c2f4636d

Contents?: true

Size: 877 Bytes

Versions: 199

Compression:

Stored size: 877 Bytes

Contents

import tables
import unittest
import raindrops

test "convert 1":
  check convert(1) == "1"

test "convert 3":
  check convert(3) == "Pling"

test "convert 5":
  check convert(5) == "Plang"

test "convert 7":
  check convert(7) == "Plong"

test "convert 6":
  check convert(6) == "Pling"

test "convert 9":
  check convert(9) == "Pling"

test "convert 10":
  check convert(10) == "Plang"

test "convert 14":
  check convert(14) == "Plong"

test "convert 15":
  check convert(15) == "PlingPlang"

test "convert 21":
  check convert(21) == "PlingPlong"

test "convert 25":
  check convert(25) == "Plang"

test "convert 35":
  check convert(35) == "PlangPlong"

test "convert 49":
  check convert(49) == "Plong"

test "convert 52":
  check convert(52) == "52"

test "convert 105":
  check convert(105) == "PlingPlangPlong"

test "convert 12121":
  check convert(12121) == "12121"

Version data entries

199 entries across 199 versions & 1 rubygems

Version Path
trackler-2.2.1.131 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.130 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.129 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.128 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.127 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.126 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.125 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.124 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.123 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.122 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.121 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.120 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.119 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.118 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.117 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.116 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.115 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.114 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.113 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.111 tracks/nim/exercises/raindrops/raindrops_test.nim