Sha256: ffe90f8be5a1c5f2d33a503ecd114622c2220bfc7de2b792625da8641bd67d99
Contents?: true
Size: 418 Bytes
Versions: 65
Compression:
Stored size: 418 Bytes
Contents
extern crate collatz_conjecture; use collatz_conjecture::*; #[test] fn test_1() { assert_eq!(Ok(0), collatz(1)); } #[test] #[ignore] fn test_16() { assert_eq!(Ok(4), collatz(16)); } #[test] #[ignore] fn test_12() { assert_eq!(Ok(9), collatz(12)); } #[test] #[ignore] fn test_1000000() { assert_eq!(Ok(152), collatz(1000000)); } #[test] #[ignore] fn test_0() { assert!(collatz(0).is_err()); }
Version data entries
65 entries across 65 versions & 1 rubygems