Sha256: 0b471019c2ffb92ceaa56c6df656d6b4e6150c45690fdd09b550b6c00a244fd8
Contents?: true
Size: 833 Bytes
Versions: 163
Compression:
Stored size: 833 Bytes
Contents
extern crate acronym; #[test] fn basic() { assert_eq!(acronym::abbreviate("Portable Network Graphics"), "PNG"); } #[test] #[ignore] fn lowercase_words() { assert_eq!(acronym::abbreviate("Ruby on Rails"), "ROR"); } #[test] #[ignore] fn camelcase() { assert_eq!(acronym::abbreviate("HyperText Markup Language"), "HTML"); } #[test] #[ignore] fn punctuation() { assert_eq!(acronym::abbreviate("First In, First Out"), "FIFO"); } #[test] #[ignore] fn all_caps_words() { assert_eq!(acronym::abbreviate("PHP: Hypertext Preprocessor"), "PHP"); } #[test] #[ignore] fn non_acronym_all_caps_word() { assert_eq!(acronym::abbreviate("GNU Image Manipulation Program"), "GIMP"); } #[test] #[ignore] fn hyphenated() { assert_eq!(acronym::abbreviate("Complementary metal-oxide semiconductor"), "CMOS"); }
Version data entries
163 entries across 163 versions & 1 rubygems