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.6.40 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.39 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.38 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.37 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.36 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.35 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.34 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.33 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.32 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.31 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.30 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.29 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.28 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.27 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.26 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.25 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.24 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.23 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.22 tracks/scheme/exercises/raindrops/raindrops-test.scm
trackler-2.0.6.21 tracks/scheme/exercises/raindrops/raindrops-test.scm