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.110 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.109 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.108 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.107 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.106 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.105 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.104 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.103 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.102 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.101 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.100 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.99 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.98 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.97 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.96 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.95 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.94 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.93 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.92 tracks/nim/exercises/raindrops/raindrops_test.nim
trackler-2.2.1.91 tracks/nim/exercises/raindrops/raindrops_test.nim