mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Simplify import in schema::setbundle::card::tests
This commit is contained in:
parent
261e00a7dc
commit
5fc299d8f9
1 changed files with 2 additions and 9 deletions
|
@ -2,10 +2,9 @@
|
||||||
|
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
/// A single Legends of Runeterra card.
|
/// A single Legends of Runeterra card as represented in a `set.json` file.
|
||||||
///
|
///
|
||||||
/// The information is represented in a developer-friendly manner, but it can be serialized and deserialized via [serde] in the exact same format used in Data Dragon.
|
/// The information is represented in a developer-friendly manner, but it can be serialized and deserialized via [serde] in the exact same format used in Data Dragon.
|
||||||
#[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
|
#[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
|
||||||
|
@ -162,13 +161,7 @@ impl Card {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::Card;
|
use super::*;
|
||||||
use super::super::art::CardArt;
|
|
||||||
use super::super::r#type::CardType;
|
|
||||||
use super::super::rarity::CardRarity;
|
|
||||||
use super::super::region::CardRegion;
|
|
||||||
use super::super::set::CardSet;
|
|
||||||
use super::super::speed::SpellSpeed;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn deserialize_card() {
|
fn deserialize_card() {
|
||||||
|
|
Loading…
Reference in a new issue