Sha256: 71fc841a76a2efa6c7d537b3609228f368a53b27309532fec00aad3d085bed33
Contents?: true
Size: 1.08 KB
Versions: 203
Compression:
Stored size: 1.08 KB
Contents
extern crate bob; #[test] fn test_statement() { assert_eq!("Whatever.", bob::reply("Tom-ay-to, tom-aaaah-to.")); } #[test] #[ignore] fn test_shouting() { assert_eq!("Whoa, chill out!", bob::reply("WATCH OUT!")); } #[test] #[ignore] fn test_exclaiming() { assert_eq!("Whatever.", bob::reply("Let's go make out behind the gym!")); } #[test] #[ignore] fn test_asking() { assert_eq!("Sure.", bob::reply("Does this cryogenic chamber make me look fat?")); } #[test] #[ignore] fn test_shout_numbers() { assert_eq!("Whoa, chill out!", bob::reply("1, 2, 3 GO!")); } #[test] #[ignore] fn test_shout_weird_characters() { assert_eq!("Whoa, chill out!", bob::reply("ZOMG THE %^*@#$(*^ ZOMBIES ARE COMING!!11!!1!")); } #[test] #[ignore] fn test_shout_without_punctuation() { assert_eq!("Whoa, chill out!", bob::reply("I HATE YOU")); } #[test] #[ignore] fn test_non_question_with_question_mark() { assert_eq!("Whatever.", bob::reply("Ending with ? means a question.")); } #[test] #[ignore] fn test_silent_treatment() { assert_eq!("Fine. Be that way!", bob::reply("")); }
Version data entries
203 entries across 203 versions & 1 rubygems