Sha256: fc156f6fba040850321dccca3f63609eb13c7668cef1b6c7384f6bb8b66ce4d8

Contents?: true

Size: 1.36 KB

Versions: 396

Compression:

Stored size: 1.36 KB

Contents

;; Load SRFI-64 lightweight testing specification
(use-modules (srfi srfi-64))

;; Suppress log file output. To write logs, comment out the following line:
(module-define! (resolve-module '(srfi srfi-64)) 'test-log-to-file #f)

(add-to-load-path (dirname (current-filename)))

(use-modules (raindrops))

(test-begin "raindrops")

(test-equal "test-1"
            "1"
            (convert 1))

(test-equal "test-3"
            "Pling"
            (convert 3))

(test-equal "test-5"
            "Plang"
            (convert 5))

(test-equal "test-7"
            "Plong"
            (convert 7))
(test-equal "test-6"
            "Pling"
            (convert 6))
(test-equal "test-9"
            "Pling"
            (convert 9))
(test-equal "test-10"
            "Plang"
            (convert 10))
(test-equal "test-15"
            "PlingPlang"
            (convert 15))
(test-equal "test-21"
            "PlingPlong"
            (convert 21))
(test-equal "test-25"
            "Plang"
            (convert 25))
(test-equal "test-35"
            "PlangPlong"
            (convert 35))
(test-equal "test-49"
            "Plong"
            (convert 49))
(test-equal "test-52"
            "52"
            (convert 52))
(test-equal "test-105"
            "PlingPlangPlong"
            (convert 105))
(test-equal "test-12121"
            "12121"
            (convert 12121))


(test-end "raindrops")

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.0.8.15 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.14 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.13 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.12 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.11 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.10 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.9 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.8 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.7 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.6 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.5 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.4 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.3 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.2 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.8.1 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.7.0 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.44 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.43 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.42 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.41 tracks/scheme/exercises/raindrops/raindrops-test.scm