Skip to content

Commit

Permalink
token load tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cqb13 committed Aug 24, 2024
1 parent d7bdfca commit 577dbae
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/token_load.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
use ti_tools::calculator::tokens::{load_token_definitions, load_tokens, OsVersion};

#[test]
fn test_load_token_definitions() {
let tokens = load_token_definitions();

assert!(tokens.is_ok(), "Failed to load token definitions.");
}

#[test]
fn test_load_tokens() {
let tokens = load_tokens(&OsVersion::latest());

assert!(tokens.is_ok(), "Failed to load tokens.");
}

0 comments on commit 577dbae

Please sign in to comment.