Sha256: d8362424d811e97b6a6141bbebbb33d2f8631ec598846163914c74223e390b24
Contents?: true
Size: 739 Bytes
Versions: 92
Compression:
Stored size: 739 Bytes
Contents
;;; acronym-test.el --- Tests for Acronym (exercism) ;;; Commentary: ;;; Code (load-file "acronym.el") (ert-deftest basic () (should (equal "PNG" (acronym "Portable Network Graphics")))) (ert-deftest lowercase-words () (should (equal "ROR" (acronym "Ruby on Rails")))) (ert-deftest punctuation () (should (equal "FIFO" (acronym "First In, First Out")))) (ert-deftest all-caps-words () (should (equal "PHP" (acronym "PHP: Hypertext Preprocessor")))) (ert-deftest non-acronym-all-caps-word () (should (equal "GIMP" (acronym "GNU Image Manipulation Program")))) (ert-deftest hyphenated () (should (equal "CMOS" (acronym "Complementary metal-oxide semiconductor")))) (provide 'acronym-test) ;;; acronym-test.el ends here
Version data entries
92 entries across 92 versions & 1 rubygems