rusty_marvin/api/tests/card_test.rs

7 lines
147 B
Rust

use poker_api::card::Card;
#[test]
fn test_card_integration() {
let card = Card::from_string("As");
assert_eq!(card.to_string(), "As");
}