1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-22 17:44:22 +00:00

Simplify import in schema::setbundle::card::tests

This commit is contained in:
Steffo 2022-08-05 18:18:47 +02:00
parent 261e00a7dc
commit 5fc299d8f9
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -2,10 +2,9 @@
use std::collections::HashMap;
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.
#[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
@ -162,13 +161,7 @@ impl Card {
#[cfg(test)]
mod tests {
use super::Card;
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;
use super::*;
#[test]
fn deserialize_card() {