Skip to content

Commit

Permalink
Add cap to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Mar 25, 2024
1 parent 8a95c36 commit 1feba18
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/runes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3785,6 +3785,7 @@ mod tests {
rune: Some(Rune(RUNE)),
mint: Some(Mint {
limit: Some(1000),
cap: Some(100),
..default()
}),
..default()
Expand All @@ -3807,6 +3808,7 @@ mod tests {
mints: 0,
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
..default()
Expand Down Expand Up @@ -3836,6 +3838,7 @@ mod tests {
etching: txid0,
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
mints: 1,
Expand Down Expand Up @@ -3867,6 +3870,7 @@ mod tests {
etching: Some(Etching {
rune: Some(Rune(RUNE)),
mint: Some(Mint {
cap: Some(100),
limit: Some(1000),
..default()
}),
Expand All @@ -3891,6 +3895,7 @@ mod tests {
mints: 0,
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
..default()
Expand Down Expand Up @@ -3925,6 +3930,7 @@ mod tests {
etching: txid0,
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
mints: 1,
Expand Down Expand Up @@ -3973,6 +3979,7 @@ mod tests {
etching: txid0,
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
mints: 2,
Expand Down Expand Up @@ -4032,6 +4039,7 @@ mod tests {
etching: txid0,
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
mints: 3,
Expand Down Expand Up @@ -4073,6 +4081,7 @@ mod tests {
rune: Some(Rune(RUNE)),
mint: Some(Mint {
limit: Some(1000),
cap: Some(100),
term: Some(2),
..default()
}),
Expand All @@ -4095,6 +4104,7 @@ mod tests {
mint: Some(MintEntry {
limit: Some(1000),
end: Some(id.block + 2),
cap: Some(100),
..default()
}),
timestamp: id.block,
Expand Down Expand Up @@ -4135,6 +4145,7 @@ mod tests {
mint: Some(MintEntry {
limit: Some(1000),
end: Some(id.block + 2),
cap: Some(100),
..default()
}),
premine: 0,
Expand Down Expand Up @@ -4185,6 +4196,7 @@ mod tests {
mint: Some(MintEntry {
limit: Some(1000),
end: Some(id.block + 2),
cap: Some(100),
..default()
}),
mints: 1,
Expand Down Expand Up @@ -4565,6 +4577,7 @@ mod tests {
rune: Some(Rune(RUNE)),
mint: Some(Mint {
limit: Some(1000),
cap: Some(100),
deadline: Some(RUNE_COMMIT_INTERVAL + 4),
..default()
}),
Expand All @@ -4588,6 +4601,7 @@ mod tests {
mint: Some(MintEntry {
deadline: Some(id.block + 2),
limit: Some(1000),
cap: Some(100),
..default()
}),
..default()
Expand Down Expand Up @@ -4629,6 +4643,7 @@ mod tests {
mint: Some(MintEntry {
deadline: Some(id.block + 2),
limit: Some(1000),
cap: Some(100),
..default()
}),
..default()
Expand Down Expand Up @@ -4675,6 +4690,7 @@ mod tests {
mint: Some(MintEntry {
limit: Some(1000),
deadline: Some(id.block + 2),
cap: Some(100),
..default()
}),
mints: 1,
Expand All @@ -4701,6 +4717,7 @@ mod tests {
rune: Some(Rune(RUNE)),
mint: Some(Mint {
limit: Some(1000),
cap: Some(100),
..default()
}),
..default()
Expand All @@ -4721,6 +4738,7 @@ mod tests {
},
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
timestamp: id.block,
Expand Down Expand Up @@ -4762,6 +4780,7 @@ mod tests {
timestamp: id.block,
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
mints: 1,
Expand Down Expand Up @@ -4941,6 +4960,7 @@ mod tests {
rune: Some(Rune(RUNE)),
mint: Some(Mint {
limit: Some(1000),
cap: Some(100),
..default()
}),
..default()
Expand Down Expand Up @@ -4980,6 +5000,7 @@ mod tests {
},
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
timestamp: id.block,
Expand Down Expand Up @@ -5007,6 +5028,7 @@ mod tests {
rune: Some(Rune(RUNE)),
mint: Some(Mint {
limit: Some(1000),
cap: Some(100),
..default()
}),
..default()
Expand All @@ -5027,6 +5049,7 @@ mod tests {
},
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
timestamp: id.block,
Expand Down Expand Up @@ -5078,6 +5101,7 @@ mod tests {
},
mint: Some(MintEntry {
limit: Some(1000),
cap: Some(100),
..default()
}),
timestamp: id.block,
Expand Down

0 comments on commit 1feba18

Please sign in to comment.