diff --git a/Cargo.lock b/Cargo.lock index 2b5d57a..24671f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -312,7 +312,7 @@ dependencies = [ [[package]] name = "landlord" -version = "2024.9.0" +version = "2024.11.0" dependencies = [ "bincode", "chrono", diff --git a/data/all_cards.landlord b/data/all_cards.landlord index cdb51dc..63979b0 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 05a4b2a..430f2be 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "landlord" -version = "2024.9.0" +version = "2024.11.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 888130c..84f358f 100644 --- a/lib/src/card/card.rs +++ b/lib/src/card/card.rs @@ -1153,4 +1153,16 @@ mod tests { let card = card!("Valgavoth's Lair"); assert_eq!(card.is_land(), true); } + + #[test] + fn fdn_card_1() { + let card = card!("Sire of Seven Deaths"); + assert_eq!(card.is_land(), false); + } + + #[test] + fn fdn_card_2() { + let card = card!("Soulstone Sanctuary"); + assert_eq!(card.is_land(), true); + } }