mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Add support for The Darkin Saga set
This commit is contained in:
parent
5fa0e69bfb
commit
6af7304f9a
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,10 @@ pub enum CardSet {
|
||||||
#[serde(rename = "Set6")]
|
#[serde(rename = "Set6")]
|
||||||
Worldwalker,
|
Worldwalker,
|
||||||
|
|
||||||
|
/// The Darkin Saga / Awakening.
|
||||||
|
#[serde(rename = "Set6cde")]
|
||||||
|
TheDarkinSaga,
|
||||||
|
|
||||||
/// Events, cards released "outside" a set.
|
/// Events, cards released "outside" a set.
|
||||||
#[serde(rename = "SetEvent")]
|
#[serde(rename = "SetEvent")]
|
||||||
Events,
|
Events,
|
||||||
|
@ -144,6 +148,7 @@ mod tests {
|
||||||
test_deserialization!(deserialize_set4, r#""Set4""#, CardSet::EmpiresOfTheAscended);
|
test_deserialization!(deserialize_set4, r#""Set4""#, CardSet::EmpiresOfTheAscended);
|
||||||
test_deserialization!(deserialize_set5, r#""Set5""#, CardSet::BeyondTheBandlewood);
|
test_deserialization!(deserialize_set5, r#""Set5""#, CardSet::BeyondTheBandlewood);
|
||||||
test_deserialization!(deserialize_set6, r#""Set6""#, CardSet::Worldwalker);
|
test_deserialization!(deserialize_set6, r#""Set6""#, CardSet::Worldwalker);
|
||||||
|
test_deserialization!(deserialize_set6cde, r#""Set6cde""#, CardSet::TheDarkinSaga);
|
||||||
test_deserialization!(deserialize_setevent, r#""SetEvent""#, CardSet::Events);
|
test_deserialization!(deserialize_setevent, r#""SetEvent""#, CardSet::Events);
|
||||||
test_deserialization!(deserialize_fallback, r#""Xyzzy""#, CardSet::Unsupported);
|
test_deserialization!(deserialize_fallback, r#""Xyzzy""#, CardSet::Unsupported);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue