Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zsluedem committed May 5, 2024
1 parent 3a6e793 commit f4a040e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ mod tests {
// mod test_total_population;
// // mod test_pay_upgrade;
// mod test_growth_rate;
// mod test_create_city;
mod test_ambush;
mod test_create_city;
// mod test_ambush;
mod utils;
mod upgrade_proof;
mod upgrade_func;
Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_create_city.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ mod tests {

let (x, y) = context.kingdom_lord.get_village_location(caller);

assert!(x == 1, "x should be 73 but got {}", x);
assert!(x == 18, "x should be 18 but got {}", x);
assert!(y == 92, "y should be 75 but got {}", y);
}

Expand Down

0 comments on commit f4a040e

Please sign in to comment.