Sha256: d008053083a98d73f0a125896740e90c388618f6a2af014149656749276f7d58
Contents?: true
Size: 668 Bytes
Versions: 106
Compression:
Stored size: 668 Bytes
Contents
extern crate series; use series::*; #[test] fn test_with_zero_length() { let expected = vec!["".to_string(); 6]; assert_eq!(series("92017", 0), expected); } #[test] #[ignore] fn test_with_length_2() { let expected = vec![ "92".to_string(), "20".to_string(), "01".to_string(), "17".to_string(), ]; assert_eq!(series("92017", 2), expected); } #[test] #[ignore] fn test_with_numbers_length() { let expected = vec!["92017".to_string()]; assert_eq!(series("92017", 5), expected); } #[test] #[ignore] fn test_too_long() { let expected: Vec<String> = vec![]; assert_eq!(series("92017", 6), expected); }
Version data entries
106 entries across 106 versions & 1 rubygems