Renamed the unittest file so it can be checked in without requiering the unittest libs when building

This commit is contained in:
Gonk
2020-02-22 20:45:07 +01:00
parent d9b8683e59
commit ca833b3803
2 changed files with 1 additions and 3 deletions

View File

@@ -488,6 +488,7 @@ public final class CombatController implements VisualEffectCompletedCallback {
}
// see this post for explenations about the calculation: https://andorstrail.com/viewtopic.php?f=3&t=6661
// if you change code here make sure to run the tests in CombatControllerTest.java
public static float getAverageDamagePerHit(final Actor attacker, final Actor target) {
final int numPossibleOutcomes = attacker.getDamagePotential().max - attacker.getDamagePotential().current + 1;
float avgNonCriticalDamage = 0;

View File

@@ -6,9 +6,6 @@ import org.junit.Test;
import static org.junit.Assert.*;
/**
* Created by gonk on 02.02.2020.
*/
public class CombatControllerTest {
@Test
public void getAverageDamagePerHit() throws Exception {