()
| 899 | |
| 900 | #[test] |
| 901 | fn zip() { |
| 902 | assert!(NONE.zip(NONE).is_none().to_bool()); |
| 903 | assert!(NONE.zip(SOME).is_none().to_bool()); |
| 904 | assert!(SOME.zip(NONE).is_none().to_bool()); |
| 905 | assert_eq!(SOME.zip(OTHER).unwrap(), (SOME.unwrap(), OTHER.unwrap())); |
| 906 | } |
| 907 | |
| 908 | #[test] |
| 909 | fn zip_with() { |
nothing calls this directly
no outgoing calls
no test coverage detected