1 2 3 4 5 6 7 8 9 10 11 12 13
use tuples::*; #[test] fn test() { let a = (1, 2, 3, 4, 5); assert_eq!(a.arity(), 5); } #[test] fn test_2() { let a = (); assert_eq!(a.arity(), 0); }