Sha256: 747787780adb4da3b08a2f05972b8758941addd7f1390294aa9c551783b1ee98

Contents?: true

Size: 558 Bytes

Versions: 396

Compression:

Stored size: 558 Bytes

Contents

#lang racket/base

(require "grains.rkt")

(module+ test
  (require rackunit rackunit/text-ui)

  (define suite
    (test-suite
     "grains tests"

     (test-eqv? "square 1" (square 1) 1)
     (test-eqv? "square 2" (square 2) 2)
     (test-eqv? "square 3" (square 3) 4)
     (test-eqv? "square 4" (square 4) 8)
     (test-eqv? "square 16" (square 16) 32768)
     (test-eqv? "square 32" (square 32) 2147483648)
     (test-eqv? "square 64" (square 64) 9223372036854775808)
     (test-eqv? "total grains" (total) 18446744073709551615)))

  (run-tests suite))

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.179 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.178 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.177 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.176 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.175 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.174 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.173 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.172 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.171 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.170 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.169 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.167 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.166 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.165 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.164 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.163 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.162 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.161 tracks/racket/exercises/grains/grains-test.rkt
trackler-2.2.1.160 tracks/racket/exercises/grains/grains-test.rkt