Initial setup of API test
This commit is contained in:
parent
4b516c699f
commit
52deab3a48
3 changed files with 200 additions and 0 deletions
7
api/tests/card_test.rs
Normal file
7
api/tests/card_test.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
use poker_api::card::Card;
|
||||
|
||||
#[test]
|
||||
fn test_card_integration() {
|
||||
let card = Card::from_string("As");
|
||||
assert_eq!(card.to_string(), "As");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue