Skip to content

Commit

Permalink
Increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshpinto committed Mar 17, 2024
1 parent 5fda20b commit 4401182
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ mod tests {
#[test]
fn test_check_addresses() {
let addresses = [
"0x1", "0x2", "0x3", "0x4", "0x5", "0x6", "0x7", "0x8", "0x9", "0x10",
"0x1", "0x2", "0x3", "0x4", "0x5", "0x6", "0x7", "0x8", "0x9", "0x10", "0x11",
];
check_addresses(&addresses);
}
Expand All @@ -89,6 +89,14 @@ mod tests {
let aggregate = 2;
let timeframe = "day";
check_aggregate(&aggregate, timeframe);

let aggregate = 5;
let timeframe = "hour";
check_aggregate(&aggregate, timeframe);

let aggregate = 10;
let timeframe = "minute";
check_aggregate(&aggregate, timeframe);
}

#[test]
Expand Down

0 comments on commit 4401182

Please sign in to comment.