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.4.0 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.3.9 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.3.8 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.3.7 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.3.6 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.3.5 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.3.4 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.3.3 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.3.2 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.3.1 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.3.0 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.2.0 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.1.2 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.1.1 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.1.0 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.0.10 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.0.9 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.0.8 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.0.7 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.0.6 tracks/scheme/exercises/raindrops/raindrops-test.scm