Sha256: c1d8434de7eb394cb968d23e7a36d7f1a024264b992772422b5f297ccb364ec0
Contents?: true
Size: 991 Bytes
Versions: 216
Compression:
Stored size: 991 Bytes
Contents
#lang racket/base (require "acronym.rkt") (module+ test (require rackunit rackunit/text-ui) (define suite (test-suite "acronym tests" (test-equal? "basic" (acronym "Portable Network Graphics") "PNG") (test-equal? "lowercase words" (acronym "Ruby on Rails") "ROR") (test-equal? "camelcase" (acronym "HyperText Markup Language") "HTML") (test-equal? "punctuation" (acronym "First In, First Out") "FIFO") (test-equal? "all caps words" (acronym "PHP: Hypertext Preprocessor") "PHP") (test-equal? "non-acronym all caps word" (acronym "GNU Image Manipulation Program") "GIMP") (test-equal? "hyphenated" (acronym "Complementary metal-oxide semiconductor") "CMOS"))) (run-tests suite))
Version data entries
216 entries across 216 versions & 1 rubygems