OSfrog tests
This commit is contained in:
parent
124f144a2b
commit
dab3b8da53
@ -967,9 +967,9 @@ mod tests {
|
||||
|
||||
construct.apply_modifiers(&player_colours);
|
||||
|
||||
assert!(construct.red_power.value == construct.red_power.base + construct.red_power.base.pct(50));
|
||||
assert!(construct.green_power.value == construct.green_power.base + construct.green_power.base.pct(75));
|
||||
assert!(construct.blue_power.value == construct.blue_power.base + construct.blue_power.base.pct(100));
|
||||
assert!(construct.red_power.value == construct.red_power.base + construct.red_power.base.pct(35));
|
||||
assert!(construct.green_power.value == construct.green_power.base + construct.green_power.base.pct(50));
|
||||
assert!(construct.blue_power.value == construct.blue_power.base + construct.blue_power.base.pct(70));
|
||||
|
||||
return;
|
||||
}
|
||||
@ -993,7 +993,7 @@ mod tests {
|
||||
assert!(construct.red_power.value == construct.red_power.base + construct.red_power.base.pct(10));
|
||||
assert!(construct.green_power.value == construct.green_power.base + construct.green_power.base.pct(10));
|
||||
assert!(construct.blue_power.value == construct.blue_power.base + construct.blue_power.base.pct(10));
|
||||
assert!(construct.green_life.value == construct.green_life.base + 100);
|
||||
assert!(construct.green_life.value == construct.green_life.base + 125);
|
||||
|
||||
return;
|
||||
}
|
||||
@ -1039,7 +1039,7 @@ mod tests {
|
||||
|
||||
construct.apply_modifiers(&player_colours);
|
||||
|
||||
assert!(construct.red_power.value == construct.red_power.base + construct.red_power.base.pct(50));
|
||||
assert!(construct.red_power.value == construct.red_power.base + construct.red_power.base.pct(35));
|
||||
assert!(construct.green_power.value == construct.green_power.base + construct.green_power.base.pct(25));
|
||||
assert!(construct.blue_power.value == construct.blue_power.base + construct.blue_power.base.pct(25));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user