diff --git a/klondike/src/lib.rs b/klondike/src/lib.rs index e3f177f..5d28854 100644 --- a/klondike/src/lib.rs +++ b/klondike/src/lib.rs @@ -533,6 +533,10 @@ impl Iterator for KlondikeIter { instruction } } +#[test] +fn test_klondike_iter() { + assert_eq!(KlondikeIter::new().count(), 721); +} #[derive(Clone, Debug, Eq, Hash, PartialEq)] pub struct Klondike {