test fixes
This commit is contained in:
parent
8e03564b46
commit
77510c1c8f
@ -1121,9 +1121,9 @@ mod tests {
|
||||
|
||||
construct.apply_modifiers(&player_colours);
|
||||
|
||||
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));
|
||||
assert!(construct.red_power.value == construct.red_power.base + construct.red_power.base.pct(15));
|
||||
assert!(construct.green_power.value == construct.green_power.base + construct.green_power.base.pct(24));
|
||||
assert!(construct.blue_power.value == construct.blue_power.base + construct.blue_power.base.pct(37));
|
||||
|
||||
return;
|
||||
}
|
||||
@ -1172,7 +1172,7 @@ mod tests {
|
||||
|
||||
let colours = Colours::from_construct(&construct);
|
||||
assert!(colours.red == 4);
|
||||
assert!(colours.blue == 20);
|
||||
assert!(colours.blue == 10);
|
||||
assert!(colours.green == 2);
|
||||
}
|
||||
|
||||
@ -1193,9 +1193,9 @@ mod tests {
|
||||
|
||||
construct.apply_modifiers(&player_colours);
|
||||
|
||||
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));
|
||||
assert!(construct.red_power.value == construct.red_power.base + construct.red_power.base.pct(15));
|
||||
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));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user