Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Feb 17, 2024
1 parent 410c72b commit d720a45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/adventurer/src/bag.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ mod tests {
}

#[test]
#[available_gas(56400)]
#[available_gas(66400)]
fn test_contains() {
let katana = ItemPrimitive { id: ItemId::Katana, xp: 1, metadata: 1 };
let demon_crown = ItemPrimitive { id: ItemId::DemonCrown, xp: 2, metadata: 2 };
Expand Down Expand Up @@ -814,7 +814,7 @@ mod tests {

#[test]
#[should_panic(expected: ('Item not in bag',))]
#[available_gas(6820)]
#[available_gas(7820)]
fn test_get_item_not_in_bag() {
let item_1 = ItemPrimitive { id: 11, xp: 0, metadata: 0 };
let item_2 = ItemPrimitive { id: 12, xp: 0, metadata: 0 };
Expand Down Expand Up @@ -851,7 +851,7 @@ mod tests {
}

#[test]
#[available_gas(50100)]
#[available_gas(61100)]
fn test_get_item() {
let item_1 = ItemPrimitive { id: 11, xp: 0, metadata: 0 };
let item_2 = ItemPrimitive { id: 12, xp: 0, metadata: 0 };
Expand Down

0 comments on commit d720a45

Please sign in to comment.