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.151 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.150 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.149 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.148 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.147 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.146 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.145 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.144 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.143 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.142 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.141 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.140 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.139 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.138 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.137 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.136 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.135 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.134 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.133 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.132 tracks/nim/exercises/raindrops/raindrops_test.nim