diff --git a/Cargo.lock b/Cargo.lock index fe38208..3afd688 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -312,7 +312,7 @@ dependencies = [ [[package]] name = "landlord" -version = "0.9.0" +version = "0.10.0" dependencies = [ "bincode", "chrono", diff --git a/data/all_cards.landlord b/data/all_cards.landlord index 83f3c98..bca2626 100644 Binary files a/data/all_cards.landlord and b/data/all_cards.landlord differ diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 2849c1e..e14ead0 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "landlord" -version = "0.9.0" +version = "0.10.0" authors = ["Justin Shrake "] description = "Magic: The Gathering card draw and mulligan simulator" repository = "https://github.com/mtgoncurve/landlord" diff --git a/lib/src/card/card.rs b/lib/src/card/card.rs index 51d8449..0b34adb 100644 --- a/lib/src/card/card.rs +++ b/lib/src/card/card.rs @@ -1008,4 +1008,17 @@ mod tests { assert_eq!(card.is_land(), false); assert_eq!(card.kind, CardKind::Unknown); } + + #[test] + fn one_card_0() { + let card = card!("Annex Sentry"); + assert_eq!(card.is_land(), false); + assert_eq!(card.kind, CardKind::Unknown); + } + #[test] + fn one_card_1() { + let card = card!("Bloated Contaminator"); + assert_eq!(card.is_land(), false); + assert_eq!(card.kind, CardKind::Unknown); + } }