Sha256: 29e864593df31000d9f918c80ea8e28be09686aa47c3a829383ad67e4262e784
Contents?: true
Size: 701 Bytes
Versions: 13
Compression:
Stored size: 701 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 hyphenated() { assert_eq!(acronym::abbreviate("Complementary metal-oxide semiconductor"), "CMOS"); }
Version data entries
13 entries across 13 versions & 1 rubygems