mirror of https://github.com/MingweiSamuel/Riven
25 lines
568 B
Rust
25 lines
568 B
Rust
mod testutils;
|
|
use riven::consts::*;
|
|
use testutils::{riven_test, val_content_ranked, val_match_v1_get, val_match_v1_latest};
|
|
|
|
const ROUTE: ValPlatformRoute = ValPlatformRoute::NA;
|
|
|
|
static MATCHES: &[&str] = &[
|
|
// TODO
|
|
];
|
|
|
|
#[riven_test]
|
|
async fn val_match_v1_get_test() -> Result<(), String> {
|
|
val_match_v1_get(ROUTE, MATCHES).await
|
|
}
|
|
|
|
#[riven_test]
|
|
async fn val_content_ranked_test() -> Result<(), String> {
|
|
val_content_ranked(ROUTE).await
|
|
}
|
|
|
|
#[riven_test]
|
|
async fn val_match_v1_latest_test() -> Result<(), String> {
|
|
val_match_v1_latest(ROUTE).await
|
|
}
|