diff --git a/eos/tests/__init__.py b/eos/tests/__init__.py
deleted file mode 100755
index 07f94b115..000000000
--- a/eos/tests/__init__.py
+++ /dev/null
@@ -1,206 +0,0 @@
-#===============================================================================
-# Copyright (C) 2010 Diego Duclos
-# 2010 Anton Vorobyov
-#
-# This file and all other files in this folder (and its subfolders) are part of eos.
-#
-# eos is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# eos is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with eos. If not, see .
-#===============================================================================
-
-import unittest
-
-from eos import db
-from eos.types import Fit, Character, Skill, Ship, Module, Drone, Booster, Fleet, Wing, Squad, State
-
-class TestBase(unittest.TestCase):
- def setUp(self):
- db.saveddata_meta.create_all()
-
- def tearDown(self):
- db.saveddata_meta.drop_all()
- db.saveddata_session.expunge_all()
-
- def __addFitItem(self, fit, item, state=None):
- # Map textual description to actual states
- statemap = {"offline": State.OFFLINE,
- "online": State.ONLINE,
- "active": State.ACTIVE,
- "overheated": State.OVERHEATED}
- # Gather some data about item being fitted
- item_itm = db.getItem(item)
- cat = item_itm.category.name.lower()
- grp = item_itm.group.name.lower()
- # Append it to proper category
- if cat == "drone":
- item_inst = Drone(item_itm)
- fit.drones.append(item_inst)
- elif cat in ("module", "subsystem"):
- item_inst = Module(item_itm)
- fit.modules.append(item_inst)
- if state and state in statemap:
- item_inst.state = statemap[state]
- elif cat == "charge":
- # Use dummy container for any charge
- item_inst = Module(db.getItem("Bomb Launcher I"))
- item_inst.charge = item_itm
- fit.modules.append(item_inst)
- elif cat == "implant" and grp == "booster":
- item_inst = Booster(item_itm)
- fit.boosters.append(item_inst)
- # We need item_inst outside of the method
- return item_inst
-
- def __detectTupleType(self, tuple):
- # Define acceptable textual state descriptions
- states = ("offline", "online", "active", "overheated")
- # Do not check anything, assume that it's proper item
- if len(tuple) == 1:
- return "itm"
- # Detect if it's item with state or 2 single items
- elif len(tuple) == 2:
- if tuple[1] in states:
- return "itmstt"
- else:
- return "itms"
- elif len(tuple) > 2:
- return "itms"
- else:
- return None
-
- def __fitItems(self, fit, itms):
- if isinstance(itms, (tuple, list)):
- tt = self.__detectTupleType(itms)
- if tt == "itm":
- self.__addFitItem(fit, itms)
- elif tt == "itmstt":
- self.__addFitItem(fit, itms[0], state=itms[1])
- elif tt == "itms":
- for itm in itms:
- if isinstance(itm, (tuple, list)):
- tt = self.__detectTupleType(itm)
- if tt == "itm":
- self.__addFitItem(fit, itm)
- elif tt == "itmstt":
- self.__addFitItem(fit, itm[0], state=itm[1])
- else:
- self.__addFitItem(fit, itm)
- elif itms:
- self.__addFitItem(fit, itms)
-
- def getItemAttr(self, attr, item, skill=None, ship="Rifter", getCharge=False, gang=False, miscitms=None):
- # Create a fit which will be tested
- fit = Fit()
- # Create character for fit and assign it
- char = Character("test")
- # Assign skills to character only when requested
- if not gang and skill:
- skill_itm = db.getItem(skill[0])
- skill_lvl = skill[1]
- char.addSkill(Skill(skill_itm, skill_lvl))
- fit.character = char
- # Create ship and assign to fit; use default Rifter dummy
- # in any case as some items affect ship attributes, they can't
- # be tested w/o ship
- fit.ship = Ship(db.getItem(ship))
- # Create and fit an item which will be tested
- item_inst = self.__addFitItem(fit, item)
- # Add other modules which can affect ship attributes
- if miscitms:
- self.__fitItems(fit, miscitms)
- # Finish composing of tested fit by calculating its attributes
- fit.calculateModifiedAttributes()
- # Use special fit as gang booster when requested
- if gang:
- # Do the same for character which will be
- # squad booster
- squad_fit = Fit()
- squad_char = Character("squad_test")
- # Add leadership skill which is required to boost squad members
- squad_char.addSkill(Skill(db.getItem("Leadership"), 1))
- if skill:
- squad_skill_itm = db.getItem(skill[0])
- squad_skill_lvl = skill[1]
- squad_char.addSkill(Skill(squad_skill_itm, squad_skill_lvl))
- squad_fit.character = squad_char
- squad_fit.ship = Ship(db.getItem(ship))
- squad_fit.calculateModifiedAttributes()
- # Create full fleet structure and assign roles
- squad = Squad()
- squad.leader = squad_fit
- squad.members.append(squad_fit)
- squad.members.append(fit)
- wing = Wing()
- wing.squads.append(squad)
- fleet = Fleet()
- fleet.wings.append(wing)
- # Calculate fleet relationships
- fleet.calculateModifiedAttributes()
- # Use charge as an item when it was requested to be tested,
- # and passed item itself in all other cases
- cat = db.getItem(item).category.name.lower()
- if (cat == "drone" and getCharge) or cat == "charge":
- result = item_inst.getModifiedChargeAttr(attr)
- else:
- result = item_inst.getModifiedItemAttr(attr)
- return result
-
- def getShipAttr(self, attr, ship="Rifter", skill=None, gang=False, miscitms=None, unmod=False):
- # Create a fit for testing
- fit = Fit()
- # Create character for fit
- char = Character("test")
- # Assign skills only when we need to do so
- if not gang and skill:
- skill_itm = db.getItem(skill[0])
- skill_lvl = skill[1]
- char.addSkill(Skill(skill_itm, skill_lvl))
- fit.character = char
- # Create a ship and assign it to the fitting
- fit.ship = Ship(db.getItem(ship))
- # Add other modules which can affect ship attributes
- if miscitms:
- self.__fitItems(fit, miscitms)
- # We're done, calculate attributes
- fit.calculateModifiedAttributes()
- # Define a gang booster
- if gang:
- squad_fit = Fit()
- squad_char = Character("squad_test")
- # Add leadership skill which is required to boost squad members
- squad_char.addSkill(Skill(db.getItem("Leadership"), 1))
- if skill:
- squad_skill_itm = db.getItem(skill[0])
- squad_skill_lvl = skill[1]
- squad_char.addSkill(Skill(squad_skill_itm, squad_skill_lvl))
- squad_fit.character = squad_char
- squad_fit.ship = Ship(db.getItem(ship))
- squad_fit.calculateModifiedAttributes()
- squad = Squad()
- squad.leader = squad_fit
- squad.members.append(squad_fit)
- squad.members.append(fit)
- wing = Wing()
- wing.squads.append(squad)
- fleet = Fleet()
- fleet.wings.append(wing)
- fleet.calculateModifiedAttributes()
- # Autodetect which attributes group to use
- if attr in fit.extraAttributes:
- result = fit.extraAttributes[attr]
- else:
- if unmod:
- result = fit.ship.item.attributes[attr].value
- else:
- result = fit.ship.getModifiedItemAttr(attr)
- return result
diff --git a/eos/tests/gamedata/__init__.py b/eos/tests/gamedata/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/gamedata/testAttributes.py b/eos/tests/gamedata/testAttributes.py
deleted file mode 100755
index c5e46b8bf..000000000
--- a/eos/tests/gamedata/testAttributes.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-
-class Test(TestBase):
- def test_attributeNamesMatch(self):
- i = db.getItem("Gamma L")
- for attrName, attr in i.attributes.iteritems():
- self.assertEquals(attrName, attr.name)
-
- def test_attributeUnit(self):
- a = db.getAttributeInfo("maxVelocity")
- self.assertEquals(a.unit.name, "Acceleration")
- self.assertEquals(a.unit.displayName, "m/sec")
diff --git a/eos/tests/gamedata/testEffectHandlerLoading.py b/eos/tests/gamedata/testEffectHandlerLoading.py
deleted file mode 100755
index 75a4c2ace..000000000
--- a/eos/tests/gamedata/testEffectHandlerLoading.py
+++ /dev/null
@@ -1,8 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-import types
-
-class Test(TestBase):
- def test_loadEffect(self):
- i = db.getItem("Rifter")
- self.assertEqual(type(i.effects["shipPDmgBonusMF"].handler), types.FunctionType)
diff --git a/eos/tests/gamedata/testGameDataQueries.py b/eos/tests/gamedata/testGameDataQueries.py
deleted file mode 100755
index 267c893ef..000000000
--- a/eos/tests/gamedata/testGameDataQueries.py
+++ /dev/null
@@ -1,44 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Item
-
-class Test(TestBase):
- def test_getItem(self):
- i = db.getItem("Gamma L")
- self.assertEqual(i.name, "Gamma L")
- self.assertEqual(i.ID, 261)
-
- def test_searchItems(self):
- i = db.searchItems("Gamma L",where=Item.published == True)
- self.assertEqual(len(i), 7)
-
- def test_searchItemsWhere(self):
- i = db.searchItems("Gamma L", where=Item.published == False)
- self.assertEqual(len(i), 0)
-
- def test_getVariations(self):
- i = db.getItem("Gamma L")
- vars = db.getVariations(i)
- for var in vars:
- self.assertEqual(var.metaGroup.parent, i)
-
- def test_getVariationsMeta(self):
- i = db.getItem("Gamma L")
- vars = db.getVariations(i, metaGroups=4)
- self.assertEquals(len(vars), 5)
-
- def test_getMarketGroup(self):
- m = db.getMarketGroup(157)
- self.assertEquals(m.name, "Drones")
-
- def test_getGroup(self):
- g = db.getGroup(920)
- self.assertEquals(g.name, "Effect Beacon")
-
- def test_getCategory(self):
- c = db.getCategory(6)
- self.assertEquals(c.name, "Ship")
-
- def test_getAttributeInfo(self):
- i = db.getAttributeInfo(2)
- self.assertEquals(i.name, "isOnline")
diff --git a/eos/tests/gamedata/testItem.py b/eos/tests/gamedata/testItem.py
deleted file mode 100755
index 32a7c08c5..000000000
--- a/eos/tests/gamedata/testItem.py
+++ /dev/null
@@ -1,37 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Skill
-
-class Test(TestBase):
- def test_race(self):
- i = db.getItem("Dramiel")
- self.assertEqual(i.race, "angel")
-
- ii = db.getItem("Punisher")
- self.assertEqual(ii.race, "amarr")
-
- def test_requiredSkills(self):
- i = db.getItem("Dramiel")
- self.assertEquals(len(i.requiredSkills), 2)
- skills = ("Minmatar Frigate", "Gallente Frigate")
- for skill, level in i.requiredSkills.iteritems():
- self.assertTrue(skill.name in skills)
- self.assertEquals(level, 3)
-
- def test_requiresSkill(self):
- i = db.getItem("Shield Boost Amplifier II")
- skill = db.getItem("Shield Management")
- self.assertTrue(i.requiresSkill("Shield Management"))
- self.assertTrue(i.requiresSkill("Shield Management", 5))
- self.assertTrue(i.requiresSkill(skill, 5))
- self.assertTrue(i.requiresSkill(skill))
- self.assertFalse(i.requiresSkill(1302))
- self.assertFalse(i.requiresSkill("Moo Management"), 9000)
-
- self.assertTrue(i.requiresSkill(Skill(skill)))
-
- def test_attrMover(self):
- i = db.getItem("Rifter")
- self.assertEquals(i.capacity, i.getAttribute("capacity"))
- self.assertEquals(i.volume, i.getAttribute("volume"))
- self.assertEquals(i.mass, i.getAttribute("mass"))
diff --git a/eos/tests/other/__init__.py b/eos/tests/other/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/other/testAttributeModifiers.py b/eos/tests/other/testAttributeModifiers.py
deleted file mode 100755
index 82ad1dec1..000000000
--- a/eos/tests/other/testAttributeModifiers.py
+++ /dev/null
@@ -1,62 +0,0 @@
-from eos.tests import TestBase
-from eos.types import Drone
-from eos import db
-
-class Test(TestBase):
- def test_increase(self):
- d = Drone(db.getItem("Hobgoblin I"))
- originalSpeed = d.itemModifiedAttributes["speed"]
- d.increaseItemAttr("speed", 1302)
- self.assertEquals(originalSpeed + 1302, d.itemModifiedAttributes["speed"])
-
- def test_multiply(self):
- d = Drone(db.getItem("Hobgoblin I"))
- originalSpeed = d.itemModifiedAttributes["speed"]
- d.multiplyItemAttr("speed", 2.35)
- self.assertAlmostEquals(originalSpeed * 2.35, d.itemModifiedAttributes["speed"])
-
- def test_boost(self):
- d = Drone(db.getItem("Hobgoblin I"))
- originalSpeed = d.itemModifiedAttributes["speed"]
- d.boostItemAttr("speed", 20)
- self.assertAlmostEquals(originalSpeed * 1.20, d.itemModifiedAttributes["speed"])
-
- def test_stackingPenalizedMultiply(self):
- d = Drone(db.getItem("Hobgoblin I"))
- originalSpeed = d.itemModifiedAttributes["speed"]
- d.multiplyItemAttr("speed", 2.35, stackingPenalties = True) #Should get penalties
- d.multiplyItemAttr("speed", 2.6, stackingPenalties = True) #Shouldn't get penalties
- d.multiplyItemAttr("speed", 0.4, stackingPenalties = True) #Shouldn't get penalties
- d.multiplyItemAttr("speed", 0.6, stackingPenalties = True) #Should get penalties
- self.assertAlmostEquals(originalSpeed * (1 + -0.4* 0.86911998) * 0.4 * (1 + 1.35 * 0.86911998) * (1 + 1.6),
- d.itemModifiedAttributes["speed"], 2)
-
- def test_stackingPenaltyMultiplyGroups(self):
- d = Drone(db.getItem("Hobgoblin I"))
- originalSpeed = d.itemModifiedAttributes["speed"]
- d.multiplyItemAttr("speed", 2.1, stackingPenalties = True, penaltyGroup = "test1") #Shouldn't get penaltied
- d.multiplyItemAttr("speed", 2.5, stackingPenalties = True, penaltyGroup = "test2") #Should get penaltied
- d.multiplyItemAttr("speed", 2.7, stackingPenalties = True, penaltyGroup = "test2") #Shouldn't get penaltied
- d.multiplyItemAttr("speed", 1.6, stackingPenalties = True, penaltyGroup = "test1") #Should get penaltied
- self.assertAlmostEqual(originalSpeed * 2.1 * 2.7 * (1 + 1.5 * 0.86911998) * (1 + 0.6 * 0.86911998),
- d.itemModifiedAttributes["speed"], 2)
-
- def test_stackingPenalizedBoost(self):
- d = Drone(db.getItem("Hobgoblin I"))
- originalSpeed = d.itemModifiedAttributes["speed"]
- d.boostItemAttr("speed", 35, stackingPenalties = True) #Should get penalties
- d.boostItemAttr("speed", 60, stackingPenalties = True) #Shouldn't get penalties
- d.boostItemAttr("speed", -40, stackingPenalties = True) #Should get penalties
- d.boostItemAttr("speed", -60, stackingPenalties = True) #Shouldn't get penalties
- self.assertAlmostEquals(originalSpeed * (1 + 0.35 * 0.86911998) * 1.6 * (1 - 0.6) * (1 - 0.4 * 0.86911998),
- d.itemModifiedAttributes["speed"], 2)
-
- def test_stackingPenaltyBoostGroups(self):
- d = Drone(db.getItem("Hobgoblin I"))
- originalSpeed = d.itemModifiedAttributes["speed"]
- d.boostItemAttr("speed", 10, stackingPenalties = True, penaltyGroup = "test1") #Should get penaltied
- d.boostItemAttr("speed", 50, stackingPenalties = True, penaltyGroup = "test2") #Should get penaltied
- d.boostItemAttr("speed", 70, stackingPenalties = True, penaltyGroup = "test2") #Shouldn't get penaltied
- d.boostItemAttr("speed", 60, stackingPenalties = True, penaltyGroup = "test1") #Shouldn't get penaltied
- self.assertAlmostEqual(originalSpeed * (1 + 0.10 * 0.86911998) * (1 + 0.5 * 0.86911998) * 1.7 * 1.6,
- d.itemModifiedAttributes["speed"], 2)
diff --git a/eos/tests/other/testDump.py b/eos/tests/other/testDump.py
deleted file mode 100755
index 997cc7145..000000000
--- a/eos/tests/other/testDump.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-
-class Test(TestBase):
- def test_unicode(self):
- # Deliberatly request something with non-ASCII symbol in it. Will crash if the dump isn't encoded correctly
- db.getAttributeInfo(384)
diff --git a/eos/tests/other/testModifiedAttributeDict.py b/eos/tests/other/testModifiedAttributeDict.py
deleted file mode 100755
index 65bc4a3d2..000000000
--- a/eos/tests/other/testModifiedAttributeDict.py
+++ /dev/null
@@ -1,57 +0,0 @@
-from eos.tests import TestBase
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-from eos import db
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.dict = ModifiedAttributeDict()
- self.i = db.getItem("125mm Gatling AutoCannon I")
-
- def test_setValidOriginal(self):
- self.dict.original = self.i.attributes
-
- def test_originalAttributesMatch(self):
- self.dict.original = self.i.attributes
- for key,val in self.dict.items():
- self.assertEqual(val, self.i.attributes[key].value)
-
- def test_modificationWorks(self):
- self.dict.original = self.i.attributes
- self.dict["hp"] = 5
- self.assertEqual(self.dict["hp"], 5)
-
- def test_overrideAndCalculate(self):
- self.dict.original = self.i.attributes
- self.dict["hp"] = 5
- self.dict.increase("hp", 5)
- self.assertEqual(self.dict["hp"], 10)
-
- def test_calculateOverride(self):
- self.dict.original = self.i.attributes
- self.dict.increase("hp", 10)
- self.dict["hp"] = 5
- self.assertEqual(self.dict["hp"], 15)
-
- def test_originalNone(self):
- self.dict.original = {}
- self.assertEquals(self.dict["maeazhtg"], None)
-
- def test_force(self):
- self.dict.original = self.i.attributes
- self.dict.force("hp", 9000)
- self.dict.increase("hp",284)
- self.dict.multiply("hp", 2487)
- self.dict["hp"] = 1
- self.assertEqual(self.dict["hp"], 9000)
-
- def test_newValue(self):
- self.dict.original = {}
- self.dict["test"] = 3
- self.dict.increase("test", 5)
- self.assertEqual(self.dict["test"], 8)
-
- def test_increaseInexistent(self):
- self.dict.original = {}
- self.dict.increase("test", 5)
- self.assertEquals(self.dict["test"], 5)
diff --git a/eos/tests/runMassEffectTests.py b/eos/tests/runMassEffectTests.py
deleted file mode 100755
index b709505c4..000000000
--- a/eos/tests/runMassEffectTests.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#===============================================================================
-# This file is part of eos.
-#
-# eos is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# eos is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with eos. If not, see .
-#===============================================================================
-
-if __name__ == "__main__":
- print "starting"
- import sys
- import os.path
-
- #Add the good path to sys.path
- path = os.path.dirname(unicode(__file__, sys.getfilesystemencoding()))
- sys.path.append(os.path.realpath(os.path.join(path, "..", "..")))
-
- from eos.types import Effect
- from eos.gamedata import effectDummy
-
- print "checking files in effects folder"
- list = os.listdir(os.path.join("../effects"))
- def validate(fileName):
- moduleName, ext = os.path.splitext(fileName)
- return moduleName != "__init__" and ext == ".py"
-
- list = filter(validate, list)
- size = len(list)
- print "found %d effects, starting checks:" % size
- i = 0
- lastError = -500
- errors = 0
- errorString = ""
- for fileName in list:
- moduleName, ext = os.path.splitext(fileName)
- i += 1
- if i / 50.0 == int(i / 50.0):
- sys.stdout.write(".")
- sys.stdout.flush()
-
- e = Effect()
- e.name = unicode(moduleName)
- try:
- e.init()
-
- if e.handler == effectDummy:
- errors += 1
- sys.stdout.write("F")
- errorString += "\n%s: No handler" % moduleName
- if e.type is None:
- errors += 1
- sys.stdout.write("F")
- errorString += "\n%s: No type" % moduleName
- except Exception, exc:
- errors += 1
- sys.stdout.write("E")
- errorString += "\n%s: Exception thrown: %s\n%s\n" % (moduleName, exc.__class__, exc)
-
- sys.stderr.write(errorString)
-
- print ""
- print "Done"
- print "%d errors with a total of %d effects (%.2f%%)" % (errors, size, float(errors) / size * 100)
diff --git a/eos/tests/runTests.py b/eos/tests/runTests.py
deleted file mode 100755
index 0b3974757..000000000
--- a/eos/tests/runTests.py
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/usr/bin/env python
-#===============================================================================
-# This file is part of eos.
-#
-# eos is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-#
-# eos is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with eos. If not, see .
-#===============================================================================
-
-import unittest, os.path, sys
-
-#Add the good path to sys.path
-path = os.path.dirname(unicode(__file__, sys.getfilesystemencoding()))
-sys.path.append(os.path.realpath(os.path.join(path, "..", "..")))
-
-from eos import config
-
-config.debug = False
-config.saveddata_connectionstring = "sqlite:///:memory:"
-config.saveddataCache = None
-
-class Loader(unittest.TestLoader):
- def loadTestsFromName(self, name, module = None):
- if name == "discover":
- return iteratedir(os.path.dirname(__file__))
- else:
- prefix = name.split(".")
- fullpath = os.path.join(os.path.dirname(__file__), *prefix)
- if os.path.isdir(os.path.join(fullpath)):
- return iteratedir(fullpath, prefix)
- else:
- module = __import__(name, fromlist=True)
- return self.loadTestsFromModule(module)
-
-loader = Loader()
-def iteratedir(dir, prefix = [], suite = None):
- suite = suite if suite is not None else unittest.TestSuite()
- for filename in os.listdir(dir or '.'):
- moduleName, ext = os.path.splitext(filename)
- moduleName = '.'.join(prefix + [moduleName])
-
- if os.path.isdir(os.path.join(dir, filename)):
- module = __import__(moduleName + ".__init__", fromlist = True)
- subSuite = unittest.TestSuite()
- suite.addTest(subSuite)
- iteratedir(os.path.join(dir, filename), prefix + [filename], subSuite)
-
- if ext == ".py" and moduleName not in ("__init__", "runTests", "runMassEffectTests"):
- module = __import__(moduleName, fromlist = True)
- suite.addTest(loader.loadTestsFromModule(module))
-
- return suite
-
-if __name__ == "__main__":
- unittest.main(defaultTest="discover", testLoader=loader)
diff --git a/eos/tests/saveddata/__init__.py b/eos/tests/saveddata/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/saveddata/testBooster.py b/eos/tests/saveddata/testBooster.py
deleted file mode 100755
index 78b2bcafa..000000000
--- a/eos/tests/saveddata/testBooster.py
+++ /dev/null
@@ -1,103 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Booster, Fit, User, Ship
-import sqlalchemy.orm
-import eos.db.saveddata.queries
-from copy import deepcopy
-
-class Test(TestBase):
- def test_setInvalidBooster(self):
- try:
- Booster(db.getItem("Gamma L"))
- except ValueError:
- return
- self.fail("Expected a ValueError when trying to use Gamma L as a booster")
-
- def test_setValidBooster(self):
- b = Booster(db.getItem("Strong Drop Booster"))
- self.assertEquals(2, b.slot)
- i = 0
- for _ in b.iterSideEffects():
- i+= 1
-
- self.assertEquals(4, i)
-
- def test_testEffectList(self):
- b = Booster(db.getItem("Strong Drop Booster"))
- i = 0
- names = ("boosterTurretFalloffPenalty", "boosterArmorRepairAmountPenalty",
- "boosterMaxVelocityPenalty", "boosterShieldCapacityPenalty")
- for sideEffect in b.iterSideEffects():
- i += 1
- if not sideEffect.effect.name in names:
- self.fail("Invalid effect " + sideEffect.effect.name)
-
- self.assertEquals(4, i)
-
- def test_clear(self):
- b = Booster(db.getItem("Strong Drop Booster"))
- orig = b.getModifiedItemAttr("trackingSpeedMultiplier")
-
- b.itemModifiedAttributes["trackingSpeedMultiplier"] = 5
- b.clear()
- self.assertEquals(b.getModifiedItemAttr("trackingSpeedMultiplier"), orig)
-
- def test_databaseConsistency(self):
- oldSession = db.saveddata_session
- oldSession.commit()
- try:
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.owner = User("boostertest", "testy", False)
- b = Booster(db.getItem("Strong Drop Booster"))
- b.active = True
- activate = ("boosterTurretFalloffPenalty", "boosterArmorRepairAmountPenalty")
- for sideEffect in b.iterSideEffects():
- if sideEffect.effect.name in activate:
- sideEffect.active = True
-
- f.boosters.append(b)
- db.saveddata_session.add(f)
- db.saveddata_session.flush()
- fitID = f.ID
- f1id = id(f)
- b1id = id(b)
-
- #Hack our way through changing the session temporarly
- oldSession = eos.db.saveddata.queries.saveddata_session
- eos.db.saveddata.queries.saveddata_session = sqlalchemy.orm.sessionmaker(bind=db.saveddata_engine)()
-
- f = db.getFit(fitID)
- self.assertNotEquals(f1id, id(f))
- i = 0
- for b in f.boosters:
- i += 1
- booster = b
-
- self.assertTrue(b.active)
- self.assertNotEquals(b1id, id(booster))
- self.assertEquals(i, 1)
- for sideEffect in booster.iterSideEffects():
- self.assertEquals(sideEffect.effect.name in activate, sideEffect.active)
- except:
- db.saveddata_session.rollback()
- raise
- finally:
- #Undo our hack as to not fuck up anything
- eos.db.saveddata.queries.saveddata_session = oldSession
-
- def test_copy(self):
- b = Booster(db.getItem("Strong Drop Booster"))
- b.active = False
- activate = ("boosterTurretFalloffPenalty", "boosterArmorRepairAmountPenalty")
- for sideEffect in b.iterSideEffects():
- if sideEffect.effect.name in activate:
- sideEffect.active = True
-
- copy = deepcopy(b)
-
- self.assertNotEquals(id(b), id(copy))
- self.assertEquals(b.item, copy.item)
- self.assertEquals(b.active, copy.active)
- for sideEffect in copy.iterSideEffects():
- self.assertEquals(sideEffect.effect.name in activate, sideEffect.active)
diff --git a/eos/tests/saveddata/testCharacter.py b/eos/tests/saveddata/testCharacter.py
deleted file mode 100755
index 74a1e4eaf..000000000
--- a/eos/tests/saveddata/testCharacter.py
+++ /dev/null
@@ -1,106 +0,0 @@
-from eos.tests import TestBase
-from eos.types import Character, User, Fit, Skill, Ship
-from eos.saveddata.character import ReadOnlyException
-from eos import db
-import eos.db.saveddata.queries
-import sqlalchemy.orm
-from copy import deepcopy
-
-class Test(TestBase):
- def test_databaseConsistency(self):
- oldSession = db.saveddata_session
- oldSession.commit()
- try:
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- c = Character("testChar")
- f.character = c
- u = User("testChar", "moo", False)
- f.owner = u
- c.owner = u
- c.addSkill(Skill(db.getItem("Caldari Frigate"), 3))
- c.addSkill(Skill(db.getItem("Gallente Frigate"), 1))
- c.addSkill(Skill(db.getItem("Gallente Industrial"), 5))
- db.saveddata_session.add(u)
- db.saveddata_session.add(c)
- db.saveddata_session.add(f)
- db.saveddata_session.flush()
-
- #Hack our way through changing the session temporarly
- oldSession = eos.db.saveddata.queries.saveddata_session
- eos.db.saveddata.queries.saveddata_session = sqlalchemy.orm.sessionmaker(bind=db.saveddata_engine)()
-
- newf = db.getFit(f.ID)
- newu = db.getUser(u.ID)
- newc = newu.characters[0]
- self.assertNotEquals(id(newf), id(f))
- self.assertNotEquals(id(newu), id(u))
- self.assertNotEquals(id(newc), id(c))
- self.assertEquals(len(newu.characters), 1)
- self.assertEquals(f.character.ID, newf.character.ID)
- skillDict= {"Caldari Frigate" : 3,
- "Gallente Frigate" : 1,
- "Gallente Industrial" : 5}
- for skill in newc.iterSkills():
- self.assertTrue(skillDict.has_key(skill.item.name))
- self.assertEquals(skillDict[skill.item.name], skill.level)
-
-
- except:
- db.saveddata_session.rollback()
- raise
- finally:
- #Undo our hack as to not fuck up anything
- eos.db.saveddata.queries.saveddata_session = oldSession
-
- def test_suppress(self):
- s = Skill(db.getItem("Caldari Frigate"))
- s.suppress()
- self.assertTrue(s.isSuppressed())
- s.clear()
- self.assertFalse(s.isSuppressed())
-
- def test_getSkill(self):
- c = Character("testetyChar")
- s1 = Skill(db.getItem("Caldari Frigate"), 3)
- c.addSkill(s1)
- c.addSkill(Skill(db.getItem("Gallente Frigate"), 1))
- c.addSkill(Skill(db.getItem("Gallente Industrial"), 5))
- self.assertEquals(c.getSkill(s1.item.name), s1)
- self.assertEquals(c.getSkill(s1.item.ID), s1)
- self.assertEquals(c.getSkill(s1.item), s1)
-
- def test_readOnly(self):
- s = Skill(db.getItem("Caldari Frigate"), 3, True)
- try:
- s.level = 5
- except ReadOnlyException:
- return
- self.fail("Expected ReadOnlyExcption, didn't get it")
-
- def test_all0(self):
- c = Character.getAll0()
- for skill in c.iterSkills():
- self.assertEquals(skill.level, 0)
-
- def test_all5(self):
- c = Character.getAll5()
- for skill in c.iterSkills():
- self.assertEquals(skill.level, 5)
-
- def test_copy(self):
- c = Character("TEST")
- s = c.getSkill("Leadership")
- s.level = 5
- c.apiKey = "FHIGUUHVBIUHYUIGOYHUIORUIUOHYIUGUIERYGIUUYI9U0BGUYYOIIGHIUHIUYGU"
- c.apiID = 43636
-
- copy = deepcopy(c)
- self.assertNotEquals(id(c), id(copy))
- self.assertEquals(c.apiKey, copy.apiKey)
- self.assertEquals(c.apiID, copy.apiID)
- self.assertEquals("%s copy" % c.name, copy.name)
-
- news = copy.getSkill("Leadership")
- self.assertNotEquals(id(s), id(news))
- self.assertEquals(s.level, news.level)
diff --git a/eos/tests/saveddata/testDamagePattern.py b/eos/tests/saveddata/testDamagePattern.py
deleted file mode 100755
index 47457c8d3..000000000
--- a/eos/tests/saveddata/testDamagePattern.py
+++ /dev/null
@@ -1,69 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit, DamagePattern, Ship, Module, State
-
-class Test(TestBase):
- def test_rawEhp(self):
- f = Fit()
- f.ship = Ship(db.getItem("Wolf"))
- expected = 0
- for type in ("shieldCapacity", "armorHP", "hp"):
- expected += f.ship.getModifiedItemAttr(type)
-
- self.assertEquals(expected, sum(f.ehp.values()))
-
- def test_uniformEhp(self):
- f = Fit()
- f.ship = Ship(db.getItem("Wolf"))
- f.damagePattern = DamagePattern(25, 25, 25 ,25)
- self.assertAlmostEquals(3094, sum(f.ehp.values()), 0)
-
- def test_passiveRechargeUniform(self):
- f = Fit()
- f.ship = Ship(db.getItem("Wolf"))
- f.damagePattern = DamagePattern(25, 25, 25, 25)
- self.assertAlmostEquals(3.86, f.effectiveTank["passiveShield"], 2)
-
- def test_armorRepairUniform(self):
- f = Fit()
- f.ship = Ship(db.getItem("Wolf"))
- f.damagePattern = DamagePattern(25, 25, 25 ,25)
- m = Module(db.getItem("Small Armor Repairer I"))
- m.state = State.ACTIVE
- f.modules.append(m)
- f.calculateModifiedAttributes()
- self.assertAlmostEquals(19.3, f.effectiveTank["armorRepair"], 1)
-
- def test_shieldBoostUniform(self):
- f = Fit()
- f.ship = Ship(db.getItem("Wolf"))
- f.damagePattern = DamagePattern(25, 25, 25 ,25)
- m = Module(db.getItem("Small Shield Booster I"))
- m.state = State.ACTIVE
- f.modules.append(m)
- f.calculateModifiedAttributes()
- self.assertAlmostEquals(26.3, f.effectiveTank["shieldRepair"],1)
-
- def test_hullRepairUniform(self):
- f = Fit()
- f.ship = Ship(db.getItem("Wolf"))
- f.damagePattern = DamagePattern(25, 25, 25 ,25)
- m = Module(db.getItem("Small Hull Repairer I"))
- m.state = State.ACTIVE
- f.modules.append(m)
- f.calculateModifiedAttributes()
- self.assertAlmostEquals(f.extraAttributes["hullRepair"], f.effectiveTank["hullRepair"],1)
-
- def test_importPattern(self):
- d = DamagePattern.importPatterns("Test = EM:5, THERM:42, KIN:1302, EXP:6")[0]
- self.assertEquals(d.name, "Test")
- self.assertEquals(d.emAmount, 5)
- self.assertEquals(d.thermalAmount, 42)
- self.assertEquals(d.kineticAmount, 1302)
- self.assertEquals(d.explosiveAmount, 6)
-
- def test_exportPattern(self):
- d = DamagePattern(5, 42, 1302, 6)
- d.name = "Test"
- self.assertEquals(DamagePattern.exportPatterns(d), "Test = EM:5, Therm:42, Kin:1302, Exp:6")
-
diff --git a/eos/tests/saveddata/testDrone.py b/eos/tests/saveddata/testDrone.py
deleted file mode 100755
index 5bd9205fd..000000000
--- a/eos/tests/saveddata/testDrone.py
+++ /dev/null
@@ -1,86 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Drone, Fit, User, Ship
-import eos.db.saveddata.queries
-import sqlalchemy.orm
-from copy import deepcopy
-
-class Test(TestBase):
- def test_clear(self):
- d = Drone(db.getItem("Hobgoblin I"))
- orig = d.getModifiedItemAttr("hp")
- d.itemModifiedAttributes["hp"] = 5
- d.clear()
- self.assertEquals(d.getModifiedItemAttr("hp"), orig)
-
- def test_databaseConsistency(self):
- oldSession = db.saveddata_session
- oldSession.commit()
- try:
- f = Fit()
- f.owner = User("dronetest", "testy", False)
- f.ship = Ship(db.getItem("Rifter"))
- i = db.getItem("Hobgoblin I")
-
- d = f.drones.appendItem(i, 5)
- d.amountActive = 3
- d2 = f.projectedDrones.appendItem(i, 3)
- f1id = id(f)
- d1id = id(d)
-
- db.saveddata_session.add(f)
- db.saveddata_session.add(d)
- db.saveddata_session.flush()
-
- fitID = f.ID
-
- #Hack our way through changing the session temporarly
- oldSession = eos.db.saveddata.queries.saveddata_session
- eos.db.saveddata.queries.saveddata_session = sqlalchemy.orm.sessionmaker(bind=db.saveddata_engine)()
-
- f = db.getFit(fitID)
- self.assertNotEquals(id(f), f1id)
-
-
- c = 0
- for d in f.drones:
- c += 1
- self.assertNotEquals(id(d), d1id)
-
- self.assertEquals(c, 1)
- self.assertEquals(d.item.ID, i.ID)
- self.assertEquals(d.amount, 5)
- self.assertEquals(d.amountActive, 3)
-
- c = 0
- for d in f.projectedDrones:
- c += 1
- self.assertNotEquals(id(d2), id(d))
-
- self.assertEquals(c, 1)
- self.assertEquals(d.item.ID, i.ID)
- self.assertEquals(d.amount, 3)
- except:
- db.saveddata_session.rollback()
- raise
- finally:
- #Undo our hack as to not fuck up anything
- eos.db.saveddata.queries.saveddata_session = oldSession
-
- def test_copy(self):
- d = Drone(db.getItem("Hobgoblin I"))
- d.amount = 3
- d.amountActive = 1
-
- c = deepcopy(d)
- self.assertNotEquals(id(d), id(c))
- self.assertEquals(d.item, c.item)
- self.assertEquals(d.amount, c.amount)
- self.assertEquals(d.amountActive, c.amountActive)
-
- def test_dps(self):
- d = Drone(db.getItem("Hobgoblin I"))
- d.amount = 3
- d.amountActive = 1
-
- self.assertEquals(d.dps, 6)
diff --git a/eos/tests/saveddata/testFilteredModifiers.py b/eos/tests/saveddata/testFilteredModifiers.py
deleted file mode 100755
index dcc3dc3d6..000000000
--- a/eos/tests/saveddata/testFilteredModifiers.py
+++ /dev/null
@@ -1,65 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.f = Fit()
- self.i1 = db.getItem("Cyclops")
- self.i2 = db.getItem("Cyclops")
- self.charge = db.getItem("Compact Purgatory Torpedo I")
- self.f.drones.appendItem(self.i1, 1)
- self.f.drones.appendItem(self.i2, 1)
-
- def test_filteredItemIncrease(self):
- self.f.drones.filteredItemIncrease(lambda d: d.item.ID == self.i1.ID, "hp", 5)
- for d in self.f.drones:
- if d.item.ID == self.i1.ID:
- self.assertEquals(d.itemModifiedAttributes["hp"], self.i1.getAttribute("hp") + 5)
- else:
- self.assertEquals(d.itemModifiedAttributes["hp"], self.i2.getAttribute("hp"))
-
-
- def test_filteredItemMultiply(self):
- self.f.drones.filteredItemMultiply(lambda d: d.item.ID == self.i1.ID, "hp", 5)
- for d in self.f.drones:
- if d.item.ID == self.i1.ID:
- self.assertEquals(d.itemModifiedAttributes["hp"], self.i1.getAttribute("hp") * 5)
- else:
- self.assertEquals(d.itemModifiedAttributes["hp"], self.i2.getAttribute("hp"))
-
-
- def test_filteredItemBoost(self):
- self.f.drones.filteredItemBoost(lambda d: d.item.ID == self.i1.ID, "hp", 5)
- for d in self.f.drones:
- if d.item.ID == self.i1.ID:
- self.assertEquals(d.itemModifiedAttributes["hp"], self.i1.getAttribute("hp") * 1.05)
- else:
- self.assertEquals(d.itemModifiedAttributes["hp"], self.i2.getAttribute("hp"))
-
- def test_filteredChargeIncrease(self):
- self.f.drones.filteredChargeIncrease(lambda d: d.item.ID == self.i1.ID, "hp", 5)
- for d in self.f.drones:
- if d.item.ID == self.i1.ID:
- self.assertEquals(d.chargeModifiedAttributes["hp"], self.charge.getAttribute("hp") + 5)
- else:
- self.assertEquals(d.chargeModifiedAttributes["hp"], self.charge.getAttribute("hp"))
-
-
- def test_filteredChargeMultiply(self):
- self.f.drones.filteredChargeMultiply(lambda d: d.item.ID == self.i1.ID, "hp", 5)
- for d in self.f.drones:
- if d.item.ID == self.i1.ID:
- self.assertEquals(d.chargeModifiedAttributes["hp"], self.charge.getAttribute("hp") * 5)
- else:
- self.assertEquals(d.chargeModifiedAttributes["hp"], self.charge.getAttribute("hp"))
-
-
- def test_filteredChargeBoost(self):
- self.f.drones.filteredChargeBoost(lambda d: d.item.ID == self.i1.ID, "hp", 5)
- for d in self.f.drones:
- if d.item.ID == self.i1.ID:
- self.assertEquals(d.chargeModifiedAttributes["hp"], self.charge.getAttribute("hp") * 1.05)
- else:
- self.assertEquals(d.chargeModifiedAttributes["hp"], self.charge.getAttribute("hp"))
diff --git a/eos/tests/saveddata/testFit.py b/eos/tests/saveddata/testFit.py
deleted file mode 100755
index 7c3e68048..000000000
--- a/eos/tests/saveddata/testFit.py
+++ /dev/null
@@ -1,467 +0,0 @@
-from eos.tests import TestBase
-from eos.types import Fit, Character, Slot, Module, Ship, User, State, Drone, Implant, Booster, Hardpoint, DamagePattern
-from eos import db
-import eos.db.saveddata.queries
-import sqlalchemy.orm
-from copy import deepcopy
-from itertools import count
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.m = Module(db.getItem("Heat Sink I"))
-
- def test_tankNumbers(self):
- f = Fit()
- f.ship = Ship(db.getItem("Erebus"))
- f.modules.append(Module(db.getItem("Small Shield Booster II")))
- f.modules.append(Module(db.getItem("Small Armor Repairer II")))
- f.modules.append(Module(db.getItem("Small Hull Repairer II")))
- f.modules.append(Module(db.getItem("Damage Control II")))
- f.damagePattern = DamagePattern(25, 25, 25, 25)
- for m in f.modules:
- m.state = State.ACTIVE
- f.calculateModifiedAttributes()
-
- self.assertEquals(len(f.effectiveTank), len(f.tank))
- for k in f.effectiveTank.iterkeys():
- self.assertGreater(f.effectiveTank[k], f.tank[k])
-
- self.assertEquals(len(f.effectiveSustainableTank), len(f.sustainableTank))
- for k in f.effectiveSustainableTank.iterkeys():
- self.assertGreater(f.effectiveSustainableTank[k], f.sustainableTank[k])
-
- def test_addDrain(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.addDrain(5, 500, 0)
- self.assertEquals(f.capUsed, 100000)
-
- def test_setCharacter(self):
- f = Fit()
- f.character = Character("Testety")
-
- def test_addNotAModule(self):
- try:
- self.f.addModule(1302)
- except:
- return
- self.fail("Added an invalid module, was expecting a ValueError")
-
- def test_addValidModule(self):
- f = Fit()
- f.modules.append(self.m)
-
- def test_importEft(self):
- f = Fit.importEft('''[Rifter, Test]
- Salvager I
- Hobgoblin I x4''')
-
- self.assertEquals(f.name, "Test")
- self.assertEquals(f.ship.item.name, "Rifter")
- self.assertEquals(f.modules[0].item.name, "Salvager I")
- self.assertEquals(f.drones[0].amount, 4)
- self.assertEquals(f.drones[0].item.name, "Hobgoblin I")
-
- def test_importXml(self):
- fits = Fit.importXml('''
-
-
-
-
-
-
- ''')
-
- f = fits[0]
- self.assertEquals(f.name, "Test")
- self.assertEquals(f.ship.item.name, "Rifter")
- self.assertEquals(f.modules[0].item.name, "Salvager II")
-
- def test_removeModuleNotExists(self):
- f = Fit()
- self.assertRaises(ValueError, f.modules.remove, self.m)
-
- def test_removeModuleExists(self):
- f = Fit()
- f.modules.append(self.m)
- f.modules.remove(self.m)
-
- def test_removeInvalidModule(self):
- f = Fit()
- self.assertRaises(ValueError, f.modules.remove, 1302)
-
- def test_setShip(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
-
- def test_extraAttributesClear(self):
- f = Fit()
- f.extraAttributes["cloaked"] = True
- f.clear()
- self.assertEqual(f.extraAttributes["cloaked"], False)
-
- def test_databaseConsistency(self):
- oldSession = db.saveddata_session
- oldSession.commit()
- try:
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.name = "test fit 1"
- u = User("fittest", "testy", False)
- f.owner = u
-
- f2 = Fit()
- f2.ship = Ship(db.getItem("Thrasher"))
- f2.name = "test fit 2"
- f2.owner = u
- db.saveddata_session.add(f)
- db.saveddata_session.add(f2)
- db.saveddata_session.flush()
-
- f.projectedFits.append(f2)
-
- #Hack our way through changing the session temporarly
- oldSession = eos.db.saveddata.queries.saveddata_session
- eos.db.saveddata.queries.saveddata_session = sqlalchemy.orm.sessionmaker(bind=db.saveddata_engine)()
-
- newf = db.getFit(f.ID)
-
- self.assertNotEquals(id(newf), id(f))
- self.assertEquals(f.name, newf.name)
- for fit in newf.projectedFits:
- self.assertNotEqual(id(fit), id(f2))
- self.assertEquals(f2.name, fit.name)
-
-
-
- except:
- db.saveddata_session.rollback()
- raise
- finally:
- #Undo our hack as to not fuck up anything
- eos.db.saveddata.queries.saveddata_session = oldSession
-
- def test_projectedFit(self):
- f1 = Fit()
- f1.ship = Ship(db.getItem("Rifter"))
- f2 = Fit()
- m1 = Module(db.getItem("Stasis Webifier I"))
- m2 = Module(db.getItem("Stasis Webifier I"))
- m1.state = State.ACTIVE
- m2.state = State.ACTIVE
- f2.modules.append(m1)
- f2.modules.append(m2)
- f1.projectedFits.append(f2)
- f1.calculateModifiedAttributes()
- self.assertAlmostEquals(99.800, f1.ship.getModifiedItemAttr("maxVelocity"), 3)
-
- def test_projectSelf(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- m1 = Module(db.getItem("Stasis Webifier I"))
- m2 = Module(db.getItem("Stasis Webifier I"))
- m1.state = State.ACTIVE
- m2.state = State.ACTIVE
- f.modules.append(m1)
- f.modules.append(m2)
- f.projectedFits.append(f)
- f.calculateModifiedAttributes()
- self.assertAlmostEquals(99.800, f.ship.getModifiedItemAttr("maxVelocity"), 3)
-
- def test_capacitorNoMods(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- self.assertEquals(f.capStable, True)
- self.assertAlmostEquals(f.capState, 100, 1)
-
- def test_capacitorUnstable(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- m = Module(db.getItem("100MN Afterburner I"))
- m.state = State.ACTIVE
- f.modules.append(m)
- self.assertFalse(f.capStable)
- self.assertTrue(f.capState < 15)
-
- def test_capacitorSingleCycleKill(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- for _ in xrange(5):
- m = Module(db.getItem("100MN Afterburner I"))
- m.state = State.ACTIVE
- f.modules.append(m)
-
- self.assertFalse(f.capStable)
- self.assertEquals(f.capState, 0)
-
- def test_copy(self):
- f = Fit()
- f.name = "Testety"
- f.character = Character("TEST")
- f.owner = User("moo")
- testm = Module(db.getItem("Heat Sink I"))
- f.modules.append(testm)
- tests = Ship(db.getItem("Rifter"))
-
- f.ship = tests
-
- testpm = Module(db.getItem("Stasis Webifier I"))
- f.projectedModules.append(testpm)
-
- testd = Drone(db.getItem("Hobgoblin I"))
- f.drones.append(testd)
-
- testi = Implant(db.getItem("Halo Omega"))
- f.implants.append(testi)
-
- testb = Booster(db.getItem("Strong Drop Booster"))
- f.boosters.append(testb)
-
- testpd = Drone(db.getItem("Warrior TP-300"))
- f.projectedDrones.append(testpd)
-
- testpf = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.name = "Projected"
- f.projectedFits.append(testpf)
-
- newf = deepcopy(f)
- self.assertEquals(newf.name, "%s copy" % f.name)
- self.assertEquals(newf.character, f.character)
- self.assertEquals(newf.owner, f.owner)
-
- newm = newf.modules[0]
- self.assertNotEquals(id(newm), id(testm))
- self.assertEquals(len(newf.modules), len(f.modules))
-
- newpm = newf.projectedModules[0]
- self.assertNotEquals(id(newpm), id(testpm))
- self.assertEquals(len(newf.projectedModules), len(f.projectedModules))
-
- newd = newf.drones[0]
- self.assertNotEquals(id(newd), id(testd))
- self.assertEquals(len(newf.drones), len(f.drones))
-
- newb = newf.boosters[0]
- self.assertNotEquals(id(newb), id(testb))
- self.assertEquals(len(newf.boosters), len(f.boosters))
-
- newi = newf.implants[0]
- self.assertNotEquals(id(newi), id(testi))
- self.assertEquals(len(newf.implants), len(f.implants))
-
- newpd = newf.projectedDrones[0]
- self.assertNotEquals(id(newpd), id(testpd))
- self.assertEquals(len(newf.projectedDrones), len(f.projectedDrones))
-
- newpm = newf.projectedModules[0]
- self.assertNotEquals(id(newpm), id(testpm))
- self.assertEquals(len(newf.projectedModules), len(f.projectedModules))
-
- newpf = newf.projectedFits[0]
- self.assertEquals(id(newpf), id(testpf))
- self.assertEquals(len(newf.projectedFits), len(f.projectedFits))
-
- def test_repperSustainability(self):
- f = Fit()
- f.ship = Ship(db.getItem("Raven"))
- m = Module(db.getItem("Small Shield Booster I"))
- m.state = State.ACTIVE
- f.modules.append(m)
- f.calculateModifiedAttributes()
- s = f.calculateSustainableTank()
- self.assertEquals(s["armorRepair"], f.extraAttributes["armorRepair"])
-
- def test_zeroSustainable(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- for i in count(1):
- if i == 5: break
- m = Module(db.getItem("Heavy Energy Neutralizer I"))
- m.state = State.ACTIVE
- f.modules.append(m)
-
- m = Module(db.getItem("Small Shield Booster I"))
- m.state = State.ACTIVE
- f.modules.append(m)
- f.calculateModifiedAttributes()
- s = f.calculateSustainableTank()
- self.assertEquals(s["armorRepair"], 0)
-
- def test_sustainabilityConsistency(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- for i in count(1):
- if i == 3: break
- m = Module(db.getItem("Small Shield Booster I"))
- m.state = State.ACTIVE
- f.modules.append(m)
-
- f.calculateModifiedAttributes()
- s = f.sustainableTank
- self.assertAlmostEquals(s["shieldRepair"], 3.8, 1)
-
- def test_capCalcs(self):
- f = Fit()
- f.ship = Ship(db.getItem("Reaper"))
- f.ship.itemModifiedAttributes["capacitorCapacity"] = 125.0
- f.ship.itemModifiedAttributes["rechargeRate"] = 93250
- m = Module(db.getItem("Small Shield Booster I"))
- m.state = State.ACTIVE
- f.modules.append(m)
- self.assertAlmostEquals(f.capState, 14.0, 1)
-
- def test_weaponDPS(self):
- f = Fit()
- m = Module(db.getItem("Heavy Modulated Energy Beam I"))
- m.state = State.ACTIVE
- m.charge = db.getItem("Multifrequency M")
- f.modules.append(m)
- expected = 0
- for type in ("emDamage", "thermalDamage", "kineticDamage", "explosiveDamage"):
- expected += m.getModifiedChargeAttr(type)
-
- expected *= m.getModifiedItemAttr("damageMultiplier") / (m.getModifiedItemAttr("speed") / 1000.0)
- self.assertAlmostEquals(f.weaponDPS, expected)
-
- def test_weaponVolley(self):
- f = Fit()
- m = Module(db.getItem("Heavy Modulated Energy Beam I"))
- m.state = State.ACTIVE
- m.charge = db.getItem("Multifrequency M")
- f.modules.append(m)
- expected = 0
- for type in ("emDamage", "thermalDamage", "kineticDamage", "explosiveDamage"):
- expected += m.getModifiedChargeAttr(type)
-
- expected *= m.getModifiedItemAttr("damageMultiplier")
- self.assertAlmostEquals(f.weaponVolley, expected)
-
- def test_droneDPS(self):
- f = Fit()
- d = Drone(db.getItem("Hammerhead II"))
- d.active = True
- d.amount = 3
- d.amountActive = 3
- f.drones.append(d)
- expected = 0
- for type in ("emDamage", "thermalDamage", "kineticDamage", "explosiveDamage"):
- expected += d.getModifiedItemAttr(type)
-
- expected *= d.getModifiedItemAttr("damageMultiplier") / (d.getModifiedItemAttr("speed") / 1000.0)
- self.assertAlmostEquals(f.droneDPS, expected * 3)
-
- def test_missileDroneDPS(self):
- f = Fit()
- d = Drone(db.getItem("Cyclops"))
- d.active = True
- d.amount = 2
- d.amountActive = 2
- f.drones.append(d)
- expected = 0
- for type in ("emDamage", "thermalDamage", "kineticDamage", "explosiveDamage"):
- expected += d.getModifiedChargeAttr(type)
-
- expected /= d.getModifiedItemAttr("missileLaunchDuration") / 1000.0
- self.assertAlmostEquals(f.droneDPS, expected * 2)
-
- def test_hardpointCount(self):
- f = Fit()
- f.modules.append(Module(db.getItem("Heavy Modulated Energy Beam I")))
- f.modules.append(Module(db.getItem("Standard Missile Launcher I")))
- f.modules.append(Module(db.getItem("Salvager I")))
- self.assertEquals(f.getHardpointsUsed(Hardpoint.MISSILE), 1)
- self.assertEquals(f.getHardpointsUsed(Hardpoint.TURRET), 1)
-
- def test_fill(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.fill()
- self.assertEquals(len(f.modules), 13)
-
- def test_fillT3(self):
- f = Fit()
- f.ship = Ship(db.getItem("Tengu"))
- f.modules.append(Module(db.getItem("Tengu Defensive - Adaptive Shielding")))
- f.clear()
- f.calculateModifiedAttributes()
- f.fill()
- self.assertEquals(len(f.modules), 10)
-
- def test_fillTooMuchDummies(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- for _ in xrange(5):
- f.modules.append(Module.buildEmpty(Slot.LOW))
-
- f.fill()
- self.assertEquals(len(f.modules), 13)
-
- def test_fillOrdering(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.fill()
- for i, mod in enumerate(f.modules):
- self.assertEquals(i, mod.position)
-
- def test_getSlotsUsed(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.modules.append(Module(db.getItem("Salvager I")))
- f.fill()
- self.assertEquals(f.getSlotsUsed(Slot.HIGH), 1)
-
- def test_getCalibrationUsed(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.modules.append(Module(db.getItem("Large Trimark Armor Pump I")))
- self.assertEquals(f.calibrationUsed, 50)
-
- def test_pgUsed(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.modules.append(Module(db.getItem("Salvager I")))
- self.assertEquals(f.pgUsed, 1)
-
- def test_cpuUsed(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.modules.append(Module(db.getItem("Salvager I")))
- self.assertEquals(f.cpuUsed, 20)
-
- def test_droneBandwidthUsed(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- d = Drone(db.getItem("Hobgoblin I"))
- d.amount = 1
- d.amountActive = 1
- f.drones.append(d)
- self.assertEquals(f.droneBandwidthUsed, 5)
-
- def test_droneBayUsed(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.drones.appendItem(db.getItem("Hobgoblin I"))
- self.assertEquals(f.droneBayUsed, 5)
-
- def test_addRemoveFit(self):
- f = Fit()
- rifter = db.getItem("Rifter")
- f.ship = Ship(rifter)
- f.fill()
- db.saveddata_session.add(f)
- db.saveddata_session.flush()
- db.saveddata_session.delete(f)
- db.saveddata_session.flush()
-
- def test_removeDrone(self):
- f = Fit()
- gob = db.getItem("Hobgoblin I")
- f.drones.appendItem(gob)
- f.drones.removeItem(gob, 1)
-
- def test_scanStr(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- self.assertEquals("Ladar", f.scanType)
diff --git a/eos/tests/saveddata/testFleet.py b/eos/tests/saveddata/testFleet.py
deleted file mode 100755
index a961a9328..000000000
--- a/eos/tests/saveddata/testFleet.py
+++ /dev/null
@@ -1,75 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fleet, Wing, Squad, Ship, Fit, Module, Character
-import copy
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- g = Fleet()
- w = Wing()
- s = Squad()
- self.g = g
- self.s = s
- self.w = w
- g.wings.append(w)
- w.squads.append(s)
- f = Fit()
- self.s.members.append(f)
- self.s.members.append(Fit())
- self.s.leader = f
- f.ship = Ship(db.getItem("Rifter"))
- f.character = Character("testety")
- f.character.getSkill("Leadership").level = 5
-
- def test_copy(self):
- c = copy.deepcopy(self.g)
- self.assertNotEquals(id(c), id(self.g))
- self.assertEquals(len(c.wings), 1)
- wing = c.wings[0]
- self.assertNotEquals(id(wing), id(self.w))
- self.assertEquals(len(wing.squads), 1)
- squad = wing.squads[0]
- self.assertNotEquals(id(squad), id(self.s))
- self.assertEquals(len(squad.members), 2)
-
- def test_skillGang(self):
- self.s.leader.character.getSkill("Leadership").level = 5
- self.g.calculateModifiedAttributes()
- new = self.s.leader.ship.getModifiedItemAttr("scanResolution")
- expected = self.s.leader.ship.item.getAttribute("scanResolution") * 1.1
- self.assertEquals(expected, new)
-
- def test_gangModGang(self):
- self.s.leader.modules.append(Module(db.getItem("Siege Warfare Link - Shield Harmonizing")))
- self.g.calculateModifiedAttributes()
- expected = self.s.leader.ship.item.getAttribute("shieldKineticDamageResonance") * 0.98
- new = self.s.leader.ship.getModifiedItemAttr("shieldKineticDamageResonance")
- self.assertEquals(expected, new)
-
- def test_shipGang(self):
- self.s.leader.character.getSkill("Gallente Titan").level = 1
- self.s.leader.ship = Ship(db.getItem("Erebus"))
- self.g.calculateModifiedAttributes()
- new = self.s.leader.ship.getModifiedItemAttr("armorHP")
- expected = self.s.leader.ship.item.getAttribute("armorHP") * 1.075
- self.assertEquals(expected, new)
-
- def test_onlyFC(self):
- self.g.leader = Fit()
- self.g.leader.ship = Ship(db.getItem("Rifter"))
- self.g.leader.character = Character("tootoot")
- self.g.leader.character.getSkill("Leadership").level = 5
- self.g.calculateModifiedAttributes()
- self.assertEquals(self.g.leader.ship.item.getAttribute("scanResolution"), self.g.leader.ship.getModifiedItemAttr("scanResolution"))
- self.assertEquals(self.s.leader.ship.item.getAttribute("scanResolution") * 1.1, self.s.leader.ship.getModifiedItemAttr("scanResolution"))
-
- def test_onlyWC(self):
- self.w.leader = Fit()
- self.w.leader.ship = Ship(db.getItem("Rifter"))
- self.w.leader.character = Character("tootoot")
- self.w.leader.character.getSkill("Leadership").level = 5
- self.w.leader.character.getSkill("Wing Command").level = 5
- self.g.calculateModifiedAttributes()
- self.assertEquals(self.s.leader.ship.item.getAttribute("scanResolution") * 1.1, self.s.leader.ship.getModifiedItemAttr("scanResolution"))
- self.assertEquals(self.w.leader.ship.item.getAttribute("scanResolution") * 1.1, self.w.leader.ship.getModifiedItemAttr("scanResolution"))
diff --git a/eos/tests/saveddata/testImplant.py b/eos/tests/saveddata/testImplant.py
deleted file mode 100755
index d8c3db44d..000000000
--- a/eos/tests/saveddata/testImplant.py
+++ /dev/null
@@ -1,91 +0,0 @@
-from eos.tests import TestBase
-from eos.types import Implant, Fit, User, Ship
-from eos import db
-import eos.db.saveddata.queries
-import sqlalchemy.orm
-from copy import deepcopy
-
-class Test(TestBase):
- def test_invalidImplant(self):
- try:
- Implant(db.getItem("Gamma L"))
- except ValueError:
- return
- self.fail("Was expected a ValueError when setting Gamma L as implant, didn't get it")
-
- def test_clear(self):
- i = Implant(db.getItem("Halo Omega"))
- orig = i.getModifiedItemAttr("memoryBonus")
-
- i.itemModifiedAttributes["memoryBonus"] = 5
- i.clear()
- self.assertEquals(i.getModifiedItemAttr("memoryBonus"), orig)
-
- def test_validImplant(self):
- i = Implant(db.getItem("Halo Omega"))
- self.assertEquals(i.slot, 6)
-
- def test_databaseConsistency(self):
- oldSession = db.saveddata_session
- oldSession.commit()
- try:
- f = Fit()
- f.owner = User("implanttest", "testy", False)
- f.ship = Ship(db.getItem("Rifter"))
- implant = Implant(db.getItem("Halo Omega"))
- f.implants.append(implant)
- implant.active = False
- db.saveddata_session.add(f)
- db.saveddata_session.add(implant)
- db.saveddata_session.flush()
-
- #Hack our way through changing the session temporarly
- oldSession = eos.db.saveddata.queries.saveddata_session
- eos.db.saveddata.queries.saveddata_session = sqlalchemy.orm.sessionmaker(bind=db.saveddata_engine)()
-
- newfit = db.getFit(f.ID)
- i = 0
- for imp in newfit.implants:
- newimplant = imp
- i += 1
-
- self.assertFalse(implant.active)
- self.assertEquals(i, 1)
- self.assertNotEquals(id(f), id(newfit))
- self.assertNotEquals(id(implant), id(newimplant))
- self.assertEquals(implant.item.ID, newimplant.item.ID)
-
- except:
- db.saveddata_session.rollback()
- raise
- finally:
- #Undo our hack as to not fuck up anything
- eos.db.saveddata.queries.saveddata_session = oldSession
-
- def test_copy(self):
- i = Implant(db.getItem("Halo Omega"))
- i.active = False
-
- c = deepcopy(i)
- self.assertNotAlmostEqual(id(i), id(c))
- self.assertEquals(i.item, c.item)
- self.assertEquals(i.active, c.active)
-
- def test_duplicateImplant(self):
- f = Fit()
-
- f.implants.append(Implant(db.getItem("Halo Omega")))
- try:
- f.implants.append(Implant(db.getItem("Halo Omega")))
- except ValueError:
- return
-
- self.fail("Expected ValueError, didn't get it")
-
- def test_freeSlot(self):
- f = Fit()
- i = Implant(db.getItem("Halo Omega"))
- f.implants.append(i)
- self.assertEquals(len(f.implants), 1)
- f.implants.freeSlot(i)
- self.assertEquals(len(f.implants), 0)
diff --git a/eos/tests/saveddata/testModule.py b/eos/tests/saveddata/testModule.py
deleted file mode 100755
index da9e28f30..000000000
--- a/eos/tests/saveddata/testModule.py
+++ /dev/null
@@ -1,246 +0,0 @@
-from eos.tests import TestBase
-from eos.types import Module, Fit, User, State, Ship, Slot, Hardpoint
-from eos import db
-import eos.db.saveddata.queries
-import sqlalchemy.orm
-from copy import deepcopy
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.i = db.getItem("Heat Sink I")
- self.m = Module(self.i)
-
- def test_clear(self):
- m = Module(db.getItem("125mm Gatling AutoCannon I"))
- m.charge = db.getItem("Phased Plasma S")
- orig = m.getModifiedItemAttr("trackingSpeed")
- chargeOrig = m.getModifiedChargeAttr("explosiveDamage")
- m.itemModifiedAttributes["trackingSpeed"] = 5
- m.chargeModifiedAttributes["explosiveDamage"] = 10
- m.clear()
- self.assertEquals(m.getModifiedItemAttr("trackingSpeed"), orig)
- self.assertEquals(m.getModifiedChargeAttr("explosiveDamage"), chargeOrig)
-
- def test_setItem(self):
- self.assertEquals(self.m.itemID, self.i.ID)
-
- def test_setPassiveActive(self):
- self.assertFalse(self.m.isValidState(State.ACTIVE))
-
- def test_setPassiveOverload(self):
- self.assertFalse(self.m.isValidState(State.OVERHEATED))
-
- def test_setActiveOverloadWhenGood(self):
- m = Module(db.getItem("Heavy Modulated Energy Beam I"))
- m.state = State.ACTIVE
- m.state = State.OVERHEATED
-
- def test_setWrongAmmoType(self):
- m = Module(db.getItem("125mm Gatling AutoCannon I"))
- self.assertFalse(m.isValidCharge(db.getItem("Gamma L")))
-
- def test_setWrongAmmoSize(self):
- m = Module(db.getItem("Dual Light Pulse Laser I"))
- self.assertFalse(m.isValidCharge(db.getItem("Gamma M")))
-
- def test_setWrongAmmoSubGroup(self):
- m = Module(db.getItem("Dual Light Pulse Laser I"))
- self.assertFalse(m.isValidCharge(db.getItem("Scorch S")))
-
- def test_setCorrectAmmo(self):
- i = db.getItem("Dual Light Pulse Laser I")
- m = Module(i)
- a = db.getItem("Gamma S")
- self.assertTrue(m.isValidCharge(a))
- m.charge = a
- self.assertEquals(m.numCharges, 1)
- self.assertEquals(m.itemID, i.ID)
- self.assertEquals(m.chargeID, a.ID)
-
- def test_slotRig(self):
- m = Module(db.getItem("Large Capacitor Control Circuit I"))
- self.assertEquals(Slot.RIG, m.slot)
-
- def test_slotSubsystem(self):
- m = Module(db.getItem("Tengu Offensive - Magnetic Infusion Basin"))
- self.assertEquals(Slot.SUBSYSTEM, m.slot)
-
- def test_slotHigh(self):
- m = Module(db.getItem("Salvager I"))
- self.assertEquals(Slot.HIGH, m.slot)
-
- def test_slotMed(self):
- m = Module(db.getItem("Cap Recharger I"))
- self.assertEquals(Slot.MED, m.slot)
-
- def test_slotLow(self):
- m = Module(db.getItem("Heat Sink I"))
- self.assertEquals(Slot.LOW, m.slot)
-
- def test_hardpointTurret(self):
- m = Module(db.getItem("Dual Light Pulse Laser I"))
- self.assertEquals(m.hardpoint, Hardpoint.TURRET)
-
- def test_hardpointMissile(self):
- m = Module(db.getItem("Standard Missile Launcher I"))
- self.assertEquals(m.hardpoint, Hardpoint.MISSILE)
-
- def test_hardpointNone(self):
- m = Module(db.getItem("Salvager I"))
- self.assertEquals(m.hardpoint, Hardpoint.NONE)
-
- def test_databaseConsistency(self):
- oldSession = db.saveddata_session
- oldSession.commit()
- try:
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.owner = User("moduletest", "testy", False)
-
- item = db.getItem("Dual Light Pulse Laser I")
- item2 = db.getItem("Stasis Webifier I")
- projMod = Module(item2)
- charge = db.getItem("Gamma S")
- mod = Module(item)
- emptyDummy = Module.buildEmpty(Slot.LOW)
- f.modules.append(emptyDummy)
- posMod1 = Module(item)
- posMod2 = Module(item)
- posMod3 = Module(item)
- posMods = [posMod1, posMod2, posMod3]
- for m in posMods:
- f.modules.append(m)
-
- mod.charge = charge
- f.modules.append(mod)
- f.projectedModules.append(projMod)
- db.saveddata_session.add(f)
- db.saveddata_session.flush()
-
- for m in posMods:
- f.modules.remove(m)
-
- posMods.reverse()
- for m in posMods:
- f.modules.append(m)
-
- db.saveddata_session.flush()
-
- #Hack our way through changing the session temporarly
- oldSession = eos.db.saveddata.queries.saveddata_session
- eos.db.saveddata.queries.saveddata_session = sqlalchemy.orm.sessionmaker(bind=db.saveddata_engine)()
-
- newf = db.getFit(f.ID)
- self.assertNotEquals(id(newf), id(f))
-
- newmod = newf.modules[1]
- newprojMod = newf.projectedModules[0]
- newdummy = newf.modules[0]
-
- i = 0
- while i < len(newf.modules):
- if i <= 1:
- i += 1
- continue
- else:
- self.assertEquals(newf.modules[i].ID, posMods[i-2].ID)
- i += 1
-
- self.assertEquals(newprojMod.item.name, "Stasis Webifier I")
- self.assertNotEquals(id(newprojMod), id(projMod))
- self.assertNotEquals(id(newmod), id(mod))
- self.assertEquals(mod.state, newmod.state)
- self.assertEquals(mod.charge.ID, newmod.charge.ID)
- self.assertEquals(mod.item.ID, newmod.item.ID)
-
- self.assertEquals(newdummy.slot, emptyDummy.slot)
- except:
- db.saveddata_session.rollback()
- raise
- finally:
- #Undo our hack as to not fuck up anything
- eos.db.saveddata.queries.saveddata_session = oldSession
-
- def test_copy(self):
- m = Module(db.getItem("Dual Light Pulse Laser I"))
- m.charge = db.getItem("Gamma S")
- m.state = State.OFFLINE
-
- c = deepcopy(m)
-
- self.assertNotEquals(id(m), id(c))
- self.assertEquals(m.item, c.item)
- self.assertEquals(m.charge, c.charge)
- self.assertEquals(m.state, c.state)
-
- def test_maxRange(self):
- m = Module(db.getItem("Remote ECM Burst I"))
- self.assertEquals(m.maxRange, m.getModifiedItemAttr("maxRange"))
-
- m2 = Module(db.getItem("ECM Burst I"))
- self.assertEquals(m2.maxRange, m2.getModifiedItemAttr("ecmBurstRange"))
-
- m3 = Module(db.getItem("Standard Missile Launcher I"))
- m3.charge = db.getItem("Bloodclaw Light Missile")
- self.assertEquals(m3.maxRange, 17437.5)
-
- def test_buildDummy(self):
- m = Module.buildEmpty(Slot.LOW)
- self.assertEquals(m.slot, Slot.LOW)
- self.assertEqual(m.hardpoint, Hardpoint.NONE)
-
- def test_fitsShipRestriction(self):
- f = Fit()
- m = Module(db.getItem("Judgement"))
- f.ship = Ship(db.getItem("Rifter"))
- self.assertFalse(m.fits(f))
-
- def test_fitsSlotsFull(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- for _ in xrange(8):
- f.modules.append(Module(db.getItem("Salvager I")))
-
- self.assertFalse(Module(db.getItem("Salvager I")).fits(f))
-
- def test_fits(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- self.assertTrue(Module(db.getItem("Salvager I")).fits(f))
-
- def test_dummyCalc(self):
- m = Module.buildEmpty(Slot.LOW)
- m.calculateModifiedAttributes(Fit(), "normal")
-
- def test_fits_maxGroupFitted(self):
- f = Fit()
- f.modules.append(Module(db.getItem("Salvager I")))
- m = Module(db.getItem("Damage Control II"))
- f.ship = Ship(db.getItem("Rifter"))
- f.fill()
- self.assertTrue(m.fits(f))
-
- def test_canHaveState(self):
- f = Fit()
- ab = Module(db.getItem("1MN Afterburner II"))
- ab.state = State.ACTIVE
- mwd = Module(db.getItem("1MN MicroWarpdrive II"))
- mwd.state = State.ACTIVE
- salv = Module(db.getItem("Salvager I"))
- salv.state = State.ACTIVE
- f.modules.append(salv)
- f.modules.append(ab)
- f.modules.append(mwd)
- self.assertFalse(ab.canHaveState(State.ACTIVE))
- self.assertFalse(mwd.canHaveState(State.ACTIVE))
- self.assertTrue(salv.canHaveState(State.ACTIVE))
-
- def test_numShots(self):
- laser = Module(db.getItem("Dual Giga Pulse Laser I"))
- laser.charge = db.getItem("Multifrequency XL")
- arty = Module(db.getItem("1200mm Artillery Cannon I"))
- arty.charge = db.getItem("Phased Plasma L")
- self.assertEquals(laser.numShots, 0)
- self.assertGreater(arty.numShots, 0)
-
diff --git a/eos/tests/saveddata/testPrice.py b/eos/tests/saveddata/testPrice.py
deleted file mode 100755
index cff0ebe97..000000000
--- a/eos/tests/saveddata/testPrice.py
+++ /dev/null
@@ -1,18 +0,0 @@
-from eos.tests import TestBase
-from eos.types import Price
-import time
-
-class Test(TestBase):
- def test_valid(self):
- p = Price(1)
- p.time = time.time() - Price.VALIDITY + 1000
- self.assertTrue(p.isValid)
-
- def test_invalid(self):
- p = Price(1)
- p.time = time.time() - Price.VALIDITY - 1000
- self.assertFalse(p.isValid)
-
- def test_newObjectInvalid(self):
- p = Price(1)
- self.assertFalse(p.isValid)
diff --git a/eos/tests/saveddata/testSavedDataQueries.py b/eos/tests/saveddata/testSavedDataQueries.py
deleted file mode 100755
index b9b869b38..000000000
--- a/eos/tests/saveddata/testSavedDataQueries.py
+++ /dev/null
@@ -1,59 +0,0 @@
-from eos.tests import TestBase
-from eos.types import Fit, Character, User, Ship
-from eos import db
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- #Add some test data
- u = User("test", "testy", False)
- c = Character("TESTY")
- c.owner = u
- db.saveddata_session.add(u)
- db.saveddata_session.add(c)
- db.saveddata_session.commit()
- db.saveddata_session.flush()
-
- def test_1getCharacter(self):
- c = db.getCharacter("TESTY")
- self.assertEquals(c.name, "TESTY")
- self.assertEquals(c.owner.username, "test")
-
- def test_2getUser(self):
- u = db.getUser("test")
- self.assertEquals(u.username, "test")
- self.assertEqual(len(u.characters), 1)
-
- def test_3addCharacter(self):
- u = db.getUser("test")
- cc = Character("Testo")
- cc.owner = u
- for char in u.characters:
- if char == cc: return
-
- self.fail("Didn't find the character we just made")
-
- def test_4addFit(self):
- u = db.getUser("test")
- f = Fit()
- f.owner = u
- f.shipID = 1 #Set a crap ID so the tests don't fail due to flushing not working due to the not null restriction
- for fit in u.fits:
- if fit == f:
- return
-
- self.fail("Didn't find the fit we just made")
-
- def test_5getFitByShipID(self):
- db.saveddata_session.flush()
- l = db.getFitsWithShip(1)
- self.assertEquals(len(l), 1)
-
- def test_5searchFits(self):
- f = Fit()
- f.ship = Ship(db.getItem("Rifter"))
- f.owner = db.getUser("test")
- f.name = "testety5"
- db.saveddata_session.add(f)
- db.saveddata_session.flush()
- self.assertEquals(len(db.searchFits("testety5")), 1)
diff --git a/eos/tests/saveddata/testShip.py b/eos/tests/saveddata/testShip.py
deleted file mode 100755
index 4e74cbe32..000000000
--- a/eos/tests/saveddata/testShip.py
+++ /dev/null
@@ -1,19 +0,0 @@
-from eos.tests import TestBase
-from eos.types import Ship
-from eos import db
-from copy import deepcopy
-
-class Test(TestBase):
- def test_clear(self):
- s = Ship(db.getItem("Rifter"))
- orig = s.getModifiedItemAttr("hp")
- s.itemModifiedAttributes["hp"] = 5
- s.clear()
- self.assertEqual(s.getModifiedItemAttr("hp"), orig)
-
- def test_copy(self):
- s = Ship(db.getItem("Rifter"))
- c = deepcopy(s)
-
- self.assertNotEquals(id(s), id(c))
- self.assertEquals(s.item, c.item)
diff --git a/eos/tests/saveddata/testUser.py b/eos/tests/saveddata/testUser.py
deleted file mode 100755
index 6ef784b65..000000000
--- a/eos/tests/saveddata/testUser.py
+++ /dev/null
@@ -1,9 +0,0 @@
-from eos.tests import TestBase
-from eos.types import User
-
-class Test(TestBase):
- def testPasswordEncryption(self):
- u = User("MOOBAR")
- u.encodeAndSetPassword("FOOBAR")
- self.assertTrue(u.isPasswordValid("FOOBAR"))
- self.assertFalse(u.isPasswordValid("FOOBUR"))
diff --git a/eos/tests/typeTests/__init__.py b/eos/tests/typeTests/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/boosters/__init__.py b/eos/tests/typeTests/boosters/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/boosters/drop.py b/eos/tests/typeTests/boosters/drop.py
deleted file mode 100755
index 3c3c2fd31..000000000
--- a/eos/tests/typeTests/boosters/drop.py
+++ /dev/null
@@ -1,49 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit, Booster, Character, Ship, Module
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.f = Fit()
- self.c = Character("testDrop")
- self.f.character = self.c
- self.f.ship = Ship(db.getItem("Rifter"))
- self.i = db.getItem("Strong Drop Booster")
- self.i2 = db.getItem("Heavy Modulated Energy Beam I")
- self.i3 = db.getItem("Large Armor Repairer I")
- self.turret = Module(self.i2)
- self.repper = Module(self.i3)
- self.booster = Booster(self.i)
- self.f.boosters.append(self.booster)
- self.f.modules.append(self.turret)
- self.f.modules.append(self.repper)
-
- def test_trackingSpeed(self):
- self.f.calculateModifiedAttributes()
- original = self.i2.getAttribute("trackingSpeed")
- self.assertAlmostEquals(original * 1.375, self.turret.getModifiedItemAttr("trackingSpeed"))
-
- def test_falloffPenalty(self):
- self.booster.getSideEffect("boosterTurretFalloffPenalty").active = True
- self.f.calculateModifiedAttributes()
- original = self.i2.getAttribute("falloff")
- self.assertAlmostEquals(original * 0.7, self.turret.getModifiedItemAttr("falloff"))
-
- def test_armorRepairPenalty(self):
- self.booster.getSideEffect("boosterArmorRepairAmountPenalty").active = True
- self.f.calculateModifiedAttributes()
- original = self.i3.getAttribute("armorDamageAmount")
- self.assertAlmostEquals(original * 0.7, self.repper.getModifiedItemAttr("armorDamageAmount"))
-
- def test_maxVelocityPenalty(self):
- self.booster.getSideEffect("boosterMaxVelocityPenalty").active = True
- self.f.calculateModifiedAttributes()
- original = self.f.ship.item.getAttribute("maxVelocity")
- self.assertAlmostEquals(original * 0.7, self.f.ship.getModifiedItemAttr("maxVelocity"))
-
- def test_shieldCapacity(self):
- self.booster.getSideEffect("boosterShieldCapacityPenalty").active = True
- self.f.calculateModifiedAttributes()
- original = self.f.ship.item.getAttribute("shieldCapacity")
- self.assertAlmostEquals(original * 0.7, self.f.ship.getModifiedItemAttr("shieldCapacity"))
diff --git a/eos/tests/typeTests/drones/__init__.py b/eos/tests/typeTests/drones/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/implants/CR8.py b/eos/tests/typeTests/implants/CR8.py
deleted file mode 100755
index d23ba7b99..000000000
--- a/eos/tests/typeTests/implants/CR8.py
+++ /dev/null
@@ -1,19 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit, Implant, Character, Ship
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.f = Fit()
- self.c = Character("testCR8")
- self.f.character = self.c
- self.f.ship = Ship(db.getItem("Rifter"))
- self.i = db.getItem("Hardwiring - Inherent Implants 'Squire' CR8")
- self.implant = Implant(self.i)
- self.f.implants.append(self.implant)
- self.f.calculateModifiedAttributes()
-
- def test_rechargeTimeBonus(self):
- original = self.f.ship.item.getAttribute("rechargeRate")
- self.assertAlmostEquals(original * 0.95, self.f.ship.getModifiedItemAttr("rechargeRate"))
diff --git a/eos/tests/typeTests/implants/__init__.py b/eos/tests/typeTests/implants/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/interactions/__init__.py b/eos/tests/typeTests/interactions/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/interactions/charge_ship.py b/eos/tests/typeTests/interactions/charge_ship.py
deleted file mode 100755
index b5a46032a..000000000
--- a/eos/tests/typeTests/interactions/charge_ship.py
+++ /dev/null
@@ -1,42 +0,0 @@
-from eos import db
-from eos.tests import TestBase
-from eos.types import Fit, Character, Ship, Module, State
-
-class Test(TestBase):
- def test_scanResolution_ship(self):
- iIngame = 1.0
- fIngame = 1.6
- fit = Fit()
- char = Character("test")
- fit.character = char
- fit.ship = Ship(db.getItem("Rifter"))
- iEos = fit.ship.getModifiedItemAttr("scanResolution")
- mod = Module(db.getItem("Sensor Booster II"))
- mod.charge = db.getItem("Scan Resolution")
- mod.state = State.ACTIVE
- fit.modules.append(mod)
- fit.calculateModifiedAttributes()
- fEos = fit.ship.getModifiedItemAttr("scanResolution")
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_scanResolution_ship_2(self):
- iIngame = 1.0
- fIngame = 1.6
- fit = Fit()
- char = Character("test")
- fit.character = char
- fit.ship = Ship(db.getItem("Rifter"))
- fit.calculateModifiedAttributes()
- iEos = fit.ship.getModifiedItemAttr("scanResolution")
- mod = Module(db.getItem("Sensor Booster II"))
- mod.charge = db.getItem("Scan Resolution")
- mod.state = State.ACTIVE
- fit.modules.append(mod)
- fit.clear()
- fit.calculateModifiedAttributes()
- fEos = fit.ship.getModifiedItemAttr("scanResolution")
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/interactions/sensorBooster_signalAmplifier.py b/eos/tests/typeTests/interactions/sensorBooster_signalAmplifier.py
deleted file mode 100755
index 89476fb3d..000000000
--- a/eos/tests/typeTests/interactions/sensorBooster_signalAmplifier.py
+++ /dev/null
@@ -1,46 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit, Ship, Module, State
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.fit.ship = Ship(db.getItem("Rifter"))
- self.testItem1 = db.getItem("Sensor Booster II")
- self.testItem2 = db.getItem("Signal Amplifier II")
- self.testMod1 = Module(self.testItem1)
- self.testMod2 = Module(self.testItem2)
- self.testMod1.state = State.ACTIVE
- self.fit.modules.append(self.testMod1)
- self.fit.modules.append(self.testMod2)
- self.fit.calculateModifiedAttributes()
-
- def test_scanResolution(self):
- self.buildTested = 171215
- bonusAttrName = "scanResolutionBonus"
- targetAttrName = "scanResolution"
- penalize = True
- mod1Bonus = self.testItem1.getAttribute(bonusAttrName)
- mod2Bonus = self.testItem2.getAttribute(bonusAttrName)
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, mod1Bonus, stackingPenalties = penalize)
- expected.boost(targetAttrName, mod2Bonus, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
-
- def test_maxTargetRange(self):
- self.buildTested = 174282
- bonusAttrName = "maxTargetRangeBonus"
- targetAttrName = "maxTargetRange"
- penalize = True
- mod1Bonus = self.testItem1.getAttribute(bonusAttrName)
- mod2Bonus = self.testItem2.getAttribute(bonusAttrName)
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, mod1Bonus, stackingPenalties = penalize)
- expected.boost(targetAttrName, mod2Bonus, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
diff --git a/eos/tests/typeTests/interactions/sensorBooster_targetingSystemSubcontroller.py b/eos/tests/typeTests/interactions/sensorBooster_targetingSystemSubcontroller.py
deleted file mode 100755
index cd0e98833..000000000
--- a/eos/tests/typeTests/interactions/sensorBooster_targetingSystemSubcontroller.py
+++ /dev/null
@@ -1,49 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit, Ship, Module, State
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.fit.ship = Ship(db.getItem("Rifter"))
- self.sensBoostItem = db.getItem("Sensor Booster II")
- self.t1RigItem = db.getItem("Small Targeting System Subcontroller I")
- self.t2RigItem = db.getItem("Small Targeting System Subcontroller II")
- self.sensBoostMod = Module(self.sensBoostItem)
- self.t1RigMod = Module(self.t1RigItem)
- self.t2RigMod = Module(self.t2RigItem)
- self.sensBoostMod.state = State.ACTIVE
-
- def test_scanResolutionT1(self):
- self.buildTested = 171215
- self.fit.modules.append(self.sensBoostMod)
- self.fit.modules.append(self.t1RigMod)
- self.fit.calculateModifiedAttributes()
- targetAttrName = "scanResolution"
- penalize = False
- sensBoostBoost = self.sensBoostItem.getAttribute("scanResolutionBonus")
- t1RigMultiplier = self.t1RigItem.getAttribute("scanResolutionMultiplier")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, sensBoostBoost, stackingPenalties = penalize)
- expected.multiply(targetAttrName, t1RigMultiplier, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
-
- def test_scanResolutionT2(self):
- self.buildTested = 171215
- self.fit.modules.append(self.sensBoostMod)
- self.fit.modules.append(self.t2RigMod)
- self.fit.calculateModifiedAttributes()
- targetAttrName = "scanResolution"
- penalize = False
- sensBoostBoost = self.sensBoostItem.getAttribute("scanResolutionBonus")
- t2RigMultiplier = self.t2RigItem.getAttribute("scanResolutionMultiplier")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, sensBoostBoost, stackingPenalties = penalize)
- expected.multiply(targetAttrName, t2RigMultiplier, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
diff --git a/eos/tests/typeTests/interactions/signalAmplifier_targetingSystemSubcontroller.py b/eos/tests/typeTests/interactions/signalAmplifier_targetingSystemSubcontroller.py
deleted file mode 100755
index 0f39b1f14..000000000
--- a/eos/tests/typeTests/interactions/signalAmplifier_targetingSystemSubcontroller.py
+++ /dev/null
@@ -1,48 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit, Ship, Module
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.fit.ship = Ship(db.getItem("Rifter"))
- self.sigAmpItem = db.getItem("Signal Amplifier II")
- self.t1RigItem = db.getItem("Small Targeting System Subcontroller I")
- self.t2RigItem = db.getItem("Small Targeting System Subcontroller II")
- self.sigAmpMod = Module(self.sigAmpItem)
- self.t1RigMod = Module(self.t1RigItem)
- self.t2RigMod = Module(self.t2RigItem)
-
- def test_scanResolutionT1(self):
- self.buildTested = 171215
- self.fit.modules.append(self.sigAmpMod)
- self.fit.modules.append(self.t1RigMod)
- self.fit.calculateModifiedAttributes()
- targetAttrName = "scanResolution"
- penalize = False
- sigAmpBoost = self.sigAmpItem.getAttribute("scanResolutionBonus")
- t1RigMultiplier = self.t1RigItem.getAttribute("scanResolutionMultiplier")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, sigAmpBoost, stackingPenalties = penalize)
- expected.multiply(targetAttrName, t1RigMultiplier, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
-
- def test_scanResolutionT2(self):
- self.buildTested = 171215
- self.fit.modules.append(self.sigAmpMod)
- self.fit.modules.append(self.t2RigMod)
- self.fit.calculateModifiedAttributes()
- targetAttrName = "scanResolution"
- penalize = False
- sigAmpBoost = self.sigAmpItem.getAttribute("scanResolutionBonus")
- t2RigMultiplier = self.t2RigItem.getAttribute("scanResolutionMultiplier")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, sigAmpBoost, stackingPenalties = penalize)
- expected.multiply(targetAttrName, t2RigMultiplier, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
diff --git a/eos/tests/typeTests/modules/__init__.py b/eos/tests/typeTests/modules/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/modules/afterburner.py b/eos/tests/typeTests/modules/afterburner.py
deleted file mode 100755
index 7ec13a54f..000000000
--- a/eos/tests/typeTests/modules/afterburner.py
+++ /dev/null
@@ -1,28 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Module, Fit, Ship, State
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.rifter = db.getItem("Rifter")
- self.fit.ship = Ship(self.rifter)
- self.afterburner = Module(db.getItem("1MN Afterburner II"))
- self.afterburner.state = State.ACTIVE
- self.fit.modules.append(self.afterburner)
- self.fit.calculateModifiedAttributes()
-
- def test_mass(self):
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.itemModifiedAttributes.original
- expected.increase("mass", self.afterburner.getModifiedItemAttr("massAddition"))
- self.assertEquals(expected["mass"], self.fit.ship.getModifiedItemAttr("mass"))
-
- def test_speedboost(self):
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.itemModifiedAttributes.original
- maxVelBoost = self.afterburner.getModifiedItemAttr("speedFactor") * self.afterburner.getModifiedItemAttr("speedBoostFactor") / self.fit.ship.getModifiedItemAttr("mass")
- expected.boost("maxVelocity", maxVelBoost)
- self.assertEquals(expected["maxVelocity"], self.fit.ship.getModifiedItemAttr("maxVelocity"))
diff --git a/eos/tests/typeTests/modules/armorHardener.py b/eos/tests/typeTests/modules/armorHardener.py
deleted file mode 100755
index 5fadc1e38..000000000
--- a/eos/tests/typeTests/modules/armorHardener.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Module, Fit, Ship, State
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.rifter = db.getItem("Rifter")
- self.fit.ship = Ship(self.rifter)
- self.hardener = Module(db.getItem("Armor EM Hardener II"))
- self.hardener.state = State.ACTIVE
- self.fit.modules.append(self.hardener)
- self.fit.calculateModifiedAttributes()
-
- def test_hardening(self):
- expected = ModifiedAttributeDict()
- expected.original = self.rifter.attributes
- expected.boost("armorEmDamageResonance", self.hardener.getModifiedItemAttr("emDamageResistanceBonus"))
- self.assertEquals(expected["armorEmDamageResonance"], self.fit.ship.getModifiedItemAttr("armorEmDamageResonance"))
diff --git a/eos/tests/typeTests/modules/capPowerRelay.py b/eos/tests/typeTests/modules/capPowerRelay.py
deleted file mode 100755
index bebedd247..000000000
--- a/eos/tests/typeTests/modules/capPowerRelay.py
+++ /dev/null
@@ -1,17 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Module, Fit, Ship
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.rifter = db.getItem("Rifter")
- self.fit.ship = Ship(self.rifter)
- self.relay = Module(db.getItem("Capacitor Power Relay I"))
- self.fit.modules.append(self.relay)
- self.fit.calculateModifiedAttributes()
-
- def test_CalcCrash(self):
- # Note, no calculation checking, just testing for a crash here.
- pass
diff --git a/eos/tests/typeTests/modules/engineeringSubsystem.py b/eos/tests/typeTests/modules/engineeringSubsystem.py
deleted file mode 100755
index 22de032cf..000000000
--- a/eos/tests/typeTests/modules/engineeringSubsystem.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Module, Fit, Ship
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.tengu = db.getItem("Tengu")
- self.fit.ship = Ship(self.tengu)
- self.sub = Module(db.getItem("Tengu Engineering - Augmented Capacitor Reservoir"))
- self.fit.modules.append(self.sub)
- self.fit.calculateModifiedAttributes()
-
- def test_hardening(self):
- self.assertGreater(self.fit.ship.getModifiedItemAttr("powerOutput"), 0)
diff --git a/eos/tests/typeTests/modules/heatSink.py b/eos/tests/typeTests/modules/heatSink.py
deleted file mode 100755
index ab21cbf27..000000000
--- a/eos/tests/typeTests/modules/heatSink.py
+++ /dev/null
@@ -1,32 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Module, Fit
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.hsi = db.getItem("Heat Sink II")
- self.eti = db.getItem("Heavy Modulated Energy Beam I")
- self.hsm1 = Module(self.hsi)
- self.hsm2 = Module(self.hsi)
- self.etm = Module(self.eti)
- self.fit.modules.append(self.hsm1)
- self.fit.modules.append(self.hsm2)
- self.fit.modules.append(self.etm)
- self.fit.calculateModifiedAttributes()
-
- def test_damageMultiplier(self):
- expected = ModifiedAttributeDict()
- expected.original = self.etm.item.attributes
- expected.multiply("damageMultiplier", self.hsi.getAttribute("damageMultiplier"), stackingPenalties = True)
- expected.multiply("damageMultiplier", self.hsi.getAttribute("damageMultiplier"), stackingPenalties = True)
- self.assertAlmostEquals(expected["damageMultiplier"], self.etm.getModifiedItemAttr("damageMultiplier"))
-
- def test_speed(self):
- expected = ModifiedAttributeDict()
- expected.original = self.etm.item.attributes
- expected.multiply("speed", self.hsi.getAttribute("speedMultiplier"), stackingPenalties = True)
- expected.multiply("speed", self.hsi.getAttribute("speedMultiplier"), stackingPenalties = True)
- self.assertAlmostEquals(expected["speed"], self.etm.getModifiedItemAttr("speed"))
diff --git a/eos/tests/typeTests/modules/microwarpdrive.py b/eos/tests/typeTests/modules/microwarpdrive.py
deleted file mode 100755
index 869bf9750..000000000
--- a/eos/tests/typeTests/modules/microwarpdrive.py
+++ /dev/null
@@ -1,34 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Module, Fit, Ship, State
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.rifter = db.getItem("Rifter")
- self.fit.ship = Ship(self.rifter)
- self.mwd = Module(db.getItem("1MN MicroWarpdrive II"))
- self.mwd.state = State.ACTIVE
- self.fit.modules.append(self.mwd)
- self.fit.calculateModifiedAttributes()
-
- def test_mass(self):
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.itemModifiedAttributes.original
- expected.increase("mass", self.mwd.getModifiedItemAttr("massAddition"))
- self.assertEquals(expected["mass"], self.fit.ship.getModifiedItemAttr("mass"))
-
- def test_speedboost(self):
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.itemModifiedAttributes.original
- maxVelBoost = self.mwd.getModifiedItemAttr("speedFactor") * self.mwd.getModifiedItemAttr("speedBoostFactor") / self.fit.ship.getModifiedItemAttr("mass")
- expected.boost("maxVelocity", maxVelBoost)
- self.assertEquals(expected["maxVelocity"], self.fit.ship.getModifiedItemAttr("maxVelocity"))
-
- def test_signature(self):
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.itemModifiedAttributes.original
- expected.boost("signatureRadius", self.mwd.getModifiedItemAttr("signatureRadiusBonus"))
- self.assertEquals(expected["signatureRadius"], self.fit.ship.getModifiedItemAttr("signatureRadius"))
diff --git a/eos/tests/typeTests/modules/probeLauncherHardpoint.py b/eos/tests/typeTests/modules/probeLauncherHardpoint.py
deleted file mode 100755
index de6c1c871..000000000
--- a/eos/tests/typeTests/modules/probeLauncherHardpoint.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Module, Hardpoint
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.m = Module(db.getItem("Scan Probe Launcher II"))
-
- def test_hardpoint(self):
- self.assertEquals(self.m.hardpoint, Hardpoint.NONE)
diff --git a/eos/tests/typeTests/modules/sensorBooster.py b/eos/tests/typeTests/modules/sensorBooster.py
deleted file mode 100755
index a5afae12c..000000000
--- a/eos/tests/typeTests/modules/sensorBooster.py
+++ /dev/null
@@ -1,42 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit, Ship, Module, State
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.fit.ship = Ship(db.getItem("Rifter"))
- self.testItem = db.getItem("Sensor Booster II")
- self.testMod1 = Module(self.testItem)
- self.testMod2 = Module(self.testItem)
- self.testMod1.state = State.ACTIVE
- self.testMod2.state = State.ACTIVE
- self.fit.modules.append(self.testMod1)
- self.fit.modules.append(self.testMod2)
- self.fit.calculateModifiedAttributes()
-
- def test_scanResolution(self):
- self.buildTested = 171215
- targetAttrName = "scanResolution"
- penalize = True
- modBonus = self.testItem.getAttribute("scanResolutionBonus")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, modBonus, stackingPenalties = penalize)
- expected.boost(targetAttrName, modBonus, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
-
- def test_maxTargetRange(self):
- self.buildTested = 171215
- targetAttrName = "maxTargetRange"
- penalize = True
- modBonus = self.testItem.getAttribute("maxTargetRangeBonus")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, modBonus, stackingPenalties = penalize)
- expected.boost(targetAttrName, modBonus, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
diff --git a/eos/tests/typeTests/modules/signalAmplifier.py b/eos/tests/typeTests/modules/signalAmplifier.py
deleted file mode 100755
index 63bb87b28..000000000
--- a/eos/tests/typeTests/modules/signalAmplifier.py
+++ /dev/null
@@ -1,51 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit, Ship, Module
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.fit.ship = Ship(db.getItem("Rifter"))
- self.testItem = db.getItem("Signal Amplifier II")
- self.testMod1 = Module(self.testItem)
- self.testMod2 = Module(self.testItem)
- self.fit.modules.append(self.testMod1)
- self.fit.modules.append(self.testMod2)
- self.fit.calculateModifiedAttributes()
-
- def test_scanResolution(self):
- self.buildTested = 171215
- targetAttrName = "scanResolution"
- penalize = True
- modBonus = self.testItem.getAttribute("scanResolutionBonus")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, modBonus, stackingPenalties = penalize)
- expected.boost(targetAttrName, modBonus, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
-
- def test_maxTargetRange(self):
- self.buildTested = 171215
- targetAttrName = "maxTargetRange"
- penalize = True
- modBonus = self.testItem.getAttribute("maxTargetRangeBonus")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, modBonus, stackingPenalties = penalize)
- expected.boost(targetAttrName, modBonus, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
-
- def test_maxLockedTargets(self):
- self.buildTested = 171215
- targetAttrName = "maxLockedTargets"
- modBonus = self.testItem.getAttribute("maxLockedTargetsBonus")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.increase(targetAttrName, modBonus)
- expected.increase(targetAttrName, modBonus)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
diff --git a/eos/tests/typeTests/modules/targetingSystemSubcontroller.py b/eos/tests/typeTests/modules/targetingSystemSubcontroller.py
deleted file mode 100755
index 0ba6d0859..000000000
--- a/eos/tests/typeTests/modules/targetingSystemSubcontroller.py
+++ /dev/null
@@ -1,82 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit, Ship, Module
-from eos.modifiedAttributeDict import ModifiedAttributeDict
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.fit = Fit()
- self.fit.ship = Ship(db.getItem("Rifter"))
- self.testItemT1 = db.getItem("Small Targeting System Subcontroller I")
- self.testItemT2 = db.getItem("Small Targeting System Subcontroller II")
- self.testModT1_1 = Module(self.testItemT1)
- self.testModT1_2 = Module(self.testItemT1)
- self.testModT2_1 = Module(self.testItemT2)
- self.testModT2_2 = Module(self.testItemT2)
-
- # T1 and T2 rigs have different effects for scanning resolution boost,
- # so we have to test them separately
- def test_scanResolutionT1(self):
- self.buildTested = 171215
- self.fit.modules.append(self.testModT1_1)
- self.fit.modules.append(self.testModT1_2)
- self.fit.calculateModifiedAttributes()
- targetAttrName = "scanResolution"
- penalize = True
- modBonus = self.testItemT1.getAttribute("scanResolutionMultiplier")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.multiply(targetAttrName, modBonus, stackingPenalties = penalize)
- expected.multiply(targetAttrName, modBonus, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
-
- def test_scanResolutionT2(self):
- self.buildTested = 171215
- self.fit.modules.append(self.testModT2_1)
- self.fit.modules.append(self.testModT2_2)
- self.fit.calculateModifiedAttributes()
- targetAttrName = "scanResolution"
- penalize = True
- modBonus = self.testItemT2.getAttribute("scanResolutionMultiplier")
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.multiply(targetAttrName, modBonus, stackingPenalties = penalize)
- expected.multiply(targetAttrName, modBonus, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
-
- def test_scanResolutionT1T2(self):
- self.buildTested = 171215
- self.fit.modules.append(self.testModT1_1)
- self.fit.modules.append(self.testModT2_1)
- self.fit.calculateModifiedAttributes()
- bonusAttrName = "scanResolutionMultiplier"
- targetAttrName = "scanResolution"
- penalize = False
- mod1Bonus = self.testItemT1.getAttribute(bonusAttrName)
- mod2Bonus = self.testItemT2.getAttribute(bonusAttrName)
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.multiply(targetAttrName, mod1Bonus, stackingPenalties = penalize)
- expected.multiply(targetAttrName, mod2Bonus, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
-
- def test_shieldCapacity(self):
- self.buildTested = 171215
- self.fit.modules.append(self.testModT1_1)
- self.fit.modules.append(self.testModT2_1)
- self.fit.calculateModifiedAttributes()
- bonusAttrName = "drawback"
- targetAttrName = "shieldCapacity"
- penalize = False
- mod1Bonus = self.testItemT1.getAttribute(bonusAttrName)
- mod2Bonus = self.testItemT2.getAttribute(bonusAttrName)
- expected = ModifiedAttributeDict()
- expected.original = self.fit.ship.item.attributes
- expected.boost(targetAttrName, mod1Bonus, stackingPenalties = penalize)
- expected.boost(targetAttrName, mod2Bonus, stackingPenalties = penalize)
- actual = self.fit.ship.getModifiedItemAttr(targetAttrName)
- self.assertAlmostEquals(expected[targetAttrName], actual)
diff --git a/eos/tests/typeTests/projectedDrones/TargetPaintDrone.py b/eos/tests/typeTests/projectedDrones/TargetPaintDrone.py
deleted file mode 100755
index 221a5a39a..000000000
--- a/eos/tests/typeTests/projectedDrones/TargetPaintDrone.py
+++ /dev/null
@@ -1,19 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Fit, Ship
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.i = db.getItem("Warrior TP-300")
- self.f = Fit()
- self.f.ship = Ship(db.getItem("Rifter"))
- d = self.f.projectedDrones.appendItem(self.i, 2)
- d.amountActive = 2
- self.f.calculateModifiedAttributes()
-
- def test_speedSlow(self):
- original = self.f.ship.item.getAttribute("signatureRadius")
- multiplier = 1.04
- expected = original * (1 + (multiplier -1) * 0.86911998) * multiplier
- self.assertAlmostEquals(expected, self.f.ship.getModifiedItemAttr("signatureRadius"), 3)
diff --git a/eos/tests/typeTests/projectedDrones/__init__.py b/eos/tests/typeTests/projectedDrones/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/projectedModules/__init__.py b/eos/tests/typeTests/projectedModules/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/projectedModules/stasisWebifier.py b/eos/tests/typeTests/projectedModules/stasisWebifier.py
deleted file mode 100755
index 18cc08922..000000000
--- a/eos/tests/typeTests/projectedModules/stasisWebifier.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from eos.tests import TestBase
-from eos import db
-from eos.types import Module, Fit, Ship, State
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.i = db.getItem("Stasis Webifier I")
- self.f = Fit()
- self.f.ship = Ship(db.getItem("Rifter"))
- self.m = Module(self.i)
- self.m2 = Module(self.i)
- self.m.state = State.ACTIVE
- self.m2.state = State.ACTIVE
- self.f.projectedModules.append(self.m)
- self.f.projectedModules.append(self.m2)
- self.f.calculateModifiedAttributes()
-
- def test_speedSlow(self):
- original = self.f.ship.item.getAttribute("maxVelocity")
- multiplier = 0.5
- expected = original * (1 + (multiplier -1) * 0.86911998) * multiplier
- self.assertAlmostEquals(expected, self.f.ship.getModifiedItemAttr("maxVelocity"), 3)
diff --git a/eos/tests/typeTests/ships/__init__.py b/eos/tests/typeTests/ships/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/assaultShips/__init__.py b/eos/tests/typeTests/ships/assaultShips/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/assaultShips/enyo.py b/eos/tests/typeTests/ships/assaultShips/enyo.py
deleted file mode 100755
index 7109d246c..000000000
--- a/eos/tests/typeTests/ships/assaultShips/enyo.py
+++ /dev/null
@@ -1,105 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Enyo"
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to Small Hybrid Turret Damage per level
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "75mm Gatling Rail I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Electron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 10% bonus to Small Hybrid Turret Optimal Range per level
-
- def test_assaultShips_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "125mm Railgun I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "200mm Railgun I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 7.5% bonus to Small Hybrid Turret Tracking Speed per level
-
- def test_assaultShips_trackingSpeed_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Light Electron Blaster I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Heavy Electron Blaster I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/assaultShips/freki.py b/eos/tests/typeTests/ships/assaultShips/freki.py
deleted file mode 100755
index c22347cf1..000000000
--- a/eos/tests/typeTests/ships/assaultShips/freki.py
+++ /dev/null
@@ -1,200 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Freki"
-
- # Minmatar Frigate Skill Bonus:
- # 12.5% Small Projectile Turret damage per level
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "280mm Howitzer Artillery I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.125
- fLvl = 4
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 30% bonus to Stasis Webifier Range per level
-
- def test_minmatarFrigate_maxRange_moduleStasisWebSkillrqPropjamm(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_maxRange_moduleStasisWebNoSkillrq(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Stasis Webifier"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_maxRange_moduleOtherSkillrqPropjamm(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Disruptor I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% Small Projectile Turret optimal range bonus
-
- def test_static_maxRange_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "250mm Light Artillery Cannon I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "650mm Artillery Cannon I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% Small Projectile Turret falloff bonus
-
- def test_static_falloff_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "falloff"
- item = "200mm AutoCannon I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Dual 180mm AutoCannon I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 75% afterburner and microwarpdrive capacitor consumption bonus
-
- def test_static_capacitorNeed_moduleAfterburnerSkillrqHighSpeedManeuvering(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "1MN MicroWarpdrive I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 0.25
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleAfterburnerSkillrqAfterburner(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "1MN Afterburner I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 0.25
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleAfterburnerNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Afterburner"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 0.25
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM Burst I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/assaultShips/harpy.py b/eos/tests/typeTests/ships/assaultShips/harpy.py
deleted file mode 100755
index 07a2a53d9..000000000
--- a/eos/tests/typeTests/ships/assaultShips/harpy.py
+++ /dev/null
@@ -1,105 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Harpy"
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to Small Hybrid Turret Optimal range per level
-
- def test_caldariFrigate_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "150mm Railgun I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxRange_moduleHybridWeaponOtherl(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 150mm Railgun I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 10% bonus to Small Hybrid Turret Optimal Range per level
-
- def test_assaultShips_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Light Neutron Blaster I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Electron Blaster I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 5% bonus to Small Hybrid Turret Damage per level
-
- def test_assaultShips_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Ion Blaster I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Railgun I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/assaultShips/hawk.py b/eos/tests/typeTests/ships/assaultShips/hawk.py
deleted file mode 100755
index b3ee51d40..000000000
--- a/eos/tests/typeTests/ships/assaultShips/hawk.py
+++ /dev/null
@@ -1,647 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Hawk"
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to Missile Kinetic Damage per level
- # Actually it's 10%, CCP forgot to change description after boost
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Precision Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Fury Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Precision Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "EMP S"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 10% bonus to Missile Velocity per level
-
- def test_assaultShips_maxVelocity_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Foxfire Rocket"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Phalanx Javelin Rocket"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Light Missile"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Piranha Precision Light Missile"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Seeker F.O.F. Light Missile I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Terror Assault Missile"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Rage Assault Missile"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Havoc Heavy Missile"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunderbolt Fury Heavy Missile"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellhound F.O.F. Heavy Missile I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Inferno Torpedo"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bane Javelin Torpedo"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Devastator Cruise Missile"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Paradise Precision Cruise Missile"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Rift Citadel Torpedo"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunar Citadel Cruise Missile"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Defender I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxVelocity_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 7.5% bonus to Shield Boost Amount per level
-
- def test_assaultShips_shieldBonus_moduleShieldBoosterSkillrqShieldop(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Booster I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
-
- def test_assaultShips_shieldBonus_moduleShieldBoosterSkillrqCapitalShieldop(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_shieldBonus_moduleShieldBoosterNoSkillrq(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Transporter I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/assaultShips/ishkur.py b/eos/tests/typeTests/ships/assaultShips/ishkur.py
deleted file mode 100755
index 50e32dee7..000000000
--- a/eos/tests/typeTests/ships/assaultShips/ishkur.py
+++ /dev/null
@@ -1,89 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Ishkur"
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to Small Hybrid Turret damage
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Ion Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Electron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 10% bonus to Small Hybrid Turret Optimal Range per level
-
- def test_assaultShips_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Light Neutron Blaster I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 150mm Railgun I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 5m3 Drone Bay Capacity per level
-
- def test_assaultShips_droneCapacity_ship(self):
- self.buildTested = 0
- attr = "droneCapacity"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 30
- fLvl = 4
- fIngame = 45
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/assaultShips/jaguar.py b/eos/tests/typeTests/ships/assaultShips/jaguar.py
deleted file mode 100755
index 1192104a3..000000000
--- a/eos/tests/typeTests/ships/assaultShips/jaguar.py
+++ /dev/null
@@ -1,105 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Jaguar"
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to Small Projectile Turret Damage per level
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Light AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "220mm Vulcan AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 10% bonus to Small Projectile Turret Optimal Range per level
-
- def test_assaultShips_maxRange_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "280mm Howitzer Artillery I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxRange_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "720mm Howitzer Artillery I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 5% bonus to Small Projectile Damage per level
-
- def test_assaultShips_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "125mm Gatling AutoCannon I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm AutoCannon I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/assaultShips/malice.py b/eos/tests/typeTests/ships/assaultShips/malice.py
deleted file mode 100755
index 33f5e29d2..000000000
--- a/eos/tests/typeTests/ships/assaultShips/malice.py
+++ /dev/null
@@ -1,286 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Malice"
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Armor Resistances per level
- # Bonus is bugged, it makes resistances worse
-
- def test_amarrFrigate_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 20% bonus to energy vampire transfer amount per level
-
- def test_amarrFrigate_powerTransferAmount_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Small Nosferatu I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_powerTransferAmount_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Small Energy Transfer Array I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 20% bonus to energy vampire range per level
-
- def test_amarrFrigate_powerTransferRange_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Small Nosferatu I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_powerTransferRange_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Medium Energy Transfer Array I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 20% bonus to energy neutralizer transfer amount per level
-
- def test_amarrFrigate_energyDestabilizationAmount_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Medium Energy Neutralizer I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 20% bonus to energy neutralizer range per level
-
- def test_amarrFrigate_energyDestabilizationRange_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationRange"
- item = "Small Energy Neutralizer I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to Small Energy Turret Damage
-
- def test_static_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Pulse Laser I"
- ship_other = "Wolf"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Quad Light Beam Laser I"
- ship_other = "Wolf"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% bonus to Small Energy Turret optimal range
-
- def test_static_maxRange_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Medium Beam Laser I"
- ship_other = "Wolf"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Pulse Laser I"
- ship_other = "Wolf"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/assaultShips/retribution.py b/eos/tests/typeTests/ships/assaultShips/retribution.py
deleted file mode 100755
index 1d6264c5d..000000000
--- a/eos/tests/typeTests/ships/assaultShips/retribution.py
+++ /dev/null
@@ -1,105 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Retribution"
-
- # Amarr Frigate Skill Bonus:
- # 10% bonus to Small Energy Turret Cap Use per level
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 10% bonus to Small Energy Turret Optimal Range per level
-
- def test_assaultShips_maxRange_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Medium Beam Laser I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_maxRange_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Beam Laser I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 5% bonus to Small Energy Turret Damage per level
-
- def test_assaultShips_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Gatling Pulse Laser I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Focused Medium Pulse Laser I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/assaultShips/utu.py b/eos/tests/typeTests/ships/assaultShips/utu.py
deleted file mode 100755
index 4417afaf9..000000000
--- a/eos/tests/typeTests/ships/assaultShips/utu.py
+++ /dev/null
@@ -1,484 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Utu"
-
- # Gallente Frigate Skill Bonus:
- # 10% bonus to drone damage per skill level
-
- def test_gallenteFrigate_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Acolyte I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 10% bonus to Warp Scrambler and Warp Disruptor Range per level.
-
- def test_gallenteFrigate_maxRange_moduleWarpScramblerSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Scrambler I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_maxRange_moduleWarpScramblerNoSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Warp Disruptor"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_maxRange_moduleOtherSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Small Hybrid Turret Optimal Range
-
- def test_static_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "150mm Railgun I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Ion Blaster I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Small Hybrid Turret Tracking
-
- def test_static_trackingSpeed_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Light Ion Blaster I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "200mm Railgun I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% reduction in the amount of heat damage absorbed by modules
-
- def test_static_heatDamage_moduleAfterburner(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "1MN MicroWarpdrive I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Armor Explosive Hardener I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleArmorRepairProjector(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Remote Armor Repair System I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Armor Repairer I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleCapacitorBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Micro Capacitor Booster I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleECCM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECCM - Omni I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleECM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECM - Phase Inverter I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Energy Neutralizer I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleEnergyTransferArray(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Energy Transfer Array I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Nosferatu I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual Light Beam Laser I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleHullRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Hull Repairer I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "150mm Railgun I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Assault Missile Launcher I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Citadel Cruise Launcher I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Cruise Missile Launcher I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Missile Launcher I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Assault Missile Launcher I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Rocket Launcher I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Siege Missile Launcher I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Standard Missile Launcher I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "125mm Gatling AutoCannon I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Shield Booster I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleShieldHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Photon Scattering Field I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Micro Shield Transporter I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Stasis Webifier I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_heatDamage_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Warp Scrambler I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/assaultShips/vengeance.py b/eos/tests/typeTests/ships/assaultShips/vengeance.py
deleted file mode 100755
index 8ec49fed8..000000000
--- a/eos/tests/typeTests/ships/assaultShips/vengeance.py
+++ /dev/null
@@ -1,325 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Vengeance"
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Rocket Damage per level
-
- def test_amarrFrigate_emDamage_chargeRocket(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeRocketAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rage Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "EMP S"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeRocket(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rage Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Defender I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Javelin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hail S"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rage Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Aurora S"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 5% bonus to Armor Resistances per level
-
- def test_assaultShips_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 5% bonus to Capacitor Recharge Rate per level
-
- def test_assaultShips_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/assaultShips/wolf.py b/eos/tests/typeTests/ships/assaultShips/wolf.py
deleted file mode 100755
index 70ca98bb1..000000000
--- a/eos/tests/typeTests/ships/assaultShips/wolf.py
+++ /dev/null
@@ -1,105 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Wolf"
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to Small Projectile Turret Damage per level
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 5% bonus to Small Projectile Turret Damage per level
-
- def test_assaultShips_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "280mm Howitzer Artillery I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "650mm Artillery Cannon I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Assault Frigates Skill Bonus:
- # 10% bonus to Small Projectile Falloff Range per level
-
- def test_assaultShips_falloff_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "falloff"
- item = "150mm Light AutoCannon I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_assaultShips_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "220mm Vulcan AutoCannon I"
- skill = "Assault Frigates"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/__init__.py b/eos/tests/typeTests/ships/battlecruisers/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/battlecruisers/brutix.py b/eos/tests/typeTests/ships/battlecruisers/brutix.py
deleted file mode 100755
index 732d732d3..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/brutix.py
+++ /dev/null
@@ -1,130 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Brutix"
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_battlecruisers_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Neutron Blaster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Railgun I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 7.5% bonus to Armor Repairer effectiveness per level
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Armor Repairer I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Remote Armor Repair System I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in the CPU need of Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Skirmish Warfare Link - Interdiction Maneuvers I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/cyclone.py b/eos/tests/typeTests/ships/battlecruisers/cyclone.py
deleted file mode 100755
index aff01321c..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/cyclone.py
+++ /dev/null
@@ -1,130 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Cyclone"
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret rate of fire per level
-
- def test_battlecruisers_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "220mm Vulcan AutoCannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "150mm Light AutoCannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 7.5% bonus to shield boosting per level
-
- def test_battlecruisers_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Large Shield Booster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Transporter I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in the CPU need of Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Siege Warfare Link - Shield Efficiency I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/drake.py b/eos/tests/typeTests/ships/battlecruisers/drake.py
deleted file mode 100755
index 59f73d208..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/drake.py
+++ /dev/null
@@ -1,246 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Drake"
-
- # Battlecruiser Skill Bonus:
- # 5% shield resistance per level
-
- def test_battlecruisers_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% bonus kinetic damage of heavy missiles and heavy assault missiles per level
-
- def test_battlecruisers_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Precision Heavy Missile"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in the CPU need of Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Siege Warfare Link - Active Shielding I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/ferox.py b/eos/tests/typeTests/ships/battlecruisers/ferox.py
deleted file mode 100755
index 3a605beee..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/ferox.py
+++ /dev/null
@@ -1,186 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Ferox"
-
- # Battlecruiser Skill Bonus:
- # 10% bonus to Medium Hybrid Turret optimal range per level
-
- def test_battlecruisers_maxRange_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "200mm Railgun I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "125mm Railgun I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to all Shield resistances per level
-
- def test_battlecruisers_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in the CPU need of Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Mining Foreman Link - Laser Optimization I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/harbinger.py b/eos/tests/typeTests/ships/battlecruisers/harbinger.py
deleted file mode 100755
index 92e301e97..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/harbinger.py
+++ /dev/null
@@ -1,160 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Harbinger"
-
- # Battlecruiser Skill Bonus:
- # 10% reduction in laser capacitor need per level
-
- def test_battlecruisers_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Gatling Pulse Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Beam Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_capacitorNeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Heavy Pulse Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_capacitorNeed_moduleEnergyWeaponCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Giga Pulse Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to laser damage per level
-
- def test_battlecruisers_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Light Beam Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Quad Light Beam Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Mega Beam Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_moduleEnergyWeaponCapital(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Giga Beam Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in the CPU need of Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Armored Warfare Link - Damage Control I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/hurricane.py b/eos/tests/typeTests/ships/battlecruisers/hurricane.py
deleted file mode 100755
index 75d8208d0..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/hurricane.py
+++ /dev/null
@@ -1,100 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Hurricane"
-
- # Battlecruiser Skill Bonus:
- # 5% increase in projectile weapons damage per level
-
- def test_battlecruisers_damageMultiplier_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 180mm AutoCannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Light AutoCannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% increase in projectile weapons Rate of Fire per level
-
- def test_battlecruisers_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "425mm AutoCannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 425mm AutoCannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in the CPU need of Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Mining Foreman Link - Laser Optimization I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/myrmidon.py b/eos/tests/typeTests/ships/battlecruisers/myrmidon.py
deleted file mode 100755
index 95b7b4655..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/myrmidon.py
+++ /dev/null
@@ -1,241 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Myrmidon"
-
- # Battlecruiser Skill Bonus:
- # 10% increase to drone hitpoints per level
-
- def test_battlecruisers_hp_droneCombat(self):
- self.buildTested = 0
- item = "Hammerhead I"
- skill = "Battlecruisers"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Medium Armor Maintenance Bot I"
- skill = "Battlecruisers"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_hp_droneEwar(self):
- self.buildTested = 0
- item = "Praetor TD-900"
- skill = "Battlecruisers"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Infiltrator EV-600"
- skill = "Battlecruisers"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Battlecruisers"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_hp_droneMining(self):
- self.buildTested = 0
- item = "Harvester Mining Drone"
- skill = "Battlecruisers"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 10% increase to damage dealt by drones per level
-
- def test_battlecruisers_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Bouncer I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Light AutoCannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 7.5% increase to armor repair amount per level
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Armor Repairer I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Remote Armor Repair System I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in the CPU need of Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Information Warfare Link - Sensor Integrity I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/naga.py b/eos/tests/typeTests/ships/battlecruisers/naga.py
deleted file mode 100755
index 869b4bced..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/naga.py
+++ /dev/null
@@ -1,160 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Naga"
-
-
- # Battlecruiser Skill Bonus Per Level:
- # 5% bonus to Large Hybrid Turret damage
-
- def test_battlecruisers_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Electron Blaster Cannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Electron Blaster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus Per Level:
- # 10% bonus to Large Hybrid Turret optimal range
-
- def test_battlecruisers_maxRange_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "425mm Railgun I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "200mm Railgun I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 95% reduction in the powergrid need of Large Hybrid Turrets
-
- def test_static_power_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "power"
- item = "Ion Blaster Cannon I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 0.05
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "power"
- item = "Dual 150mm Railgun I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in the CPU need of Large Hybrid Turrets
-
- def test_static_cpu_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Neutron Blaster Cannon I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Light Electron Blaster I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in the capacitor need of Large Hybrid Turrets
-
- def test_static_capacitorNeed_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual 250mm Railgun I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Ion Blaster I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/oracle.py b/eos/tests/typeTests/ships/battlecruisers/oracle.py
deleted file mode 100755
index db1d33a2d..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/oracle.py
+++ /dev/null
@@ -1,159 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Oracle"
-
- # Battlecruiser Skill Bonus Per Level:
- # 10% bonus to Large Energy Turret capacitor use
-
- def test_battlecruisers_capacitorNeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Mega Pulse Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Beam Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus Per Level:
- # 5% bonus to Large Energy Turret damage
-
- def test_battlecruisers_damageMultiplier_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Tachyon Beam Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 95% reduction in the powergrid need of Large Energy Turrets
-
- def test_static_power_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "power"
- item = "Dual Heavy Pulse Laser I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 0.05
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "power"
- item = "Dual Light Beam Laser I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in the CPU need of Large Energy Turrets
-
- def test_static_cpu_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Mega Beam Laser I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Gatling Pulse Laser I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in the capacitor need of Large Energy Turrets
-
- def test_static_capacitorNeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Tachyon Beam Laser I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Quad Light Beam Laser I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/prophecy.py b/eos/tests/typeTests/ships/battlecruisers/prophecy.py
deleted file mode 100755
index 3a9dc7502..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/prophecy.py
+++ /dev/null
@@ -1,186 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Prophecy"
-
- # Battlecruiser Skill Bonus:
- # 10% reduction in Medium Energy Weapon capacitor use per level
-
- def test_battlecruisers_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Pulse Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Gatling Pulse Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to all armor resistances per level
-
- def test_battlecruisers_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in the CPU need of Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Information Warfare Link - Recon Operation I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/talos.py b/eos/tests/typeTests/ships/battlecruisers/talos.py
deleted file mode 100755
index 6ee5899ca..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/talos.py
+++ /dev/null
@@ -1,159 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Talos"
-
- # Battlecruiser Skill Bonus Per Level:
- # 5% bonus to Large Hybrid Turret damage
-
- def test_battlecruisers_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Neutron Blaster Cannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Neutron Blaster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus Per Level:
- # 7.5% bonus to Large Hybrid Turret tracking speed
-
- def test_battlecruisers_trackingSpeed_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "350mm Railgun I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Light Electron Blaster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 95% reduction in the powergrid need of Large Hybrid Turrets
-
- def test_static_power_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "power"
- item = "Electron Blaster Cannon I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 0.05
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "power"
- item = "Heavy Neutron Blaster I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in the CPU need of Large Hybrid Turrets
-
- def test_static_cpu_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Dual 250mm Railgun I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Dual 150mm Railgun I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in the capacitor need of Large Hybrid Turrets
-
- def test_static_capacitorNeed_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "425mm Railgun I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Neutron Blaster I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battlecruisers/tornado.py b/eos/tests/typeTests/ships/battlecruisers/tornado.py
deleted file mode 100755
index ad7703e58..000000000
--- a/eos/tests/typeTests/ships/battlecruisers/tornado.py
+++ /dev/null
@@ -1,130 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Tornado"
-
- # Battlecruiser Skill Bonus Per Level:
- # 5% bonus to Large Projectile Turret Rate of Fire
-
- def test_battlecruisers_speed_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 425mm AutoCannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "280mm Howitzer Artillery I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus Per Level:
- # 5% bonus to Large Projectile Turret falloff
-
- def test_battlecruisers_falloff_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "falloff"
- item = "800mm Repeating Artillery I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "720mm Howitzer Artillery I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 95% reduction in the powergrid need of Large Projectile Turrets
-
- def test_static_power_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "power"
- item = "1200mm Artillery Cannon I"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 0.05
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "power"
- item = "650mm Artillery Cannon I"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in the CPU need of Large Projectile Turrets
-
- def test_static_cpu_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Dual 650mm Repeating Artillery I"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "220mm Vulcan AutoCannon I"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/__init__.py b/eos/tests/typeTests/ships/battleships/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/battleships/abaddon.py b/eos/tests/typeTests/ships/battleships/abaddon.py
deleted file mode 100755
index 6be55d4e3..000000000
--- a/eos/tests/typeTests/ships/battleships/abaddon.py
+++ /dev/null
@@ -1,158 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Abaddon"
-
- # Amarr Battleship Skill Bonus:
- # 5% bonus to Large Energy Turret damage per level
-
- def test_amarrBattleship_damageMultiplier_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Heavy Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Battleship Skill Bonus:
- # 5% armor resistance per level
-
- def test_amarrBattleship_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/apocalypse.py b/eos/tests/typeTests/ships/battleships/apocalypse.py
deleted file mode 100755
index d44e344c8..000000000
--- a/eos/tests/typeTests/ships/battleships/apocalypse.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Apocalypse"
-
- # Amarr Battleship Skill Bonus:
- # 10% bonus to Large Energy Turret capacitor use per level
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Tachyon Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Battleship Skill Bonus:S
- # 7.5% bonus to Large Energy Turret optimal range per level
-
- def test_amarrBattleship_maxRange_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Mega Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_maxRange_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/apocalypseImperialIssue.py b/eos/tests/typeTests/ships/battleships/apocalypseImperialIssue.py
deleted file mode 100755
index 8c7f337db..000000000
--- a/eos/tests/typeTests/ships/battleships/apocalypseImperialIssue.py
+++ /dev/null
@@ -1,56 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Apocalypse Imperial Issue"
-
- # Amarr Battleship Skill Bonus:
- # 10% bonus to Large Energy Turret capacitor use per level
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Heavy Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Gatling Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Battleship Skill Bonus:
- # 5% maximum Capacitor Capacity per level
-
- def test_amarrBattleship_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/apocalypseNavyIssue.py b/eos/tests/typeTests/ships/battleships/apocalypseNavyIssue.py
deleted file mode 100755
index cd12b9a77..000000000
--- a/eos/tests/typeTests/ships/battleships/apocalypseNavyIssue.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Apocalypse Navy Issue"
-
- # Amarr Battleship Skill Bonus:
- # 10% bonus to Large Energy Turret capacitor use per level
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Mega Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Battleship Skill Bonus:
- # 7.5% bonus to Large Energy Turret optimal range per level
-
- def test_amarrBattleship_maxRange_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Tachyon Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_maxRange_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Medium Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/armageddon.py b/eos/tests/typeTests/ships/battleships/armageddon.py
deleted file mode 100755
index 3aec54311..000000000
--- a/eos/tests/typeTests/ships/battleships/armageddon.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Armageddon"
-
- # Amarr Battleship Skill Bonus:
- # 10% bonus to Large Energy Turret capacitor use per level
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Mega Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Quad Light Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Battleship Skill Bonus:
- # 5% Large Energy Turret rate of fire per level
-
- def test_amarrBattleship_speed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "Tachyon Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_speed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/armageddonImperialIssue.py b/eos/tests/typeTests/ships/battleships/armageddonImperialIssue.py
deleted file mode 100755
index eabfc6b5b..000000000
--- a/eos/tests/typeTests/ships/battleships/armageddonImperialIssue.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Armageddon Imperial Issue"
-
- # Amarr Battleship Skill Bonus:
- # 10% bonus to Large Energy Turret capacitor use per level
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Mega Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Battleship Skill Bonus:
- # 5% Large Energy Turret rate of fire per level
-
- def test_amarrBattleship_speed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "Mega Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_speed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual Light Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/armageddonNavyIssue.py b/eos/tests/typeTests/ships/battleships/armageddonNavyIssue.py
deleted file mode 100755
index 8688bb351..000000000
--- a/eos/tests/typeTests/ships/battleships/armageddonNavyIssue.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Armageddon Navy Issue"
-
- # Amarr Battleship Skill Bonus:
- # 10% bonus to Large Energy Turret capacitor use per level
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Heavy Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Battleship Skill Bonus:
- # 5% Large Energy Turret rate of fire per level
-
- def test_amarrBattleship_speed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual Heavy Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_speed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Medium Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/bhaalgorn.py b/eos/tests/typeTests/ships/battleships/bhaalgorn.py
deleted file mode 100755
index 8224010f0..000000000
--- a/eos/tests/typeTests/ships/battleships/bhaalgorn.py
+++ /dev/null
@@ -1,149 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Bhaalgorn"
-
- # Amarr Battleship Skill Bonus:
- # 15% bonus to Energy Vampire drain amount per level
-
- def test_amarrBattleship_powerTransferAmount_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Heavy Nosferatu I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_powerTransferAmount_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Large Energy Transfer Array I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Battleship Skill Bonus:
- # 15% bonus to Energy Neutralizer drain amount per level
-
- def test_amarrBattleship_energyDestabilizationAmount_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Medium Energy Neutralizer I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_energyDestabilizationAmount_other(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Praetor EV-900"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Battleship Skill Bonus:
- # 20% bonus to Stasis Webifier activation range per level
-
- def test_minmatarBattleship_maxRange_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_maxRange_moduleStasisCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Stasis Webifier"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_maxRange_moduleOtherSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Disruptor I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to Large Energy Turret damage
-
- def test_static_damageMultiplier_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Tachyon Beam Laser I"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/dominix.py b/eos/tests/typeTests/ships/battleships/dominix.py
deleted file mode 100755
index 114b1ce9e..000000000
--- a/eos/tests/typeTests/ships/battleships/dominix.py
+++ /dev/null
@@ -1,183 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Dominix"
-
- # Gallente Battleship Skill Bonus:
- # 5% bonus to Large Hybrid Turret damage per skill level
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Neutron Blaster Cannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Railgun I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 10% bonus to drone hitpoints per skill level
-
- def test_gallenteBattleship_hp_droneCombat(self):
- self.buildTested = 0
- item = "Ogre I"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Heavy Shield Maintenance Bot I"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneEwar(self):
- self.buildTested = 0
- item = "Wasp EC-900"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Praetor EV-900"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneMining(self):
- self.buildTested = 0
- item = "Mining Drone I"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 10% bonus to drone damage per skill level
-
- def test_gallenteBattleship_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Infiltrator I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "1200mm Artillery Cannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/dominixNavyIssue.py b/eos/tests/typeTests/ships/battleships/dominixNavyIssue.py
deleted file mode 100755
index 97e84ddcd..000000000
--- a/eos/tests/typeTests/ships/battleships/dominixNavyIssue.py
+++ /dev/null
@@ -1,183 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Dominix Navy Issue"
-
- # Gallente Battleship Skill Bonus:
- # 5% bonus to Large Hybrid Turret damage per skill level
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm Railgun I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 10% bonus to drone hitpoints per skill level
-
- def test_gallenteBattleship_hp_droneCombat(self):
- self.buildTested = 0
- item = "Hobgoblin I"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Medium Armor Maintenance Bot I"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneEwar(self):
- self.buildTested = 0
- item = "Infiltrator TD-600"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Acolyte EV-300"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneMining(self):
- self.buildTested = 0
- item = "Harvester Mining Drone"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 10% bonus to drone damage per skill level
-
- def test_gallenteBattleship_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Wasp I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/hyperion.py b/eos/tests/typeTests/ships/battleships/hyperion.py
deleted file mode 100755
index 1d622661d..000000000
--- a/eos/tests/typeTests/ships/battleships/hyperion.py
+++ /dev/null
@@ -1,102 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Hyperion"
-
- # Gallente Battleship Skill Bonus:
- # 5% large hybrid weapon damage per level
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Electron Blaster Cannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Neutron Blaster I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 7.5% bonus to armor repair amount of armor repair systems per level
-
- def test_gallenteBattleship_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Armor Repairer I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Remote Armor Repair System I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/machariel.py b/eos/tests/typeTests/ships/battleships/machariel.py
deleted file mode 100755
index 2febb2c45..000000000
--- a/eos/tests/typeTests/ships/battleships/machariel.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Machariel"
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Large Projectile Turret damage per level
-
- def test_minmatarBattleship_damageMultiplier_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "1400mm Howitzer Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "220mm Vulcan AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 10% bonus to Large Projectile Turret falloff per level
-
- def test_gallenteBattleship_falloff_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "falloff"
- item = "800mm Repeating Artillery I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "425mm AutoCannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 25% bonus to Large Projectile Turret rate of fire
-
- def test_static_speed_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 425mm AutoCannon I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.75
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "650mm Artillery Cannon I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/maelstrom.py b/eos/tests/typeTests/ships/battleships/maelstrom.py
deleted file mode 100755
index 7d1ada535..000000000
--- a/eos/tests/typeTests/ships/battleships/maelstrom.py
+++ /dev/null
@@ -1,102 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Maelstrom"
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Large Projectile Turret Rate of Fire per level
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "1200mm Artillery Cannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "280mm Howitzer Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Battleship Skill Bonus:
- # 7.5% bonus to Shield Boost Amount per level
-
- def test_minmatarBattleship_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "X-Large Shield Booster I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Large Shield Transporter I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/megathron.py b/eos/tests/typeTests/ships/battleships/megathron.py
deleted file mode 100755
index 275ae649d..000000000
--- a/eos/tests/typeTests/ships/battleships/megathron.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Megathron"
-
- # Gallente Battleship Skill Bonus:
- # 5% bonus to Large Hybrid Turret damage per level
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "350mm Railgun I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "75mm Gatling Rail I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 7.5% bonus to Large Hybrid Turret tracking speed per level
-
- def test_gallenteBattleship_trackingSpeed_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Ion Blaster Cannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/megathronFederateIssue.py b/eos/tests/typeTests/ships/battleships/megathronFederateIssue.py
deleted file mode 100755
index 7a7b67d34..000000000
--- a/eos/tests/typeTests/ships/battleships/megathronFederateIssue.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Megathron Federate Issue"
-
- # Gallente Battleship Skill Bonus:
- # 5% bonus to Large Hybrid Turret damage per level
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Neutron Blaster Cannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Neutron Blaster I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 7.5% bonus to Large Hybrid Turret tracking speed per level
-
- def test_gallenteBattleship_trackingSpeed_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "425mm Railgun I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 150mm Railgun I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/megathronNavyIssue.py b/eos/tests/typeTests/ships/battleships/megathronNavyIssue.py
deleted file mode 100755
index 995bfee56..000000000
--- a/eos/tests/typeTests/ships/battleships/megathronNavyIssue.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Megathron Navy Issue"
-
- # Gallente Battleship Skill Bonus:
- # 5% bonus to Large Hybrid Turret damage per level
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Ion Blaster Cannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 150mm Railgun I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 7.5% bonus to Large Hybrid Turret tracking speed per level
-
- def test_gallenteBattleship_trackingSpeed_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Ion Blaster Cannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/nightmare.py b/eos/tests/typeTests/ships/battleships/nightmare.py
deleted file mode 100755
index 8fdc9448f..000000000
--- a/eos/tests/typeTests/ships/battleships/nightmare.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Nightmare"
-
- # Amarr Battleship Skill Bonus:
- # 7.5% bonus to Large Energy Turret tracking per level
-
- def test_amarrBattleship_trackingSpeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Mega Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_trackingSpeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Focused Medium Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to Large Energy Turret damage per level
-
- def test_caldariBattleship_damageMultiplier_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Mega Beam Laser I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Focused Medium Beam Laser I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to Large Energy Turret damage
-
- def test_static_damageMultiplier_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Heavy Pulse Laser I"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Quad Light Beam Laser I"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/rattlesnake.py b/eos/tests/typeTests/ships/battleships/rattlesnake.py
deleted file mode 100755
index 65e3eaf98..000000000
--- a/eos/tests/typeTests/ships/battleships/rattlesnake.py
+++ /dev/null
@@ -1,353 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Rattlesnake"
-
- # Caldari Battleship Skill Bonus:
- # 5% shield resistance per level
-
- def test_caldariBattleship_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 10% bonus to drone hitpoints per skill level
-
- def test_gallenteBattleship_hp_droneCombat(self):
- self.buildTested = 0
- item = "Berserker I"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Heavy Armor Maintenance Bot I"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneEwar(self):
- self.buildTested = 0
- item = "Ogre SD-900"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Acolyte EV-300"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneMining(self):
- self.buildTested = 0
- item = "Harvester Mining Drone"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 10% bonus to drone damage per skill level
-
- def test_gallenteBattleship_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Garde I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Beam Laser I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Torpedo velocity
-
- def test_static_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Juggernaut Torpedo"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bane Rage Torpedo"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Cruise Missile velocity
-
- def test_static_maxVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Devastator Cruise Missile"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Cataclysm Precision Cruise Missile"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hunter F.O.F. Cruise Missile I"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Scourge Heavy Missile"
- ship_other = "Tempest"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/raven.py b/eos/tests/typeTests/ships/battleships/raven.py
deleted file mode 100755
index 6518936c3..000000000
--- a/eos/tests/typeTests/ships/battleships/raven.py
+++ /dev/null
@@ -1,153 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Raven"
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to Siege Launcher Rate Of Fire per level
-
- def test_caldariBattleship_speed_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to Cruise Launcher Rate Of Fire per level
-
- def test_caldariBattleship_speed_moduleLauncherMissileCruise(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 10% bonus to Torpedo Velocity per level
-
- def test_caldariBattleship_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Juggernaut Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Inferno Javelin Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 10% bonus to Cruise Missile Velocity per level
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Cataclysm Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Devastator Precision Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Phoenix F.O.F. Cruise Missile I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Gremlin Rocket"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/ravenNavyIssue.py b/eos/tests/typeTests/ships/battleships/ravenNavyIssue.py
deleted file mode 100755
index 37e9c781d..000000000
--- a/eos/tests/typeTests/ships/battleships/ravenNavyIssue.py
+++ /dev/null
@@ -1,153 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Raven Navy Issue"
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to Siege Missile Launcher Rate Of Fire per level of skill
-
- def test_caldariBattleship_speed_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to Cruise Missile Launcher Rate Of Fire per level of skill
-
- def test_caldariBattleship_speed_moduleLauncherMissileCruise(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 10% bonus to Torpedo Velocity per level of skill
-
- def test_caldariBattleship_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bane Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Mjolnir Rage Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 10% bonus to Cruise Missile Velocity per level of skill
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Devastator Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Paradise Fury Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hunter F.O.F. Cruise Missile I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Terror Assault Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/ravenStateIssue.py b/eos/tests/typeTests/ships/battleships/ravenStateIssue.py
deleted file mode 100755
index b8acc5bf2..000000000
--- a/eos/tests/typeTests/ships/battleships/ravenStateIssue.py
+++ /dev/null
@@ -1,153 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Raven State Issue"
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to Siege Missile Launcher Rate Of Fire per level of skill
-
- def test_caldariBattleship_speed_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to Cruise Missile Launcher Rate Of Fire per level of skill
-
- def test_caldariBattleship_speed_moduleLauncherMissileCruise(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 10% bonus to Torpedo Velocity per level of skill
-
- def test_caldariBattleship_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Inferno Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Juggernaut Javelin Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 10% bonus to Cruise Missile Velocity per level of skill
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Wrath Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Devastator Fury Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunderbolt Heavy Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/rokh.py b/eos/tests/typeTests/ships/battleships/rokh.py
deleted file mode 100755
index 9c24fa7ca..000000000
--- a/eos/tests/typeTests/ships/battleships/rokh.py
+++ /dev/null
@@ -1,158 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Rokh"
-
- # Caldari Battleship Skill Bonus:
- # 10% large hybrid optimal range per level
-
- def test_caldariBattleship_maxRange_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "425mm Railgun I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "75mm Gatling Rail I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 5% shield resistance per level
-
- def test_caldariBattleship_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/scorpion.py b/eos/tests/typeTests/ships/battleships/scorpion.py
deleted file mode 100755
index f00b3b730..000000000
--- a/eos/tests/typeTests/ships/battleships/scorpion.py
+++ /dev/null
@@ -1,228 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Scorpion"
-
- # Caldari Battleship Skill Bonus:
- # 15% bonus to ECM Target Jammer strength per level
-
- def test_caldariBattleship_scanGravimetricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM - Multispectral Jammer I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanGravimetricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanLadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM - Phase Inverter I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanLadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanMagnetometricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM - Spatial Destabilizer I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanMagnetometricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanRadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM - White Noise Generator I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanRadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 20% bonus to ECM Target Jammer optimal range per level
-
- def test_caldariBattleship_maxRange_moduleEcm(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECM - Ion Field Projector I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECCM Projector I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 20% bonus to ECM Target Jammer falloff range per level
-
- def test_caldariBattleship_falloff_moduleEcm(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECM - Multispectral Jammer I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_falloff_moduleOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECCM Projector I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 20% Bonus to ECM Burst Range per level
-
- def test_caldariBattleship_ecmBurstRange_moduleEcmBurst(self):
- self.buildTested = 0
- attr = "ecmBurstRange"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_falloff_moduleEcmBurst(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/scorpionIshukoneWatch.py b/eos/tests/typeTests/ships/battleships/scorpionIshukoneWatch.py
deleted file mode 100755
index 0cae52344..000000000
--- a/eos/tests/typeTests/ships/battleships/scorpionIshukoneWatch.py
+++ /dev/null
@@ -1,228 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Scorpion Ishukone Watch"
-
- # Caldari Battleship Skill Bonus:
- # 15% bonus to ECM Target Jammer strength per level
-
- def test_caldariBattleship_scanGravimetricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM - White Noise Generator I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanGravimetricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanLadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM - Phase Inverter I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanLadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanMagnetometricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM - Ion Field Projector I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanMagnetometricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanRadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM - Multispectral Jammer I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_scanRadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 20% bonus to ECM Target Jammer optimal range per level
-
- def test_caldariBattleship_maxRange_moduleEcm(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECM - Phase Inverter I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECCM Projector I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 20% bonus to ECM Target Jammer falloff range per level
-
- def test_caldariBattleship_falloff_moduleEcm(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECM - Multispectral Jammer I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_falloff_moduleOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECCM Projector I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 20% Bonus to ECM Burst Range per level
-
- def test_caldariBattleship_ecmBurstRange_moduleEcmBurst(self):
- self.buildTested = 0
- attr = "ecmBurstRange"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_falloff_moduleEcmBurst(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECM Burst I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/scorpionNavyIssue.py b/eos/tests/typeTests/ships/battleships/scorpionNavyIssue.py
deleted file mode 100755
index cf7863a00..000000000
--- a/eos/tests/typeTests/ships/battleships/scorpionNavyIssue.py
+++ /dev/null
@@ -1,176 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Scorpion Navy Issue"
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to Siege Launcher Rate Of Fire per level
-
- def test_caldariBattleship_speed_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to Cruise Launcher Rate Of Fire per level
-
- def test_caldariBattleship_speed_moduleLauncherMissileCruise(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 5% shield resistance per level
-
- def test_caldariBattleship_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/tempest.py b/eos/tests/typeTests/ships/battleships/tempest.py
deleted file mode 100755
index b70456b0a..000000000
--- a/eos/tests/typeTests/ships/battleships/tempest.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Tempest"
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Large Projectile Turret Rate of Fire per level
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "1400mm Howitzer Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 180mm AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Large Projectile Turret damage per level
-
- def test_minmatarBattleship_damageMultiplier_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "800mm Repeating Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Light Artillery Cannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/tempestFleetIssue.py b/eos/tests/typeTests/ships/battleships/tempestFleetIssue.py
deleted file mode 100755
index dce4082b4..000000000
--- a/eos/tests/typeTests/ships/battleships/tempestFleetIssue.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Tempest Fleet Issue"
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Large Projectile Turret rate of fire per level
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 425mm AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "200mm AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Large Projectile Turret damage per level
-
- def test_minmatarBattleship_damageMultiplier_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 650mm Repeating Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "720mm Howitzer Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/tempestTribalIssue.py b/eos/tests/typeTests/ships/battleships/tempestTribalIssue.py
deleted file mode 100755
index 6a56ca80e..000000000
--- a/eos/tests/typeTests/ships/battleships/tempestTribalIssue.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Tempest Tribal Issue"
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Large Projectile Turret rate of fire per level
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "1200mm Artillery Cannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "150mm Light AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Large Projectile Turret damage per level
-
- def test_minmatarBattleship_damageMultiplier_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 425mm AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/typhoon.py b/eos/tests/typeTests/ships/battleships/typhoon.py
deleted file mode 100755
index a51554f41..000000000
--- a/eos/tests/typeTests/ships/battleships/typhoon.py
+++ /dev/null
@@ -1,90 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Typhoon"
-
- # Battleship Skill Bonus:
- # 5% bonus to Large Projectile Turret Rate of Fire per level
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "800mm Repeating Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "650mm Artillery Cannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battleship Skill Bonus:
- # 5% bonus to Siege missile launcher Rate of Fire per level
-
- def test_minmatarBattleship_speed_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battleship Skill Bonus:
- # 5% bonus to Cruise missile launcher Rate of Fire per level
-
- def test_minmatarBattleship_speed_moduleLauncherMissileCruise(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/typhoonFleetIssue.py b/eos/tests/typeTests/ships/battleships/typhoonFleetIssue.py
deleted file mode 100755
index bfff13127..000000000
--- a/eos/tests/typeTests/ships/battleships/typhoonFleetIssue.py
+++ /dev/null
@@ -1,90 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Typhoon Fleet Issue"
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Large Projectile Turret Rate of Fire per level
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 425mm AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "125mm Gatling AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Siege missile launcher Rate of Fire per level
-
- def test_minmatarBattleship_speed_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to Cruise missile launcher Rate of Fire per level
-
- def test_minmatarBattleship_speed_moduleLauncherMissileCruise(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/battleships/vindicator.py b/eos/tests/typeTests/ships/battleships/vindicator.py
deleted file mode 100755
index 501f721a5..000000000
--- a/eos/tests/typeTests/ships/battleships/vindicator.py
+++ /dev/null
@@ -1,116 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Vindicator"
-
- # Gallente Battleship Skill Bonus:
- # 7.5% bonus to Large Hybrid Turret tracking speed per level
-
- def test_gallenteBattleship_trackingSpeed_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Electron Blaster Cannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "150mm Railgun I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Battleship Skill Bonus:
- # 10% bonus to the velocity factor of stasis webifiers per level
-
- def test_minmatarBattleship_speedFactor_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Stasis Webifier I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speedFactor_moduleStasisCivilian(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Civilian Stasis Webifier"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speedFactor_moduleOther(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "100MN Afterburner I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 37.5% bonus to Large Hybrid Turret damage
-
- def test_static_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Neutron Blaster Cannon I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.375
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/blackOps/__init__.py b/eos/tests/typeTests/ships/blackOps/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/blackOps/panther.py b/eos/tests/typeTests/ships/blackOps/panther.py
deleted file mode 100755
index c653de8e3..000000000
--- a/eos/tests/typeTests/ships/blackOps/panther.py
+++ /dev/null
@@ -1,163 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Panther"
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to large projectile turret rate of fire per level
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 650mm Repeating Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "425mm AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to large projectile turret damage per level
-
- def test_minmatarBattleship_damageMultiplier_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "1400mm Howitzer Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "720mm Howitzer Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Black Ops Skill Bonus:
- # 5% bonus to velocity per level
-
- def test_blackOps_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Black Ops Skill Bonus:
- # Multiplies the cloaked velocity by 125% per level
-
- def test_blackOps_maxVelocity_shipCloakActive(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Black Ops"
- miscitm = ("Prototype Cloaking Device I", "active")
- iLvl = 1
- iIngame = 1.25
- fLvl = 4
- fIngame = 5.0
- iEosNoCloak = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- iEosCloak = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEosNoCloak = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- fEosCloak = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- # Also consider speed factor w/o cloak as other effect affects speed
- dEos = (iEosNoCloak / fEosNoCloak) * (fEosCloak / iEosCloak)
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_maxVelocity_shipCloakOnline(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Black Ops"
- miscitm = ("Prototype Cloaking Device I", "online")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEosNoCloak = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- iEosCloak = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEosNoCloak = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- fEosCloak = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- # Also consider speed factor w/o cloak as other effect affects speed
- dEos = (iEosNoCloak / fEosNoCloak) * (fEosCloak / iEosCloak)
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Note:
- # No targeting delay after decloaking
-
- def test_static_cloakingTargetingDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cloakingTargetingDelay"
- item = "Prototype Cloaking Device I"
- ingame = 0.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/blackOps/redeemer.py b/eos/tests/typeTests/ships/blackOps/redeemer.py
deleted file mode 100755
index e7bb63c41..000000000
--- a/eos/tests/typeTests/ships/blackOps/redeemer.py
+++ /dev/null
@@ -1,173 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Redeemer"
-
- # Amarr Battleship Skill Bonus:
- # 10% reduction in large energy turret capacitor use per level
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Heavy Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Pulse Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Battleship Skill Bonus:
- # 5% bonus to large energy turret rate of fire per level
-
- def test_amarrBattleship_speed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "Mega Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_speed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Medium Beam Laser I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Black Ops Skill Bonus:
- # 7.5% bonus to large energy turret tracking per level
-
- def test_blackOps_trackingSpeed_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual Heavy Pulse Laser I"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_trackingSpeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Medium Pulse Laser I"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Black Ops Skill Bonus:
- # Multiplies the cloaked velocity by 125% per level
-
- def test_blackOps_maxVelocity_shipCloakActive(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Black Ops"
- miscitm = ("Prototype Cloaking Device I", "active")
- iLvl = 1
- iIngame = 1.25
- fLvl = 4
- fIngame = 5.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_maxVelocity_shipCloakOnline(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Black Ops"
- miscitm = ("Prototype Cloaking Device I", "online")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Note:
- # No targeting delay after decloaking
-
- def test_static_cloakingTargetingDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cloakingTargetingDelay"
- item = "Prototype Cloaking Device I"
- ingame = 0.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/blackOps/sin.py b/eos/tests/typeTests/ships/blackOps/sin.py
deleted file mode 100755
index 1e146618f..000000000
--- a/eos/tests/typeTests/ships/blackOps/sin.py
+++ /dev/null
@@ -1,268 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Sin"
-
- # Gallente Battleship Skill Bonus:
- # 5% bonus to large hybrid turret damage per skill level
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Ion Blaster Cannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 10% bonus to drone hit points per skill level
-
- def test_gallenteBattleship_hp_droneCombat(self):
- self.buildTested = 0
- item = "Praetor I"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Light Armor Maintenance Bot I"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneEwar(self):
- self.buildTested = 0
- item = "Infiltrator TD-600"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Infiltrator EV-600"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_hp_droneMining(self):
- self.buildTested = 0
- item = "Mining Drone I"
- skill = "Gallente Battleship"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 10% bonus to drone damage per skill level
-
- def test_gallenteBattleship_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Valkyrie I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Beam Laser I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Black Ops Skill Bonus:
- # 5% bonus to agility per level
-
- def test_blackOps_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Black Ops Skill Bonus:
- # Multiplies the cloaked velocity by 125% per level
-
- def test_blackOps_maxVelocity_shipCloakActive(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Black Ops"
- miscitm = ("Prototype Cloaking Device I", "active")
- iLvl = 1
- iIngame = 1.25
- fLvl = 4
- fIngame = 5.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_maxVelocity_shipCloakOnline(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Black Ops"
- miscitm = ("Prototype Cloaking Device I", "online")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Note:
- # No targeting delay after decloaking
-
- def test_static_cloakingTargetingDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cloakingTargetingDelay"
- item = "Prototype Cloaking Device I"
- ingame = 0.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/blackOps/widow.py b/eos/tests/typeTests/ships/blackOps/widow.py
deleted file mode 100755
index b89e4a540..000000000
--- a/eos/tests/typeTests/ships/blackOps/widow.py
+++ /dev/null
@@ -1,404 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Widow"
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to siege missile launcher rate of fire per level
-
- def test_caldariBattleship_speed_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to cruise missile launcher rate of fire per level
-
- def test_caldariBattleship_speed_moduleLauncherMissileCruise(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 10% bonus to torpedo velocity per level
-
- def test_caldariBattleship_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Inferno Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Juggernaut Javelin Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 10% bonus to cruise missile velocity per level
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Wrath Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Wrath Fury Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Sabretooth Light Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Black Ops Skill Bonus:
- # 30% bonus to ECM target jammer strength per level
-
- def test_blackOps_scanGravimetricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM - Spatial Destabilizer I"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanGravimetricStrengthBonus_moduleEcmBurst(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM Burst I"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanGravimetricStrengthBonus_other(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "Vespa EC-600"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanLadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM - Phase Inverter I"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanLadarStrengthBonus_moduleEcmBurst(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanLadarStrengthBonus_other(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "Vespa EC-600"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanMagnetometricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM - Multispectral Jammer I"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanMagnetometricStrengthBonus_moduleEcmBurst(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM Burst I"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanMagnetometricStrengthBonus_other(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "Vespa EC-600"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanRadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM - Ion Field Projector I"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanRadarStrengthBonus_moduleEcmBurst(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_scanRadarStrengthBonus_other(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "Vespa EC-600"
- skill = "Black Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Black Ops Skill Bonus:
- # Multiplies the cloaked velocity by 125% per level
-
- def test_blackOps_maxVelocity_shipCloakActive(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Black Ops"
- miscitm = ("Prototype Cloaking Device I", "active")
- iLvl = 1
- iIngame = 1.25
- fLvl = 4
- fIngame = 5.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_blackOps_maxVelocity_shipCloakOnline(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Black Ops"
- miscitm = ("Prototype Cloaking Device I", "online")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Note:
- # No targeting delay after decloaking
-
- def test_static_cloakingTargetingDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cloakingTargetingDelay"
- item = "Prototype Cloaking Device I"
- ingame = 0.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/capitalIndustrialShips/__init__.py b/eos/tests/typeTests/ships/capitalIndustrialShips/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/capitalIndustrialShips/rorqual.py b/eos/tests/typeTests/ships/capitalIndustrialShips/rorqual.py
deleted file mode 100755
index e418479b0..000000000
--- a/eos/tests/typeTests/ships/capitalIndustrialShips/rorqual.py
+++ /dev/null
@@ -1,386 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Rorqual"
-
- # Capital Industrial Ships skill bonuses:
- # -5% reduction in fuel consumption for industrial cores per level
-
- def test_capitalIndustrialShips_consumptionQuantity_moduleSiegeModuleSkillrqIndustrialReconfiguration(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Industrial Core I"
- skill = "Capital Industrial Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capitalIndustrialShips_consumptionQuantity_moduleOther(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Clone Vat Bay I"
- skill = "Capital Industrial Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Capital Industrial Ships skill bonuses:
- # 10% bonus to effectiveness of mining foreman gang links per level when in deployed mode
-
- def test_capitalIndustrialShips_commandBonus_moduleGangCoordinatorSkillrqMiningDirectorSiegeActive(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Mining Foreman Link - Laser Optimization I"
- skill = "Capital Industrial Ships"
- miscitm = ("Industrial Core I", "active")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capitalIndustrialShips_commandBonus_moduleGangCoordinatorSkillrqMiningDirectorSiegeOnline(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Mining Foreman Link - Harvester Capacitor Efficiency I"
- skill = "Capital Industrial Ships"
- miscitm = ("Industrial Core I", "online")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capitalIndustrialShips_commandBonus_moduleGangCoordinatorSkillrqOtherSiegeActive(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Armored Warfare Link - Damage Control I"
- skill = "Capital Industrial Ships"
- miscitm = ("Industrial Core I", "active")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship, miscitms=miscitm)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship, miscitms=miscitm)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Capital Industrial Ships skill bonuses:
- # 50% bonus to the range of Capital Shield Transporters per level
-
- def test_capitalIndustrialShips_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- skill = "Capital Industrial Ships"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capitalIndustrialShips_shieldTransferRange_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Large Shield Transporter I"
- skill = "Capital Industrial Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Capital Industrial Ships skill bonuses:
- # 20% bonus to drone hitpoints per level
-
- def test_capitalIndustrialShips_hp_droneCombat(self):
- self.buildTested = 0
- item = "Bouncer I"
- skill = "Capital Industrial Ships"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capitalIndustrialShips_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Heavy Shield Maintenance Bot I"
- skill = "Capital Industrial Ships"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capitalIndustrialShips_hp_droneEwar(self):
- self.buildTested = 0
- item = "Berserker TP-900"
- skill = "Capital Industrial Ships"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capitalIndustrialShips_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Praetor EV-900"
- skill = "Capital Industrial Ships"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capitalIndustrialShips_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Capital Industrial Ships"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capitalIndustrialShips_hp_droneMining(self):
- self.buildTested = 0
- item = "Harvester Mining Drone"
- skill = "Capital Industrial Ships"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Capital Industrial Ships skill bonuses:
- # 20% bonus to drone damage per level
-
- def test_capitalIndustrialShips_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Warrior I"
- skill = "Capital Industrial Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capitalIndustrialShips_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heat Sink I"
- skill = "Capital Industrial Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonuses:
- # 900% bonus to the range of survey scanners
-
- def test_static_surveyScanRange_moduleSurveyScanner(self):
- self.buildTested = 0
- attr = "surveyScanRange"
- item = "Survey Scanner I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 10.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonuses:
- # 200% bonus to the range of cargo scanners
-
- def test_static_cargoScanRange_moduleCargoScanner(self):
- self.buildTested = 0
- attr = "cargoScanRange"
- item = "Cargo Scanner I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_falloff_moduleCargoScanner(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Cargo Scanner I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Gang Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Information Warfare Link - Recon Operation I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Can use 3 Gang Link modules simultaneously.
-
- def test_static_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "Siege Warfare Link - Shield Efficiency I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "100MN MicroWarpdrive I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/carriers/__init__.py b/eos/tests/typeTests/ships/carriers/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/carriers/archon.py b/eos/tests/typeTests/ships/carriers/archon.py
deleted file mode 100755
index 9dc0d268c..000000000
--- a/eos/tests/typeTests/ships/carriers/archon.py
+++ /dev/null
@@ -1,284 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Archon"
-
- # Amarr Carrier Skill Bonuses:
- # 50% bonus to Capital Energy transfer range per level
-
- def test_amarrCarrier_powerTransferRange_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Capital Energy Transfer Array I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_powerTransferRange_moduleEnergyTransferOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Large Energy Transfer Array I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Carrier Skill Bonuses:
- # 50% bonus to Capital Armor transfer range per level
-
- def test_amarrCarrier_maxRange_moduleRemoteRepairerCapital(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Capital Remote Armor Repair System I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_maxRange_moduleRemoteRepairerOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Medium Remote Armor Repair System I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Carrier Skill Bonuses:
- # 5% bonus to all Armor resistances per level
-
- def test_amarrCarrier_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Carrier Skill Bonuses:
- # Can deploy 1 additional Fighter or Drone per level
-
- def test_amarrCarrier_maxActiveDrones_ship(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 6.0
- fLvl = 4
- fIngame = 9.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Mining Foreman Link - Laser Optimization I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Drone Control Units
- # Moved from Drone Control Unit module tests, not listed as bonus of ship
-
- def test_static_cpu_moduleDroneControlUnit(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Drone Control Unit I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 200% bonus to Fighter control range
-
- def test_static_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=ship_other)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/carriers/chimera.py b/eos/tests/typeTests/ships/carriers/chimera.py
deleted file mode 100755
index 11df27faf..000000000
--- a/eos/tests/typeTests/ships/carriers/chimera.py
+++ /dev/null
@@ -1,284 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Chimera"
-
- # Caldari Carrier Skill Bonuses:
- # 50% bonus to Capital Energy transfer range per level
-
- def test_caldariCarrier_powerTransferRange_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Capital Energy Transfer Array I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_powerTransferRange_moduleEnergyTransferOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Small Energy Transfer Array I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Carrier Skill Bonuses:
- # 50% bonus to Capital Shield transfer range per level
-
- def test_caldariCarrier_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldTransferRange_moduleShieldTransporterOther(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Large Shield Transporter I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Carrier Skill Bonuses:
- # 5% bonus to all Shield resistances per level
-
- def test_caldariCarrier_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Carrier Skill Bonuses:
- # Can deploy 1 additional Fighter or Drone per level
-
- def test_caldariCarrier_maxActiveDrones_ship(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 6.0
- fLvl = 4
- fIngame = 9.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Siege Warfare Link - Shield Harmonizing I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Drone Control Units
- # Moved from Drone Control Unit module tests, not listed as bonus of ship
-
- def test_static_cpu_moduleDroneControlUnit(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Drone Control Unit I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 200% bonus to Fighter control range
-
- def test_static_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=ship_other)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/carriers/nidhoggur.py b/eos/tests/typeTests/ships/carriers/nidhoggur.py
deleted file mode 100755
index a925a2448..000000000
--- a/eos/tests/typeTests/ships/carriers/nidhoggur.py
+++ /dev/null
@@ -1,291 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Nidhoggur"
-
- # Minmatar Carrier Skill Bonuses:
- # 50% bonus to Capital Shield transfer range per level
-
- def test_minmatarCarrier_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_shieldTransferRange_moduleShieldTransporterOther(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Small Shield Transporter I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Carrier Skill Bonuses:
- # 50% bonus to Capital Armor transfer range per level
-
- def test_minmatarCarrier_maxRange_moduleRemoteRepairerCapital(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Capital Remote Armor Repair System I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_maxRange_moduleRemoteRepairerOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Large Remote Armor Repair System I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Carrier Skill Bonuses:
- # 7.5% bonus to Shield transfer amount per level
-
- def test_minmatarCarrier_shieldBonus_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Transporter I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_shieldBonus_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Large Shield Transporter I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_shieldBonus_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Remote Shield Transporter"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_shieldBonus_other(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Maintenance Bot I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Carrier Skill Bonuses:
- # 7.5% bonus to Armor transfer amount per level
-
- def test_minmatarCarrier_armorDamageAmount_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Remote Armor Repair System I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_armorDamageAmount_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Remote Armor Repair System I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_armorDamageAmount_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Remote Armor Repair System"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Armor Repairer I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Carrier Skill Bonuses:
- # Can deploy 1 additional Fighter or Drone per level
-
- def test_minmatarCarrier_maxActiveDrones_ship(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 6.0
- fLvl = 4
- fIngame = 9.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Information Warfare Link - Sensor Integrity I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Drone Control Units
- # Moved from Drone Control Unit module tests, not listed as bonus of ship
-
- def test_static_cpu_moduleDroneControlUnit(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Drone Control Unit I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 200% bonus to Fighter control range
-
- def test_static_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=ship_other)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/carriers/thanatos.py b/eos/tests/typeTests/ships/carriers/thanatos.py
deleted file mode 100755
index 171caeb4b..000000000
--- a/eos/tests/typeTests/ships/carriers/thanatos.py
+++ /dev/null
@@ -1,198 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Thanatos"
-
- # Gallente Carrier Skill Bonuses:
- # 50% bonus to Capital Shield transfer range per level
-
- def test_gallenteCarrier_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCarrier_shieldTransferRange_moduleShieldTransporterOther(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Medium Shield Transporter I"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Carrier Skill Bonuses:
- # 50% bonus to Capital Armor transfer range per level
-
- def test_gallenteCarrier_maxRange_moduleRemoteRepairerCapital(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Capital Remote Armor Repair System I"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCarrier_maxRange_moduleRemoteRepairerOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Large Remote Armor Repair System I"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Carrier Skill Bonuses:
- # 5% bonus to deployed Fighters' damage per level
-
- def test_gallenteCarrier_damageMultiplier_droneFighter(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Firbolg"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCarrier_damageMultiplier_droneOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Vespa I"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Carrier Skill Bonuses:
- # Can deploy 1 additional Fighter or Drone per level
-
- def test_gallenteCarrier_maxActiveDrones_ship(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 6.0
- fLvl = 4
- fIngame = 9.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Armored Warfare Link - Passive Defense I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Drone Control Units
- # Moved from Drone Control Unit module tests, not listed as bonus of ship
-
- def test_static_cpu_moduleDroneControlUnit(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Drone Control Unit I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 200% bonus to Fighter control range
-
- def test_static_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=ship_other)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/combatReconShips/__init__.py b/eos/tests/typeTests/ships/combatReconShips/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/combatReconShips/curse.py b/eos/tests/typeTests/ships/combatReconShips/curse.py
deleted file mode 100755
index 285ba7da9..000000000
--- a/eos/tests/typeTests/ships/combatReconShips/curse.py
+++ /dev/null
@@ -1,375 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Curse"
-
- # Amarr Cruiser Skill Bonus:
- # 5% bonus to Tracking Disruptor effectiveness per level
-
- def test_amarrCruiser_maxRangeBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_maxRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Medium Energy Locus Coordinator I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_falloffBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_falloffBonus_moduleOther(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Computer I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_trackingSpeedBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_trackingSpeedBonus_moduleOther(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Enhancer I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to drone hit points per level
-
- def test_amarrCruiser_hp_droneCombat(self):
- self.buildTested = 0
- item = "Acolyte I"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Light Armor Maintenance Bot I"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneEwar(self):
- self.buildTested = 0
- item = "Vespa EC-600"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Acolyte EV-300"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneMining(self):
- self.buildTested = 0
- item = "Mining Drone I"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to drone damage per level
-
- def test_amarrCruiser_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Garde I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm AutoCannon I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 40% bonus to Energy Vampire range per level
-
- def test_reconShips_powerTransferRange_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Small Nosferatu I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.4
- fLvl = 4
- fIngame = 2.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_powerTransferRange_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Medium Energy Transfer Array I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 40% bonus to Energy Neutralizer range per level
-
- def test_reconShips_energyDestabilizationRange_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationRange"
- item = "Heavy Energy Neutralizer I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.4
- fLvl = 4
- fIngame = 2.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_energyDestabilizationRange_other(self):
- self.buildTested = 0
- attr = "energyDestabilizationRange"
- item = "Praetor EV-900"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 20% bonus to Energy Vampire transfer amount per level
-
- def test_reconShips_powerTransferAmount_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Medium Nosferatu I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_powerTransferAmount_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Small Energy Transfer Array I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 20% bonus to Energy Neutralizer transfer amount per level
-
- def test_reconShips_energyDestabilizationAmount_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Medium Energy Neutralizer I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_energyDestabilizationAmount_other(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Infiltrator EV-600"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/combatReconShips/huginn.py b/eos/tests/typeTests/ships/combatReconShips/huginn.py
deleted file mode 100755
index 23d008dcc..000000000
--- a/eos/tests/typeTests/ships/combatReconShips/huginn.py
+++ /dev/null
@@ -1,189 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Huginn"
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret rate of fire per level
-
- def test_minmatarCruiser_speed_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "720mm Howitzer Artillery I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "200mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 7.5% bonus to target painter effectiveness per level
-
- def test_minmatarCruiser_signatureRadiusBonus_moduleTargetPainter(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_signatureRadiusBonus_other(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Valkyrie TP-600"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 60% bonus to stasis webifier range per level
-
- def test_reconShips_maxRange_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.6
- fLvl = 4
- fIngame = 3.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxRange_moduleStasisWebCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Stasis Webifier"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.6
- fLvl = 4
- fIngame = 3.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Disruptor I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 5% bonus to Assault Missile Launcher rate of fire per level
-
- def test_reconShips_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 5% bonus to heavy assault missile launcher rate of fire per level
-
- def test_reconShips_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 5% bonus to Heavy Missile Launcher rate of fire per level
-
- def test_reconShips_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/combatReconShips/lachesis.py b/eos/tests/typeTests/ships/combatReconShips/lachesis.py
deleted file mode 100755
index 833aff522..000000000
--- a/eos/tests/typeTests/ships/combatReconShips/lachesis.py
+++ /dev/null
@@ -1,201 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Lachesis"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm Railgun I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Remote Sensor Dampener effectiveness per level
-
- def test_gallenteCruiser_maxTargetRangeBonus_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "maxTargetRangeBonus"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_maxTargetRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxTargetRangeBonus"
- item = "Remote Sensor Booster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_scanResolutionBonus_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "scanResolutionBonus"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_scanResolutionBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanResolutionBonus"
- item = "Remote Sensor Booster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 20% bonus to warp disruptor range per level
-
- def test_reconShips_maxRange_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Scrambler I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxRange_moduleWarpScramblerCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Warp Disruptor"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 5% bonus to Assault Missile Launcher rate of fire per level
-
- def test_reconShips_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 5% bonus to Heavy Missile Launcher rate of fire per level
-
- def test_reconShips_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/combatReconShips/rook.py b/eos/tests/typeTests/ships/combatReconShips/rook.py
deleted file mode 100755
index 4a93a3685..000000000
--- a/eos/tests/typeTests/ships/combatReconShips/rook.py
+++ /dev/null
@@ -1,309 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Rook"
-
- # Caldari Cruiser Skill Bonus:
- # 5% Bonus to Heavy Assault Missile Launcher Rate of Fire per level
-
- def test_caldariCruiser_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 5% Bonus to Heavy Missile Launcher Rate of Fire per level
-
- def test_caldariCruiser_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% Bonus to ECM Target Jammer capacitor use per level
-
- def test_caldariCruiser_capacitorNeed_moduleECM(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM - Multispectral Jammer I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM Burst I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 30% Bonus to ECM Target Jammer strength per level
-
- def test_reconShips_scanGravimetricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM - Ion Field Projector I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanGravimetricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM Burst I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanLadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM - White Noise Generator I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanLadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanMagnetometricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM - Phase Inverter I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanMagnetometricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM Burst I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanRadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM - Multispectral Jammer I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanRadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 10% Bonus to Heavy Assault Missile velocity per level
-
- def test_reconShips_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Torrent Assault Missile"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Terror Javelin Assault Missile"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 10% Bonus to Heavy Missile velocity per level
-
- def test_reconShips_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Scourge Heavy Missile"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Havoc Fury Heavy Missile"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellhound F.O.F. Heavy Missile I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Defender I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/commandShips/__init__.py b/eos/tests/typeTests/ships/commandShips/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/commandShips/absolution.py b/eos/tests/typeTests/ships/commandShips/absolution.py
deleted file mode 100755
index 5d54c6308..000000000
--- a/eos/tests/typeTests/ships/commandShips/absolution.py
+++ /dev/null
@@ -1,253 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Absolution"
-
- # Battlecruiser Skill Bonus:
- # 10% reduction in Medium Energy Turret capacitor use per level
-
- def test_battlecruisers_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Pulse Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Beam Laser I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to all armor resistances per level
-
- def test_battlecruisers_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 5% bonus to Medium Energy Turret damage per level
-
- def test_commandShips_damageMultiplier_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Beam Laser I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Beam Laser I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 5% bonus to Medium Energy Turret rate of fire per level
-
- def test_commandShips_speed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Pulse Laser I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_speed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Tachyon Beam Laser I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Mining Foreman Link - Mining Laser Field Enhancement I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/commandShips/astarte.py b/eos/tests/typeTests/ships/commandShips/astarte.py
deleted file mode 100755
index e64d71e22..000000000
--- a/eos/tests/typeTests/ships/commandShips/astarte.py
+++ /dev/null
@@ -1,197 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Astarte"
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_battlecruisers_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm Railgun I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "125mm Railgun I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 7.5% bonus to Armor Repairer effectiveness per level
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Armor Repairer I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Armor Maintenance Bot I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_commandShips_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Electron Blaster I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Ion Blaster I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 10% bonus to Medium Hybrid turret falloff per level
-
- def test_commandShips_falloff_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Heavy Neutron Blaster I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "75mm Gatling Rail I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Armored Warfare Link - Damage Control I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/commandShips/claymore.py b/eos/tests/typeTests/ships/commandShips/claymore.py
deleted file mode 100755
index a09ff91ec..000000000
--- a/eos/tests/typeTests/ships/commandShips/claymore.py
+++ /dev/null
@@ -1,226 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Claymore"
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret rate of fire per level
-
- def test_battlecruisers_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "220mm Vulcan AutoCannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "280mm Howitzer Artillery I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 7.5% bonus to Shield Booster effectiveness per level
-
- def test_battlecruisers_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Booster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Transporter I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 7.5% bonus to Medium Projectile Turret tracking speed per level
-
- def test_commandShips_trackingSpeed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 180mm AutoCannon I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 650mm Repeating Artillery I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 3% bonus to effectiveness of Skirmish Warfare Links per level
-
- def test_commandShips_commandBonus_moduleGangCoordinatorSkillrqArmored(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Skirmish Warfare Link - Interdiction Maneuvers I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_commandBonus_moduleGangCoordinatorSkillrqOther(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Information Warfare Link - Recon Operation I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Siege Warfare Link - Shield Efficiency I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # Can use 3 Warfare Link modules simultaneously
-
- def test_static_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "Skirmish Warfare Link - Evasive Maneuvers I"
- ship_other = "Prophecy"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "ECM Burst I"
- ship_other = "Prophecy"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/commandShips/damnation.py b/eos/tests/typeTests/ships/commandShips/damnation.py
deleted file mode 100755
index b8b0c9f57..000000000
--- a/eos/tests/typeTests/ships/commandShips/damnation.py
+++ /dev/null
@@ -1,329 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Damnation"
-
- # Battlecruiser Skill Bonus:
- # 10% bonus to Heavy Assault Missile velocity per level
-
- def test_battlecruisers_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Assault Missile"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Terror Rage Assault Missile"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 10% bonus to Heavy Missile velocity per level
-
- def test_battlecruisers_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Havoc Heavy Missile"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunderbolt Fury Heavy Missile"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Eradicator F.O.F. Heavy Missile I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Light Missile"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to all armor resistances per level
-
- def test_battlecruisers_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 10% bonus to armor hitpoints per level
-
- def test_commandShips_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 3% bonus to effectiveness of Armored Warfare Links per level
-
- def test_commandShips_commandBonus_moduleGangCoordinatorSkillrqArmored(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Armored Warfare Link - Damage Control I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_commandBonus_moduleGangCoordinatorSkillrqOther(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Siege Warfare Link - Active Shielding I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Armored Warfare Link - Passive Defense I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # Can use 3 Warfare Link modules simultaneously
-
- def test_static_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "Siege Warfare Link - Shield Harmonizing I"
- ship_other = "Prophecy"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "10MN Afterburner I"
- ship_other = "Prophecy"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/commandShips/eosCS.py b/eos/tests/typeTests/ships/commandShips/eosCS.py
deleted file mode 100755
index ff6c58967..000000000
--- a/eos/tests/typeTests/ships/commandShips/eosCS.py
+++ /dev/null
@@ -1,225 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Eos"
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_battlecruisers_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm Railgun I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 7.5% bonus to Armor Repairer effectiveness per level
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Armor Repairer I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Remote Armor Repair System I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # +15 m3 extra Drone Bay space per level
-
- def test_commandShips_droneCapacity_ship(self):
- self.buildTested = 0
- attr = "droneCapacity"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 15.0
- fLvl = 4
- fIngame = 60.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 3% bonus to effectiveness of Information Warfare Links per level
-
- def test_commandShips_commandBonus_moduleGangCoordinatorSkillrqInformation(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Information Warfare Link - Recon Operation I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_commandBonus_moduleGangCoordinatorSkillrqOther(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Armored Warfare Link - Passive Defense I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_commandBonusHidden_moduleGangCoordinatorSkillrqInformation(self):
- self.buildTested = 0
- attr = "commandBonusHidden"
- item = "Information Warfare Link - Electronic Superiority I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Siege Warfare Link - Shield Harmonizing I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # Can use 3 Warfare Link modules simultaneously
-
- def test_static_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "Information Warfare Link - Electronic Superiority I"
- ship_other = "Brutix"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "Internal Force Field Array I"
- ship_other = "Brutix"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/commandShips/nighthawk.py b/eos/tests/typeTests/ships/commandShips/nighthawk.py
deleted file mode 100755
index ad672fd95..000000000
--- a/eos/tests/typeTests/ships/commandShips/nighthawk.py
+++ /dev/null
@@ -1,575 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Nighthawk"
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to assault missile launcher rate of fire per level
-
- def test_battlecruisers_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to heavy assault missile launcher rate of fire per level
-
- def test_battlecruisers_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to heavy missile launcher rate of fire per level
-
- def test_battlecruisers_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Standard Missile Launcher I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to all shield resistances per level
-
- def test_battlecruisers_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 5% bonus to heavy missile Kinetic damage per level
- # Actually this bonus affects all missiles
-
- def test_commandShips_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Precision Light Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Javelin Assault Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Fury Heavy Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Precision Cruise Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hail M"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 5% bonus to heavy missile explosion velocity per level
-
- def test_commandShips_aoeVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Havoc Heavy Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_aoeVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Scourge Precision Heavy Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_aoeVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Stalker F.O.F. Heavy Missile I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_aoeVelocity_chargeOther(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Bloodclaw Light Missile"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Skirmish Warfare Link - Interdiction Maneuvers I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/commandShips/sleipnir.py b/eos/tests/typeTests/ships/commandShips/sleipnir.py
deleted file mode 100755
index debfc2324..000000000
--- a/eos/tests/typeTests/ships/commandShips/sleipnir.py
+++ /dev/null
@@ -1,197 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Sleipnir"
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret rate of fire per level
-
- def test_battlecruisers_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "720mm Howitzer Artillery I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "250mm Light Artillery Cannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 7.5% bonus to Shield Booster effectiveness per level
-
- def test_battlecruisers_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Booster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Transporter I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 5% bonus to Medium Projectile Turret damage per level
-
- def test_commandShips_damageMultiplier_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "650mm Artillery Cannon I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "125mm Gatling AutoCannon I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 10% bonus to Medium Projectile Turret falloff per level
-
- def test_commandShips_falloff_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "425mm AutoCannon I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "800mm Repeating Artillery I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Skirmish Warfare Link - Interdiction Maneuvers I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/commandShips/vulture.py b/eos/tests/typeTests/ships/commandShips/vulture.py
deleted file mode 100755
index 8a999bf72..000000000
--- a/eos/tests/typeTests/ships/commandShips/vulture.py
+++ /dev/null
@@ -1,282 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Vulture"
-
- # Battlecruiser Skill Bonus:
- # 10% bonus to Medium Hybrid Turret optimal range per level
-
- def test_battlecruisers_maxRange_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Ion Blaster I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Neutron Blaster Cannon I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Battlecruiser Skill Bonus:
- # 5% bonus to all shield resistances per level
-
- def test_battlecruisers_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_battlecruisers_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Battlecruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 10% bonus to Medium Hybrid Turret optimal range per level
-
- def test_commandShips_maxRange_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 150mm Railgun I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Light Neutron Blaster I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Command Ships Skill Bonus:
- # 3% bonus to effectiveness of Siege Warfare Links per level
-
- def test_commandShips_commandBonus_moduleGangCoordinatorSkillrqArmored(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Siege Warfare Link - Shield Efficiency I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandShips_commandBonus_moduleGangCoordinatorSkillrqOther(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Mining Foreman Link - Harvester Capacitor Efficiency I"
- skill = "Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Armored Warfare Link - Rapid Repair I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # Can use 3 Warfare Link modules simultaneously
-
- def test_static_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "Information Warfare Link - Recon Operation I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "ECM Burst I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/covertOps/__init__.py b/eos/tests/typeTests/ships/covertOps/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/covertOps/anathema.py b/eos/tests/typeTests/ships/covertOps/anathema.py
deleted file mode 100755
index 6fb3de4ed..000000000
--- a/eos/tests/typeTests/ships/covertOps/anathema.py
+++ /dev/null
@@ -1,345 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Anathema"
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to rocket damage per level
-
- def test_amarrFrigate_emDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Javelin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rage Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Javelin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Firefly F.O.F. Light Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% reduction of capacitor recharge time per level
-
- def test_amarrFrigate_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -97.5% to -100% reduced CPU need for cloaking device
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.025
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Heat Sink I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -97.5% to -100% reduced CPU need for cloaking device
- # Dynamic part
-
- def test_covertOps_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 0.02
- fLvl = 4
- fIngame = 0.005
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "ECCM - Ladar I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 10% increase to scan strength of probes per level
-
- def test_covertOps_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Combat Scanner Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -10% bonus to survey probe flight time per level
-
- def test_covertOps_explosionDelay_chargeSurveyProbe(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Gaze Survey Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_explosionDelay_chargeOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Core Scanner Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/covertOps/buzzard.py b/eos/tests/typeTests/ships/covertOps/buzzard.py
deleted file mode 100755
index 7c86827c2..000000000
--- a/eos/tests/typeTests/ships/covertOps/buzzard.py
+++ /dev/null
@@ -1,571 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Buzzard"
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to Missile Kinetic Damage per level
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Precision Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Precision Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Fusion S"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # -5% bonus to Missile Launcher Rate of Fire per level
-
- def test_caldariFrigate_speed_moduleLauncherMissileRocket(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_speed_moduleLauncherMissileStandard(self):
- self.buildTested = 0
- attr = "speed"
- item = "Standard Missile Launcher I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_speed_moduleLauncherMissileStandardCivilian(self):
- self.buildTested = 0
- attr = "speed"
- item = "Civilian Standard Missile Launcher"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_speed_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_speed_moduleLauncherMissileCitadel(self):
- self.buildTested = 0
- attr = "speed"
- item = "Citadel Cruise Launcher I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_speed_moduleOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "75mm Gatling Rail I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -97.5% to -100% reduced CPU need for cloaking device
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.025
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Photon Scattering Field I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -97.5% to -100% reduced CPU need for cloaking device
- # Dynamic part
-
- def test_covertOps_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 0.02
- fLvl = 4
- fIngame = 0.005
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Power Diagnostic System I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 10% increase to scan strength of probes per level
-
- def test_covertOps_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Core Scanner Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -10% bonus to survey probe flight time per level
-
- def test_covertOps_explosionDelay_chargeSurveyProbe(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Gaze Survey Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_explosionDelay_chargeOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Combat Scanner Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/covertOps/cheetah.py b/eos/tests/typeTests/ships/covertOps/cheetah.py
deleted file mode 100755
index 693f5e040..000000000
--- a/eos/tests/typeTests/ships/covertOps/cheetah.py
+++ /dev/null
@@ -1,211 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Cheetah"
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to Small Projectile Turret Damage per level
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 180mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 10% bonus to Small Projectile Turret Optimal Range per level
-
- def test_minmatarFrigate_maxRange_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "280mm Howitzer Artillery I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_maxRange_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "650mm Artillery Cannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -97.5% to -100% reduced CPU need for cloaking device
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.025
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Salvager I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -97.5% to -100% reduced CPU need for cloaking device
- # Dynamic part
-
- def test_covertOps_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 0.02
- fLvl = 4
- fIngame = 0.005
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Gyrostabilizer I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 10% increase to scan strength of probes per level
-
- def test_covertOps_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Core Scanner Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -10% bonus to survey probe flight time per level
-
- def test_covertOps_explosionDelay_chargeSurveyProbe(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Discovery Survey Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_explosionDelay_chargeOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Combat Scanner Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/covertOps/helios.py b/eos/tests/typeTests/ships/covertOps/helios.py
deleted file mode 100755
index 34178b454..000000000
--- a/eos/tests/typeTests/ships/covertOps/helios.py
+++ /dev/null
@@ -1,211 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Helios"
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to Small Hybrid Turret damage per level
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "125mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 10% bonus to Scout Drone Thermal damage per level
-
- def test_gallenteFrigate_thermalDamage_droneScout(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hobgoblin I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_thermalDamage_other(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Phased Plasma S"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -97.5% to -100% reduced CPU need for cloaking device
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.025
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Small Graviton Smartbomb I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -97.5% to -100% reduced CPU need for cloaking device
- # Dynamic part
-
- def test_covertOps_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 0.02
- fLvl = 4
- fIngame = 0.005
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Shield Flux Coil I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 10% increase to scan strength of probes per level
-
- def test_covertOps_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Combat Scanner Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # -10% bonus to survey probe flight time per level
-
- def test_covertOps_explosionDelay_chargeSurveyProbe(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Quest Survey Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_explosionDelay_chargeOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Combat Scanner Probe I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/__init__.py b/eos/tests/typeTests/ships/cruisers/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/cruisers/arbitrator.py b/eos/tests/typeTests/ships/cruisers/arbitrator.py
deleted file mode 100755
index e1df80564..000000000
--- a/eos/tests/typeTests/ships/cruisers/arbitrator.py
+++ /dev/null
@@ -1,276 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Arbitrator"
-
- # Amarr Cruiser Skill Bonus:
- # 5% bonus to Tracking Disruptor effectiveness per skill level
-
- def test_amarrCruiser_maxRangeBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_maxRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Computer I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_falloffBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_falloffBonus_moduleOther(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Enhancer I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_trackingSpeedBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_trackingSpeedBonus_moduleOther(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Link I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to drone hitpoints per skill level
-
- def test_amarrCruiser_hp_droneCombat(self):
- self.buildTested = 0
- item = "Curator I"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Medium Armor Maintenance Bot I"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneEwar(self):
- self.buildTested = 0
- item = "Infiltrator TD-600"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Praetor EV-900"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneMining(self):
- self.buildTested = 0
- item = "Harvester Mining Drone"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to drone damage per skill level
-
- def test_amarrCruiser_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Berserker I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 150mm Railgun I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to drone mining yield per skill level
-
- def test_amarrCruiser_miningAmount_droneMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_miningAmount_other(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/ashimmu.py b/eos/tests/typeTests/ships/cruisers/ashimmu.py
deleted file mode 100755
index f0a4f69be..000000000
--- a/eos/tests/typeTests/ships/cruisers/ashimmu.py
+++ /dev/null
@@ -1,164 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Ashimmu"
-
- # Amarr Cruiser Skill Bonus:
- # 15% bonus to Energy Vampire drain amount per level
-
- def test_amarrCruiser_powerTransferAmount_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Small Nosferatu I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_powerTransferAmount_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Medium Energy Transfer Array I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 15% bonus to Energy Neutralizer drain amount per level
-
- def test_amarrCruiser_energyDestabilizationAmount_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Medium Energy Neutralizer I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_energyDestabilizationAmount_other(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Infiltrator EV-600"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 10% bonus to the velocity factor of stasis webifiers per level
-
- def test_minmatarCruiser_speedFactor_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Stasis Webifier I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speedFactor_moduleStasisWebCivilian(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Civilian Stasis Webifier"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speedFactor_moduleOther(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "10MN MicroWarpdrive I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speedFactor_other(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Berserker SW-900"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to Medium Energy Turret damage
-
- def test_static_damageMultiplier_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Gatling Pulse Laser I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/augoror.py b/eos/tests/typeTests/ships/cruisers/augoror.py
deleted file mode 100755
index 759fb89a3..000000000
--- a/eos/tests/typeTests/ships/cruisers/augoror.py
+++ /dev/null
@@ -1,113 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Augoror"
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to armor hitpoints per level
-
- def test_amarrCruiser_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to capacitor need of energy transfer arrays per level
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyTransfer(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Energy Transfer Array I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Energy Transfer Array I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Energy Neutralizer I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role bonus:
- # 500% bonus to range of energy transfer arrays
-
- def test_static_powerTransferRange_moduleEnergyTransfer(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Small Energy Transfer Array I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_powerTransferRange_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Capital Energy Transfer Array I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_powerTransferRange_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Medium Nosferatu I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/augororNavyIssue.py b/eos/tests/typeTests/ships/cruisers/augororNavyIssue.py
deleted file mode 100755
index 26dd63d12..000000000
--- a/eos/tests/typeTests/ships/cruisers/augororNavyIssue.py
+++ /dev/null
@@ -1,56 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Augoror Navy Issue"
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to Medium Energy Turret Capacitor Usage per level
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Quad Light Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to Armor Hitpoints per level
-
- def test_amarrCruiser_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/bellicose.py b/eos/tests/typeTests/ships/cruisers/bellicose.py
deleted file mode 100755
index 4ea7319df..000000000
--- a/eos/tests/typeTests/ships/cruisers/bellicose.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Bellicose"
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret Rate of Fire per skill level
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "220mm Vulcan AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "280mm Howitzer Artillery I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 7.5% bonus to target painter effectiveness per skill level
-
- def test_minmatarCruiser_signatureRadiusBonus_moduleTargetPainter(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_signatureRadiusBonus_other(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Warrior TP-300"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/blackbird.py b/eos/tests/typeTests/ships/cruisers/blackbird.py
deleted file mode 100755
index f09ba1feb..000000000
--- a/eos/tests/typeTests/ships/cruisers/blackbird.py
+++ /dev/null
@@ -1,195 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Blackbird"
-
- # Caldari Cruiser Skill Bonus:
- # 15% bonus to ECM Target Jammer strength per level
-
- def test_caldariCruiser_scanGravimetricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM - Phase Inverter I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_scanGravimetricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_scanLadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM - White Noise Generator I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_scanLadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_scanMagnetometricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM - Multispectral Jammer I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_scanMagnetometricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_scanRadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM - Ion Field Projector I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_scanRadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to ECM Target Jammer optimal range per level
-
- def test_caldariCruiser_maxRange_moduleEcm(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECM - Phase Inverter I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECCM Projector I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to ECM Target Jammer falloff per level
-
- def test_caldariCruiser_falloff_moduleEcm(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECM - Ion Field Projector I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_falloff_moduleOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECM Burst I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/caracal.py b/eos/tests/typeTests/ships/cruisers/caracal.py
deleted file mode 100755
index cf6125cbf..000000000
--- a/eos/tests/typeTests/ships/cruisers/caracal.py
+++ /dev/null
@@ -1,453 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Caracal"
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus Kinetic Missile Damage per level
-
- def test_caldariCruiser_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Javelin Rocket"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Fury Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Fury Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Javelin Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Antimatter Charge S"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to Light Missile Velocity per level
-
- def test_caldariCruiser_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Piranha Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Sabretooth Fury Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Seeker F.O.F. Light Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to Heavy Assault Missile Velocity per level
-
- def test_caldariCruiser_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Fulmination Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Javelin Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to Heavy Missile Velocity per level
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Scourge Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Widowmaker Fury Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Eradicator F.O.F. Heavy Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileNoSkillrq(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Gremlin Rocket"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/caracalNavyIssue.py b/eos/tests/typeTests/ships/cruisers/caracalNavyIssue.py
deleted file mode 100755
index 01d21430b..000000000
--- a/eos/tests/typeTests/ships/cruisers/caracalNavyIssue.py
+++ /dev/null
@@ -1,447 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Caracal Navy Issue"
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus Kinetic Missile Damage per level
-
- def test_caldariCruiser_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Fury Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Javelin Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Precision Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Void M"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to Missile Velocity per level
-
- def test_caldariCruiser_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Piranha Fury Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Torrent Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Terror Javelin Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunderbolt Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Havoc Precision Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Stalker F.O.F. Heavy Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileNoSkillrq(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Defender I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/celestis.py b/eos/tests/typeTests/ships/cruisers/celestis.py
deleted file mode 100755
index ac70f7024..000000000
--- a/eos/tests/typeTests/ships/cruisers/celestis.py
+++ /dev/null
@@ -1,102 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Celestis"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret Damage per skill level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Electron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Remote Sensor Dampener effectiveness per skill level
-
- def test_gallenteCruiser_maxTargetRangeBonus_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "maxTargetRangeBonus"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_maxTargetRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxTargetRangeBonus"
- item = "Remote Sensor Booster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_scanResolutionBonus_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "scanResolutionBonus"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_scanResolutionBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanResolutionBonus"
- item = "Remote Sensor Booster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/cynabal.py b/eos/tests/typeTests/ships/cruisers/cynabal.py
deleted file mode 100755
index ddf1df1cd..000000000
--- a/eos/tests/typeTests/ships/cruisers/cynabal.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Cynabal"
-
- # Minmatar Cruiser Skill Bonus:
- # 10% bonus to Medium Projectile Turret damage per level
-
- def test_minmatarCruiser_damageMultiplier_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "720mm Howitzer Artillery I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Light AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to Medium Projectile Turret falloff per level
-
- def test_gallenteCruiser_falloff_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "425mm AutoCannon I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Dual 425mm AutoCannon I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 25% bonus to Medium Projectile Turret rate of fire
-
- def test_static_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 180mm AutoCannon I"
- ship_other = "Thorax"
- iIngame = 1.0
- fIngame = 0.75
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "200mm AutoCannon I"
- ship_other = "Thorax"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/exequror.py b/eos/tests/typeTests/ships/cruisers/exequror.py
deleted file mode 100755
index 51c177dd8..000000000
--- a/eos/tests/typeTests/ships/cruisers/exequror.py
+++ /dev/null
@@ -1,154 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Exequror"
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to Cargo Capacity per level
-
- def test_gallenteCruiser_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to capacitor need of remote armor repair system per level
-
- def test_gallenteCruiser_capacitorNeed_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Remote Armor Repair System I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_capacitorNeed_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Remote Armor Repair System I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_capacitorNeed_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Remote Armor Repair System"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Scrambler I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 500% bonus to range of remote armor repair systems
-
- def test_static_maxRange_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Large Remote Armor Repair System I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Capital Remote Armor Repair System I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Remote Armor Repair System"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "200mm AutoCannon I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_other(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Medium Armor Maintenance Bot I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/exequrorNavyIssue.py b/eos/tests/typeTests/ships/cruisers/exequrorNavyIssue.py
deleted file mode 100755
index 4915bfdaf..000000000
--- a/eos/tests/typeTests/ships/cruisers/exequrorNavyIssue.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Exequror Navy Issue"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Railgun I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 250mm Railgun I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret rate of fire per level
-
- def test_gallenteCruiser_speed_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_speed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Neutron Blaster Cannon I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/gila.py b/eos/tests/typeTests/ships/cruisers/gila.py
deleted file mode 100755
index efd855c01..000000000
--- a/eos/tests/typeTests/ships/cruisers/gila.py
+++ /dev/null
@@ -1,408 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Gila"
-
- # Caldari Cruiser Skill Bonus:
- # 5% shield resistance per level
-
- def test_caldariCruiser_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to drone hitpoints per skill level
-
- def test_gallenteCruiser_hp_droneCombat(self):
- self.buildTested = 0
- item = "Curator I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Heavy Armor Maintenance Bot I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneEwar(self):
- self.buildTested = 0
- item = "Hammerhead SD-600"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Acolyte EV-300"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneMining(self):
- self.buildTested = 0
- item = "Mining Drone I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to drone damage per skill level
-
- def test_gallenteCruiser_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Warden I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to light Missile velocity
-
- def test_static_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bloodclaw Light Missile"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileLightCivilian(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Fury Light Missile"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Firefly F.O.F. Light Missile I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Heavy Assault Missile velocity
-
- def test_static_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Terror Assault Missile"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Fulmination Javelin Assault Missile"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Heavy Missile velocity
-
- def test_static_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunderbolt Heavy Missile"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Scourge Fury Heavy Missile"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellhound F.O.F. Heavy Missile I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Foxfire Rocket"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/guardianVexor.py b/eos/tests/typeTests/ships/cruisers/guardianVexor.py
deleted file mode 100755
index 67fbcebba..000000000
--- a/eos/tests/typeTests/ships/cruisers/guardianVexor.py
+++ /dev/null
@@ -1,56 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Guardian-Vexor"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Neutron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Ion Blaster Cannon I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # +1 extra Drone controlled per level
-
- def test_gallenteCruiser_maxActiveDrones_ship(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 6
- fLvl = 4
- fIngame = 9
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/maller.py b/eos/tests/typeTests/ships/cruisers/maller.py
deleted file mode 100755
index 29c78cb1a..000000000
--- a/eos/tests/typeTests/ships/cruisers/maller.py
+++ /dev/null
@@ -1,158 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Maller"
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to Medium Energy Turret capacitor use per level
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 5% bonus to all Armor Resistances per level
-
- def test_amarrCruiser_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/moa.py b/eos/tests/typeTests/ships/cruisers/moa.py
deleted file mode 100755
index b0f204ec8..000000000
--- a/eos/tests/typeTests/ships/cruisers/moa.py
+++ /dev/null
@@ -1,158 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Moa"
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to Medium Hybrid Turret optimal range per level
-
- def test_caldariCruiser_maxRange_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "250mm Railgun I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 250mm Railgun I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus to shield resistance per level
-
- def test_caldariCruiser_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/omen.py b/eos/tests/typeTests/ships/cruisers/omen.py
deleted file mode 100755
index 9806ca26e..000000000
--- a/eos/tests/typeTests/ships/cruisers/omen.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Omen"
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to Medium Energy Turret capacitor use per level
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Pulse Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Mega Pulse Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 5% bonus to Medium Energy Turret rate of fire per level
-
- def test_amarrCruiser_speed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Focused Medium Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_speed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Gatling Pulse Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/omenNavyIssue.py b/eos/tests/typeTests/ships/cruisers/omenNavyIssue.py
deleted file mode 100755
index c004fe85a..000000000
--- a/eos/tests/typeTests/ships/cruisers/omenNavyIssue.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Omen Navy Issue"
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to Medium Energy Turret capacitor use per level
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Pulse Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Heavy Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 7.5% bonus to Medium Energy Turret rate of fire per level
-
- def test_amarrCruiser_speed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_speed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Mega Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/osprey.py b/eos/tests/typeTests/ships/cruisers/osprey.py
deleted file mode 100755
index 26ac6814e..000000000
--- a/eos/tests/typeTests/ships/cruisers/osprey.py
+++ /dev/null
@@ -1,187 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Osprey"
-
- # Caldari Cruiser Skill Bonus:
- # 20% bonus to mining laser yield per level
-
- def test_caldariCruiser_miningAmount_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_miningAmount_moduleMiningLaserDeepCore(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Deep Core Mining Laser I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_miningAmount_other(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% reduction in Shield Transport capacitor use per level
-
- def test_caldariCruiser_capacitorNeed_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Shield Transporter I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_capacitorNeed_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Shield Transporter I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_capacitorNeed_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Remote Shield Transporter"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Remote Sensor Dampener I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 500% bonus to range of shield transporters
-
- def test_static_shieldTransferRange_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Large Shield Transporter I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_shieldTransferRange_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Civilian Remote Shield Transporter"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_shieldTransferRange_moduleOther(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Heavy Shield Maintenance Bot I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/ospreyNavyIssue.py b/eos/tests/typeTests/ships/cruisers/ospreyNavyIssue.py
deleted file mode 100755
index fc6088960..000000000
--- a/eos/tests/typeTests/ships/cruisers/ospreyNavyIssue.py
+++ /dev/null
@@ -1,171 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Osprey Navy Issue"
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus to Assault Missile Launcher rate of fire per level
-
- def test_caldariCruiser_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus to Heavy Assault Missile Launcher rate of fire per level
-
- def test_caldariCruiser_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus to Heavy Missile Launcher rate of fire per level
-
- def test_caldariCruiser_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to Heavy Assault Missile velocity per level
-
- def test_caldariCruiser_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Fulmination Javelin Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to Heavy Missile velocity per level
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Widowmaker Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Scourge Fury Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Stalker F.O.F. Heavy Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/phantasm.py b/eos/tests/typeTests/ships/cruisers/phantasm.py
deleted file mode 100755
index 25a668014..000000000
--- a/eos/tests/typeTests/ships/cruisers/phantasm.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Phantasm"
-
- # Amarr Cruiser Skill Bonus:
- # 7.5% bonus to Medium Energy Turret tracking per level
-
- def test_amarrCruiser_trackingSpeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Heavy Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_trackingSpeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Medium Pulse Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus to Medium Energy Turret damage per level
-
- def test_caldariCruiser_damageMultiplier_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Quad Light Beam Laser I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Gatling Pulse Laser I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to Medium Energy Turret damage
-
- def test_static_damageMultiplier_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Beam Laser I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Beam Laser I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/rupture.py b/eos/tests/typeTests/ships/cruisers/rupture.py
deleted file mode 100755
index 792339d2e..000000000
--- a/eos/tests/typeTests/ships/cruisers/rupture.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Rupture"
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret firing speed per level
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 180mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 425mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret damage per level
-
- def test_minmatarCruiser_damageMultiplier_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/scythe.py b/eos/tests/typeTests/ships/cruisers/scythe.py
deleted file mode 100755
index b2b372d1b..000000000
--- a/eos/tests/typeTests/ships/cruisers/scythe.py
+++ /dev/null
@@ -1,191 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Scythe"
-
- # Minmatar Cruiser Skill Bonus:
- # 20% bonus to mining laser yield per level
-
- def test_minmatarCruiser_miningAmount_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_miningAmount_moduleMiningLaserDeepCore(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Deep Core Mining Laser I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_miningAmount_other(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 3.5% bonus to tracking links per level
-
- def test_minmatarCruiser_maxRangeBonus_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Link I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.035
- fLvl = 4
- fIngame = 1.14
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_maxRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Disruptor I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_falloffBonus_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Link I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.035
- fLvl = 4
- fIngame = 1.14
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_falloffBonus_moduleOther(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Computer I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_trackingSpeedBonus_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Link I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.035
- fLvl = 4
- fIngame = 1.14
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_trackingSpeedBonus_moduleOther(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Enhancer I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 500% bonus to range of tracking links
-
- def test_static_maxRange_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Tracking Link I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Remote Sensor Booster I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/scytheFleetIssue.py b/eos/tests/typeTests/ships/cruisers/scytheFleetIssue.py
deleted file mode 100755
index 3230ff84d..000000000
--- a/eos/tests/typeTests/ships/cruisers/scytheFleetIssue.py
+++ /dev/null
@@ -1,108 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Scythe Fleet Issue"
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret rate of fire per level
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "720mm Howitzer Artillery I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "150mm Light AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Assault Missile Launcher rate of fire per level
-
- def test_minmatarCruiser_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Heavy Assault Missile Launcher rate of fire per level
-
- def test_minmatarCruiser_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Heavy Missile Launcher rate of fire per level
-
- def test_minmatarCruiser_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Standard Missile Launcher I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/stabber.py b/eos/tests/typeTests/ships/cruisers/stabber.py
deleted file mode 100755
index 7de00f24a..000000000
--- a/eos/tests/typeTests/ships/cruisers/stabber.py
+++ /dev/null
@@ -1,86 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Stabber"
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret firing speed per level
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "650mm Artillery Cannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "125mm Gatling AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to max velocity per level
-
- def test_minmatarruiser_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_maxVelocity_drone(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Warrior I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_maxVelocity_charge(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Assault Missile"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/stabberFleetIssue.py b/eos/tests/typeTests/ships/cruisers/stabberFleetIssue.py
deleted file mode 100755
index 685e6dc90..000000000
--- a/eos/tests/typeTests/ships/cruisers/stabberFleetIssue.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Stabber Fleet Issue"
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret firing speed per level
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "425mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 425mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 10% bonus to Medium Projectile Turret tracking speed per level
-
- def test_minmatarCruiser_trackingSpeed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 180mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "280mm Howitzer Artillery I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/thorax.py b/eos/tests/typeTests/ships/cruisers/thorax.py
deleted file mode 100755
index 3376461e0..000000000
--- a/eos/tests/typeTests/ships/cruisers/thorax.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Thorax"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Electron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Electron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 5% increase to MicroWarpdrive capacitor bonus per level
-
- def test_gallenteCruiser_capacitorCapacityMultiplier_moduleAfterburnerSkillrqHSM(self):
- self.buildTested = 0
- attr = "capacitorCapacityMultiplier"
- item = "10MN MicroWarpdrive II"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 0.88
- fLvl = 4
- fIngame = 1.03
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_capacitorCapacityMultiplier_moduleAfterburnerSkillrqAB(self):
- self.buildTested = 0
- attr = "capacitorCapacityMultiplier"
- item = "10MN Afterburner I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/vexor.py b/eos/tests/typeTests/ships/cruisers/vexor.py
deleted file mode 100755
index aa64256e6..000000000
--- a/eos/tests/typeTests/ships/cruisers/vexor.py
+++ /dev/null
@@ -1,216 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Vexor"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per skill level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Ion Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to drone hitpoints per skill level
-
- def test_gallenteCruiser_hp_droneCombat(self):
- self.buildTested = 0
- item = "Acolyte I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Medium Armor Maintenance Bot I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneEwar(self):
- self.buildTested = 0
- item = "Berserker TP-900"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Infiltrator EV-600"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneMining(self):
- self.buildTested = 0
- item = "Harvester Mining Drone"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to drone damage per skill level
-
- def test_gallenteCruiser_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Hornet I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 650mm Repeating Artillery I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to drone mining yield per skill level
-
- def test_gallenteCruiser_miningAmount_droneMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_miningAmount_other(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/vexorNavyIssue.py b/eos/tests/typeTests/ships/cruisers/vexorNavyIssue.py
deleted file mode 100755
index aecb8902e..000000000
--- a/eos/tests/typeTests/ships/cruisers/vexorNavyIssue.py
+++ /dev/null
@@ -1,216 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Vexor Navy Issue"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per skill level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm Railgun I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "75mm Gatling Rail I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to drone hitpoints per skill level
-
- def test_gallenteCruiser_hp_droneCombat(self):
- self.buildTested = 0
- item = "Praetor I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Medium Shield Maintenance Bot I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneEwar(self):
- self.buildTested = 0
- item = "Hobgoblin SD-300"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Acolyte EV-300"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneMining(self):
- self.buildTested = 0
- item = "Mining Drone I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to drone damage per skill level
-
- def test_gallenteCruiser_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Infiltrator I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Small Hybrid Collision Accelerator I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to drone mining yield per skill level
-
- def test_gallenteCruiser_miningAmount_droneMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Harvester Mining Drone"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_miningAmount_other(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/cruisers/vigilant.py b/eos/tests/typeTests/ships/cruisers/vigilant.py
deleted file mode 100755
index a5bdb3d42..000000000
--- a/eos/tests/typeTests/ships/cruisers/vigilant.py
+++ /dev/null
@@ -1,131 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Vigilant"
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to Medium Hybrid Turret falloff per level
-
- def test_gallenteCruiser_falloff_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Heavy Neutron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "150mm Railgun I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 10% bonus to the velocity factor of stasis webifiers per level
-
- def test_minmatarCruiser_speedFactor_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Stasis Webifier I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speedFactor_moduleStasisWebCivilian(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Civilian Stasis Webifier"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speedFactor_moduleOther(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "10MN Afterburner I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speedFactor_other(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Berserker SW-900"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 75% bonus to Medium Hybrid Turret damage
-
- def test_static_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Railgun I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.75
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "350mm Railgun I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/destroyers/__init__.py b/eos/tests/typeTests/ships/destroyers/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/destroyers/catalyst.py b/eos/tests/typeTests/ships/destroyers/catalyst.py
deleted file mode 100755
index 58a78b29e..000000000
--- a/eos/tests/typeTests/ships/destroyers/catalyst.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Catalyst"
-
- # Destroyer Skill Bonus:
- # 10% Bonus to Small Hybrid Turret tracking speed per level
-
- def test_destroyers_trackingSpeed_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Light Ion Blaster I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 150mm Railgun I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Destroyer Skill Bonus:
- # 10% bonus to Small Hybrid Turret falloff per level
-
- def test_destroyers_falloff_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "falloff"
- item = "75mm Gatling Rail I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Heavy Electron Blaster I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonuses:
- # Bonus: 50% bonus to optimal range for small hybrid turrets
-
- def test_static_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Light Neutron Blaster I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Neutron Blaster Cannon I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/destroyers/coercer.py b/eos/tests/typeTests/ships/destroyers/coercer.py
deleted file mode 100755
index a46b5e565..000000000
--- a/eos/tests/typeTests/ships/destroyers/coercer.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Coercer"
-
- # Destroyer Skill Bonus:
- # 10% bonus to Small Energy Turret tracking speed per level
-
- def test_destroyers_trackingSpeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Gatling Pulse Laser I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_trackingSpeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Quad Light Beam Laser I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Destroyer Skill Bonus:
- # 10% bonus to Small Energy Turret Capacitor usage per level
-
- def test_destroyers_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Beam Laser I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Pulse Laser I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonuses:
- # 50% bonus to optimal range for small energy turrets
-
- def test_static_maxRange_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Medium Pulse Laser I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Beam Laser I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/destroyers/cormorant.py b/eos/tests/typeTests/ships/destroyers/cormorant.py
deleted file mode 100755
index 2866c5d38..000000000
--- a/eos/tests/typeTests/ships/destroyers/cormorant.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Cormorant"
-
- # Destroyer Skill Bonus:
- # 10% bonus to Small Hybrid Turret tracking speed per level
-
- def test_destroyers_trackingSpeed_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "125mm Railgun I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Heavy Ion Blaster I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Destroyer Skill Bonus:
- # 10% bonus to Small Hybrid Turret optimal range per level
-
- def test_destroyers_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Light Neutron Blaster I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 150mm Railgun I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonuses:
- # Bonus: 50% bonus to optimal range for small hybrid turrets
-
- def test_static_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "75mm Gatling Rail I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "200mm Railgun I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/destroyers/thrasher.py b/eos/tests/typeTests/ships/destroyers/thrasher.py
deleted file mode 100755
index 03df384fb..000000000
--- a/eos/tests/typeTests/ships/destroyers/thrasher.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Thrasher"
-
- # Destroyer Skill Bonus:
- # 10% bonus to Small Projectile Turret tracking speed per level
-
- def test_destroyers_trackingSpeed_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "125mm Gatling AutoCannon I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "425mm AutoCannon I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Destroyer Skill Bonus:
- # 5% bonus to Small Projectile Turret damage per level
-
- def test_destroyers_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "280mm Howitzer Artillery I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 180mm AutoCannon I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonuses:
- # Bonus: 50% bonus to optimal range for small projectile turrets
-
- def test_static_maxRange_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "150mm Light AutoCannon I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "220mm Vulcan AutoCannon I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/dreadnoughts/__init__.py b/eos/tests/typeTests/ships/dreadnoughts/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/dreadnoughts/moros.py b/eos/tests/typeTests/ships/dreadnoughts/moros.py
deleted file mode 100755
index 3ed849598..000000000
--- a/eos/tests/typeTests/ships/dreadnoughts/moros.py
+++ /dev/null
@@ -1,90 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Moros"
-
- # Gallente Dreadnought Skill Bonus:
- # 5% bonus to Capital Hybrid Turret damage per level
-
- def test_gallenteDreadnought_damageMultiplier_moduleHybridWeaponCapital(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 1000mm Railgun I"
- skill = "Gallente Dreadnought"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDreadnought_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Neutron Blaster Cannon I"
- skill = "Gallente Dreadnought"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Dreadnought Skill Bonus:
- # 5% bonus to Capital Hybrid Turret damage per level
-
- def test_gallenteDreadnought_speed_moduleHybridWeaponCapital(self):
- self.buildTested = 0
- attr = "speed"
- item = "Ion Siege Blaster Cannon I"
- skill = "Gallente Dreadnought"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDreadnought_speed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Electron Blaster I"
- skill = "Gallente Dreadnought"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/dreadnoughts/naglfar.py b/eos/tests/typeTests/ships/dreadnoughts/naglfar.py
deleted file mode 100755
index 125f85fad..000000000
--- a/eos/tests/typeTests/ships/dreadnoughts/naglfar.py
+++ /dev/null
@@ -1,90 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Naglfar"
-
- # Minmatar Dreadnought Skill Bonus:
- # 5% bonus to Capital Projectile damage per level
-
- def test_minmatarDreadnought_damageMultiplier_moduleProjectileWeaponCapital(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "6x2500mm Repeating Artillery I"
- skill = "Minmatar Dreadnought"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDreadnought_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "125mm Gatling AutoCannon I"
- skill = "Minmatar Dreadnought"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Dreadnought Skill Bonus:
- # 5% bonus to Capital Projectile rate of fire per level
-
- def test_minmatarDreadnought_speed_moduleProjectileWeaponCapital(self):
- self.buildTested = 0
- attr = "speed"
- item = "Quad 3500mm Siege Artillery I"
- skill = "Minmatar Dreadnought"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDreadnought_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "1400mm Howitzer Artillery I"
- skill = "Minmatar Dreadnought"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/dreadnoughts/phoenix.py b/eos/tests/typeTests/ships/dreadnoughts/phoenix.py
deleted file mode 100755
index 7372cf3c3..000000000
--- a/eos/tests/typeTests/ships/dreadnoughts/phoenix.py
+++ /dev/null
@@ -1,120 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Phoenix"
-
- # Caldari Dreadnought Skill Bonus:
- # 5% bonus to kinetic missile damage per skill level
-
- def test_caldariDreadnought_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Dreadnought"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDreadnought_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Dreadnought"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDreadnought_kineticDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Dreadnought"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Dreadnought Skill Bonus:
- # 5% bonus to Capital Launcher rate of fire per skill level
-
- def test_caldariDreadnought_speed_moduleLauncherMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "speed"
- item = "Citadel Torpedo Launcher I"
- skill = "Caldari Dreadnought"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDreadnought_speed_moduleLauncherMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "speed"
- item = "Citadel Cruise Launcher I"
- skill = "Caldari Dreadnought"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDreadnought_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- skill = "Caldari Dreadnought"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/dreadnoughts/revelation.py b/eos/tests/typeTests/ships/dreadnoughts/revelation.py
deleted file mode 100755
index 8760c3987..000000000
--- a/eos/tests/typeTests/ships/dreadnoughts/revelation.py
+++ /dev/null
@@ -1,90 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Revelation"
-
- # Amarr Dreadnought Skill Bonus:
- # 10% reduction in Capital Energy Turret capacitor use per skill level
-
- def test_amarrDreadnought_capacitorNeed_moduleEnergyWeaponCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Giga Beam Laser I"
- skill = "Amarr Dreadnought"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDreadnought_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Tachyon Beam Laser I"
- skill = "Amarr Dreadnought"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Dreadnought Skill Bonus:
- # 5% bonus to Capital Energy Turret rate of fire per skill level
-
- def test_amarrDreadnought_speed_moduleEnergyWeaponCapital(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual Giga Pulse Laser I"
- skill = "Amarr Dreadnought"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDreadnought_speed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Focused Medium Beam Laser I"
- skill = "Amarr Dreadnought"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/electronicAttackShips/__init__.py b/eos/tests/typeTests/ships/electronicAttackShips/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/electronicAttackShips/hyena.py b/eos/tests/typeTests/ships/electronicAttackShips/hyena.py
deleted file mode 100755
index 732fd5e79..000000000
--- a/eos/tests/typeTests/ships/electronicAttackShips/hyena.py
+++ /dev/null
@@ -1,137 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Hyena"
-
- # Minmatar Frigate Skill Bonus:
- # 5% increase to MicroWarpdrive capacitor bonus per level
-
- def test_minmatarFrigate_capacitorCapacityMultiplier_moduleAfterburnerSkillrqHSM(self):
- self.buildTested = 0
- attr = "capacitorCapacityMultiplier"
- item = "1MN MicroWarpdrive II"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 0.88
- fLvl = 4
- fIngame = 1.03
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_capacitorCapacityMultiplier_moduleAfterburnerSkillrqAB(self):
- self.buildTested = 0
- attr = "capacitorCapacityMultiplier"
- item = "1MN Afterburner I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 7.5% bonus to effectiveness of target painters per level
-
- def test_minmatarFrigate_signatureRadiusBonus_moduleTargetPainter(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Electronic Attack Ships Skill Bonus:
- # 20% bonus to stasis webifier range per level
-
- def test_electronicAttackShips_maxRange_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_electronicAttackShips_maxRange_moduleStasisWebCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Stasis Webifier"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_electronicAttackShips_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Disruptor I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Electronic Attack Ships Skill Bonus:
- # 3% reduction in signature radius per level
-
- def test_electronicAttackShips_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 0.97
- fLvl = 4
- fIngame = 0.88
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/electronicAttackShips/keres.py b/eos/tests/typeTests/ships/electronicAttackShips/keres.py
deleted file mode 100755
index 4f4decf4e..000000000
--- a/eos/tests/typeTests/ships/electronicAttackShips/keres.py
+++ /dev/null
@@ -1,198 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Keres"
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to remote sensor dampener effectiveness per level
-
- def test_gallenteFrigate_maxTargetRangeBonus_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "maxTargetRangeBonus"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_maxTargetRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxTargetRangeBonus"
- item = "Remote Sensor Booster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_scanResolutionBonus_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "scanResolutionBonus"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_scanResolutionBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanResolutionBonus"
- item = "Remote Sensor Booster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 10% reduction in remote sensor dampener capacitor need per level
-
- def test_gallenteFrigate_capacitorNeed_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Tracking Link I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Electronic Attack Ships Skill Bonus:
- # 10% bonus to warp disruptor range
-
- def test_electronicAttackShips_maxRange_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Scrambler I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_electronicAttackShips_maxRange_moduleWarpScramblerCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Warp Disruptor"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_electronicAttackShips_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Electronic Attack Ships Skill Bonus:
- # 10% reduction in warp disruptor capacitor need per level
-
- def test_electronicAttackShips_capacitorNeed_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Disruptor I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_electronicAttackShips_capacitorNeed_moduleWarpScramblerCivilian(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Warp Disruptor"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_electronicAttackShips_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Stasis Webifier I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/electronicAttackShips/kitsune.py b/eos/tests/typeTests/ships/electronicAttackShips/kitsune.py
deleted file mode 100755
index 66e23c64e..000000000
--- a/eos/tests/typeTests/ships/electronicAttackShips/kitsune.py
+++ /dev/null
@@ -1,227 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Kitsune"
-
- # Caldari Frigate Skill Bonus:
- # 20% bonus to ECM target jammer strength per level
-
- def test_caldariFrigate_scanGravimetricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM - Ion Field Projector I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanGravimetricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanLadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM - White Noise Generator I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanLadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanMagnetometricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM - Spatial Destabilizer I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanMagnetometricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanRadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM - Phase Inverter I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanRadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 10% reduction in ECM target jammers' capacitor need per level
-
- def test_caldariFrigate_capacitorNeed_moduleEcm(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM - Multispectral Jammer I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM Burst I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Electronic Attack Ships Skill Bonus:
- # 10% bonus to ECM target jammer optimal range per level
-
- def test_electronicAttackShips_maxRange_moduleEcm(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECM - Multispectral Jammer I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_electronicAttackShips_falloff_moduleEcm(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECM - Multispectral Jammer I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_electronicAttackShips_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECCM Projector I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Electronic Attack Ships Skill Bonus:
- # 5% bonus to capacitor capacity per level
-
- def test_electronicAttackShips_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/electronicAttackShips/sentinel.py b/eos/tests/typeTests/ships/electronicAttackShips/sentinel.py
deleted file mode 100755
index a41bd7f3c..000000000
--- a/eos/tests/typeTests/ships/electronicAttackShips/sentinel.py
+++ /dev/null
@@ -1,248 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Sentinel"
-
- # Amarr Frigate Skill Bonus:
- # 20% bonus to energy vampire transfer amount per level
-
- def test_amarrFrigate_powerTransferAmount_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Small Nosferatu I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_powerTransferAmount_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Small Energy Transfer Array I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 20% bonus to energy neutralizer transfer amount per level
-
- def test_amarrFrigate_energyDestabilizationAmount_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Small Energy Neutralizer I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_energyDestabilizationAmount_other(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Infiltrator EV-600"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to effectiveness of tracking disruptors per level
-
- def test_amarrFrigate_maxRangeBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_maxRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Link I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_falloffBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_falloffBonus_moduleOther(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Computer I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_trackingSpeedBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_trackingSpeedBonus_moduleOther(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Enhancer I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Electronic Attack Ships Skill Bonus:
- # 40% bonus to energy vampire range per level
-
- def test_electronicAttackShips_powerTransferRange_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Small Nosferatu I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.4
- fLvl = 4
- fIngame = 2.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_electronicAttackShips_powerTransferRange_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Small Energy Transfer Array I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Electronic Attack Ships Skill Bonus:
- # 40% bonus to energy neutralizer range per level
-
- def test_electronicAttackShips_energyDestabilizationRange_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationRange"
- item = "Small Energy Neutralizer I"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.4
- fLvl = 4
- fIngame = 2.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_electronicAttackShips_energyDestabilizationRange_moduleOther(self):
- self.buildTested = 0
- attr = "energyDestabilizationRange"
- item = "Infiltrator EV-600"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Electronic Attack Ships Skill Bonus:
- # 5% reduction in capacitor recharge time per level
-
- def test_electronicAttackShips_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- skill = "Electronic Attack Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/exhumers/__init__.py b/eos/tests/typeTests/ships/exhumers/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/exhumers/hulk.py b/eos/tests/typeTests/ships/exhumers/hulk.py
deleted file mode 100755
index bd3ac4551..000000000
--- a/eos/tests/typeTests/ships/exhumers/hulk.py
+++ /dev/null
@@ -1,225 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Hulk"
-
- # Mining Barge Skill Bonus:
- # 3% better yield for Strip Miners per level
-
- def test_miningBarge_miningAmount_moduleFrequencyMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Modulated Strip Miner II"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleStripMiner(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOtherSkillrqDeepCoreMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Deep Core Mining Laser I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_otherSkillrqMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Exhumers Skill Bonus:
- # 3% better yield for Strip Miners per level
-
- def test_exhumers_miningAmount_moduleFrequencyMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Modulated Strip Miner II"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_exhumers_miningAmount_moduleStripMiner(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_exhumers_miningAmount_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_exhumers_miningAmount_moduleOtherSkillrqDeepCoreMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Deep Core Mining Laser I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_exhumers_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_exhumers_miningAmount_otherSkillrqMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Exhumers Skill Bonus:
- # 3% reduction in Ice Harvester duration per level
-
- def test_exhumers_duration_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "duration"
- item = "Ice Harvester I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 0.97
- fLvl = 4
- fIngame = 0.88
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_exhumers_duration_moduleOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Strip Miner I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/exhumers/mackinaw.py b/eos/tests/typeTests/ships/exhumers/mackinaw.py
deleted file mode 100755
index c940e8746..000000000
--- a/eos/tests/typeTests/ships/exhumers/mackinaw.py
+++ /dev/null
@@ -1,190 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Mackinaw"
-
- # Mining Barge Skill Bonus:
- # 3% better yield for Strip Miners per level
-
- def test_miningBarge_miningAmount_moduleFrequencyMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Modulated Strip Miner II"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleStripMiner(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOtherSkillrqDeepCoreMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Deep Core Mining Laser I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_otherSkillrqMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Exhumers Skill Bonus:
- # 5% reduction in Ice Harvester duration per level
-
- def test_exhumers_duration_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "duration"
- item = "Ice Harvester I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_exhumers_duration_moduleOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Strip Miner I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus Ice Harvester yield
-
- def test_static_miningAmount_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- ship_other = "Hulk"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- ship_other = "Hulk"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 25% penalty to ice harvester duration
-
- def test_static_duration_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "duration"
- item = "Ice Harvester I"
- ship_other = "Hulk"
- iIngame = 1.0
- fIngame = 1.25
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_duration_moduleOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Strip Miner I"
- ship_other = "Hulk"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/exhumers/skiff.py b/eos/tests/typeTests/ships/exhumers/skiff.py
deleted file mode 100755
index eb0e2627a..000000000
--- a/eos/tests/typeTests/ships/exhumers/skiff.py
+++ /dev/null
@@ -1,160 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Skiff"
-
- # Mining Barge Skill Bonus:
- # 3% better yield for Strip Miners per level
-
- def test_miningBarge_miningAmount_moduleFrequencyMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Modulated Strip Miner II"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleStripMiner(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOtherSkillrqDeepCoreMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Deep Core Mining Laser I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_otherSkillrqMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Exhumers Skill Bonus:
- # 60% bonus to Mercoxit Mining Crystal yield multiplier per level
-
- def test_exhumers_specialisationAsteroidYieldMultiplier_chargeMiningCrystalMercoxit(self):
- self.buildTested = 0
- attr = "specialisationAsteroidYieldMultiplier"
- item = "Mercoxit Mining Crystal I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 1.6
- fLvl = 4
- fIngame = 3.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_exhumers_specialisationAsteroidYieldMultiplier_chargeOther(self):
- self.buildTested = 0
- attr = "specialisationAsteroidYieldMultiplier"
- item = "Bistot Mining Crystal I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Exhumers Skill Bonus:
- # 20% reduced chance of Mercoxit gas cloud forming per level
-
- def test_exhumers_damageCloudChance_moduleDeepCoreMiner(self):
- self.buildTested = 0
- attr = "damageCloudChance"
- item = "Deep Core Mining Laser I"
- skill = "Exhumers"
- iLvl = 1
- iIngame = 0.8
- fLvl = 4
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # +2 warp strength
-
- def test_static_warpScrambleStatus_ship(self):
- self.buildTested = 0
- attr = "warpScrambleStatus"
- ingame = -2.0
- eos = self.getShipAttr(attr, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/forceReconShips/__init__.py b/eos/tests/typeTests/ships/forceReconShips/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/forceReconShips/arazu.py b/eos/tests/typeTests/ships/forceReconShips/arazu.py
deleted file mode 100755
index 18e9bc70a..000000000
--- a/eos/tests/typeTests/ships/forceReconShips/arazu.py
+++ /dev/null
@@ -1,270 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Arazu"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Railgun I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Remote Sensor Dampener effectiveness per level
-
- def test_gallenteCruiser_maxTargetRangeBonus_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "maxTargetRangeBonus"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_maxTargetRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxTargetRangeBonus"
- item = "Remote Sensor Booster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_scanResolutionBonus_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "scanResolutionBonus"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_scanResolutionBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanResolutionBonus"
- item = "Remote Sensor Booster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 20% bonus to warp disruptor range per level
-
- def test_reconShips_maxRange_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Disruptor I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxRange_moduleWarpScramblerCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Warp Disruptor"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # -96% to -100% reduced CPU need for cloaking device per level
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.05
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Energized Magnetic Membrane I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # -96% to -100% reduced CPU need for cloaking device per level
- # Dynamic part
-
- def test_reconShips_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 0.04
- fLvl = 4
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Reinforced Bulkheads I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 80% reduction in liquid ozone consumption for cynosural field generation
-
- def test_static_consumptionQuantity_moduleCynosuralField(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Covert Cynosural Field Generator I"
- ship_other = "Helios"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in cynosural field duration
-
- def test_static_duration_moduleCynosuralField(self):
- self.buildTested = 0
- attr = "duration"
- item = "Cynosural Field Generator I"
- ship_other = "Helios"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/forceReconShips/falcon.py b/eos/tests/typeTests/ships/forceReconShips/falcon.py
deleted file mode 100755
index cf29b872a..000000000
--- a/eos/tests/typeTests/ships/forceReconShips/falcon.py
+++ /dev/null
@@ -1,315 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Falcon"
-
- # Caldari Cruiser Skill Bonus:
- # 5% Bonus to Medium Hybrid Damage Per Level
-
- def test_caldariCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 150mm Railgun I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "75mm Gatling Rail I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% Bonus to ECM Target Jammer capacitor use per level
-
- def test_caldariCruiser_capacitorNeed_moduleECM(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM - Phase Inverter I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM Burst I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 30% bonus to ECM Target Jammer strength per level
-
- def test_reconShips_scanGravimetricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM - White Noise Generator I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanGravimetricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM Burst I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanLadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM - Multispectral Jammer I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanLadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanMagnetometricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM - Ion Field Projector I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanMagnetometricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM Burst I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanRadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM - Spatial Destabilizer I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_scanRadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # -96% to -100% reduced CPU need for cloaking device per level
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.05
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Warp Disruptor I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # -96% to -100% reduced CPU need for cloaking device per level
- # Dynamic part
-
- def test_reconShips_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 0.04
- fLvl = 4
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Warp Core Stabilizer I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 80% reduction in liquid ozone consumption for cynosural field generation
-
- def test_static_consumptionQuantity_moduleCynosuralField(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Cynosural Field Generator I"
- ship_other = "Buzzard"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in cynosural field duration
-
- def test_static_duration_moduleCynosuralField(self):
- self.buildTested = 0
- attr = "duration"
- item = "Covert Cynosural Field Generator I"
- ship_other = "Buzzard"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/forceReconShips/pilgrim.py b/eos/tests/typeTests/ships/forceReconShips/pilgrim.py
deleted file mode 100755
index 65ecdb6df..000000000
--- a/eos/tests/typeTests/ships/forceReconShips/pilgrim.py
+++ /dev/null
@@ -1,448 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Pilgrim"
-
- # Amarr Cruiser Skill Bonus:
- # 5% bonus to Tracking Disruptor effectiveness per level
-
- def test_amarrCruiser_maxRangeBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_maxRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Link I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_falloffBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_falloffBonus_moduleOther(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Enhancer I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_trackingSpeedBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_trackingSpeedBonus_moduleOther(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Computer I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to drone hit points per level
-
- def test_amarrCruiser_hp_droneCombat(self):
- self.buildTested = 0
- item = "Berserker I"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Medium Shield Maintenance Bot I"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneEwar(self):
- self.buildTested = 0
- item = "Acolyte TD-300"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Infiltrator EV-600"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_hp_droneMining(self):
- self.buildTested = 0
- item = "Harvester Mining Drone"
- skill = "Amarr Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to drone damage per level
-
- def test_amarrCruiser_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Infiltrator I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 20% bonus to Energy Vampire transfer amount per level
-
- def test_reconShips_powerTransferAmount_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Heavy Nosferatu I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_powerTransferAmount_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Large Energy Transfer Array I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 20% bonus to Energy Neutralizer transfer amount per level
-
- def test_reconShips_energyDestabilizationAmount_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Small Energy Neutralizer I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_energyDestabilizationAmount_other(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Praetor EV-900"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Recon Ships Skill bonus:
- # 0.01% bonus to Energy Neutralizer range per level
-
- def test_reconShips_energyDestabilizationRange_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationRange"
- item = "Heavy Energy Neutralizer I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0001
- fLvl = 4
- fIngame = 1.0004
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # -96% to -100% reduced CPU need for cloaking device per level
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.05
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "ECCM Projector I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # -96% to -100% reduced CPU need for cloaking device per level
- # Dynamic part
-
- def test_reconShips_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 0.04
- fLvl = 4
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Large EMP Smartbomb I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 80% reduction in liquid ozone consumption for cynosural field generation
-
- def test_static_consumptionQuantity_moduleCynosuralField(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Covert Cynosural Field Generator I"
- ship_other = "Anathema"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in cynosural field duration
-
- def test_static_duration_moduleCynosuralField(self):
- self.buildTested = 0
- attr = "duration"
- item = "Covert Cynosural Field Generator I"
- ship_other = "Anathema"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/forceReconShips/rapier.py b/eos/tests/typeTests/ships/forceReconShips/rapier.py
deleted file mode 100755
index d0c2a438c..000000000
--- a/eos/tests/typeTests/ships/forceReconShips/rapier.py
+++ /dev/null
@@ -1,240 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Rapier"
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret rate of fire per level per level
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 180mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "280mm Howitzer Artillery I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 7.5% bonus to target painter effectiveness per level
-
- def test_minmatarCruiser_signatureRadiusBonus_moduleTargetPainter(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_signatureRadiusBonus_other(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Valkyrie TP-600"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # 60% bonus to stasis webifier range per level
-
- def test_reconShips_maxRange_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.6
- fLvl = 4
- fIngame = 3.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxRange_moduleStasisWebCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Stasis Webifier"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.6
- fLvl = 4
- fIngame = 3.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Scrambler I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # -96% to -100% reduced CPU need for cloaking device per level
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.05
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Damage Control I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Recon Ships Skill Bonus:
- # -96% to -100% reduced CPU need for cloaking device per level
- # Dynamic part
-
- def test_reconShips_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 0.04
- fLvl = 4
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_reconShips_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Mining Laser Upgrade I"
- skill = "Recon Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 80% reduction in liquid ozone consumption for cynosural field generation
-
- def test_static_consumptionQuantity_moduleCynosuralField(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Cynosural Field Generator I"
- ship_other = "Cheetah"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% reduction in cynosural field duration
-
- def test_static_duration_moduleCynosuralField(self):
- self.buildTested = 0
- attr = "duration"
- item = "Cynosural Field Generator I"
- ship_other = "Cheetah"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/freighters/__init__.py b/eos/tests/typeTests/ships/freighters/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/freighters/charon.py b/eos/tests/typeTests/ships/freighters/charon.py
deleted file mode 100755
index 35a19cf73..000000000
--- a/eos/tests/typeTests/ships/freighters/charon.py
+++ /dev/null
@@ -1,58 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Charon"
-
- # Caldari Freighter Skill Bonus:
- # 5% bonus to cargo hold capacity per level
-
- def test_caldariFreighter_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Caldari Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Freighter Skill Bonus:
- # 5% bonus to maximum velocity per level
-
- def test_caldariFreighter_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Caldari Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/freighters/fenrir.py b/eos/tests/typeTests/ships/freighters/fenrir.py
deleted file mode 100755
index 2f0e93dfb..000000000
--- a/eos/tests/typeTests/ships/freighters/fenrir.py
+++ /dev/null
@@ -1,58 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Fenrir"
-
- # Minmatar Freighter Skill Bonus:
- # 5% bonus to cargo hold capacity per level
-
- def test_minmatarFreighter_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Minmatar Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Freighter Skill Bonus:
- # 5% bonus to maximum velocity per level
-
- def test_minmatarFreighter_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Minmatar Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/freighters/obelisk.py b/eos/tests/typeTests/ships/freighters/obelisk.py
deleted file mode 100755
index 0d3480ae0..000000000
--- a/eos/tests/typeTests/ships/freighters/obelisk.py
+++ /dev/null
@@ -1,58 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Obelisk"
-
- # Gallente Freighter Skill Bonus:
- # 5% bonus to cargo hold capacity per level
-
- def test_gallenteFreighter_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Freighter Skill Bonus:
- # 5% bonus to maximum velocity per level
-
- def test_gallenteFreighter_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Gallente Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/freighters/providence.py b/eos/tests/typeTests/ships/freighters/providence.py
deleted file mode 100755
index 1bee21d81..000000000
--- a/eos/tests/typeTests/ships/freighters/providence.py
+++ /dev/null
@@ -1,58 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Providence"
-
- # Amarr Freighter Skill Bonus:
- # 5% bonus to cargo hold capacity per level
-
- def test_amarrFreighter_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Amarr Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Freighter Skill Bonus:
- # 5% bonus to maximum velocity per level
-
- def test_amarrFreighter_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Amarr Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/__init__.py b/eos/tests/typeTests/ships/frigates/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/frigates/atron.py b/eos/tests/typeTests/ships/frigates/atron.py
deleted file mode 100755
index 5a7d2cb70..000000000
--- a/eos/tests/typeTests/ships/frigates/atron.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Atron"
-
- # Gallente Frigate Skill Bonus:
- # 10% bonus to Small Hybrid Turret falloff per skill level
-
- def test_gallenteFrigate_falloff_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Light Ion Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 5% Small Hybrid Turret damage per skill level
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "125mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 150mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/bantam.py b/eos/tests/typeTests/ships/frigates/bantam.py
deleted file mode 100755
index 28114780a..000000000
--- a/eos/tests/typeTests/ships/frigates/bantam.py
+++ /dev/null
@@ -1,115 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Bantam"
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to cargo capacity per skill level
-
- def test_caldariFrigate_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_capacity_other(self):
- self.buildTested = 0
- attr = "capacity"
- item = "Dual Light Pulse Laser I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 20% bonus to mining laser yield per skill level
-
- def test_caldariFrigate_miningAmount_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_miningAmount_other(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -60% mining laser capacitor use
-
- def test_static_capacitorNeed_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Miner I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Explosion Dampening Field I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/breacher.py b/eos/tests/typeTests/ships/frigates/breacher.py
deleted file mode 100755
index a89224852..000000000
--- a/eos/tests/typeTests/ships/frigates/breacher.py
+++ /dev/null
@@ -1,1128 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Breacher"
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to EM missile damage per level
-
- def test_minmatarFrigate_emDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Javelin Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Precision Light Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Seeker F.O.F. Light Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Assault Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Rage Assault Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Heavy Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Fury Heavy Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Stalker F.O.F. Heavy Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Javelin Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Precision Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Hunter F.O.F. Cruise Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thor Citadel Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunar Citadel Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Proton S"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 10% bonus to Explosive missile damage per level
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Javelin Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Light Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Fury Light Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Javelin Assault Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Heavy Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Fury Heavy Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Eradicator F.O.F. Heavy Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Rage Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Precision Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Obliterator F.O.F. Cruise Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Doom Citadel Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Catastrophe Citadel Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Defender I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosiveDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Hail S"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to Kinetic missile damage per level
-
- def test_minmatarFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Javelin Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Fury Light Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileLightSkillrqNone(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Javelin Assault Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Fury Heavy Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Javelin Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Precision Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_kineticDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Nuclear S"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to Thermal missile damage per level
-
- def test_minmatarFrigate_thermalDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Javelin Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Light Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Fury Light Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Firefly F.O.F. Light Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Assault Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Javelin Assault Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Heavy Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Fury Heavy Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellhound F.O.F. Heavy Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Rage Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Fury Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Phoenix F.O.F. Cruise Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Purgatory Citadel Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Sol Citadel Cruise Missile"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_thermalDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Standard S"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/burst.py b/eos/tests/typeTests/ships/frigates/burst.py
deleted file mode 100755
index 6d0bd1833..000000000
--- a/eos/tests/typeTests/ships/frigates/burst.py
+++ /dev/null
@@ -1,115 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Burst"
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to cargo capacity per skill level
-
- def test_minmatarFrigate_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_capacity_other(self):
- self.buildTested = 0
- attr = "capacity"
- item = "150mm Railgun I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 20% bonus to mining laser yield per skill level
-
- def test_minmatarFrigate_miningAmount_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_miningAmount_other(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -60% mining laser capacitor use
-
- def test_static_capacitorNeed_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Miner I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Shield Booster I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/caldariNavyHookbill.py b/eos/tests/typeTests/ships/frigates/caldariNavyHookbill.py
deleted file mode 100755
index 4000120fa..000000000
--- a/eos/tests/typeTests/ships/frigates/caldariNavyHookbill.py
+++ /dev/null
@@ -1,1176 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Caldari Navy Hookbill"
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to missile velocity per level
-
- def test_caldariFrigate_maxVelocity_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thorn Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Gremlin Rage Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Piranha Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileLightCivilian(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Sabretooth Fury Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Havoc Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to EM missile damage per level
-
- def test_caldariFrigate_emDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rage Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Precision Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Seeker F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Javelin Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Fury Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Stalker F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Rage Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Precision Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Hunter F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thor Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunar Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to Explosive missile damage per level
-
- def test_caldariFrigate_explosiveDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rage Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Fury Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Javelin Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Fury Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Eradicator F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Rage Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Precision Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Obliterator F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Doom Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Catastrophe Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Defender I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 20% bonus to Kinetic missile damage per level
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Javelin Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Precision Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightSkillrqNone(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Javelin Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Precision Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Javelin Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to Thermal missile damage per level
-
- def test_caldariFrigate_thermalDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Javelin Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Fury Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Firefly F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Rage Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Fury Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellhound F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Javelin Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Fury Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Phoenix F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Purgatory Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Sol Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/condor.py b/eos/tests/typeTests/ships/frigates/condor.py
deleted file mode 100755
index d9b1c65e7..000000000
--- a/eos/tests/typeTests/ships/frigates/condor.py
+++ /dev/null
@@ -1,405 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Condor"
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to light missile and rocket kinetic damage per skill level
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Fury Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Javelin Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Precision Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Carbonized Lead S"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to rocket velocity per skill level
-
- def test_caldariFrigate_maxVelocity_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Foxfire Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Phalanx Javelin Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to light missile velocity per skill level
-
- def test_caldariFrigate_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileLightCivilian(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Piranha Fury Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Firefly F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Defender I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/crucifier.py b/eos/tests/typeTests/ships/frigates/crucifier.py
deleted file mode 100755
index 5a8aa19f7..000000000
--- a/eos/tests/typeTests/ships/frigates/crucifier.py
+++ /dev/null
@@ -1,132 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Crucifier"
-
- # Amarr Frigate Skill Bonus:
- # 10% bonus to Small Energy Turret capacitor use per skill level
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Tracking Disruptor effectiveness per skill level
-
- def test_amarrFrigate_maxRangeBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_maxRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Enhancer I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_falloffBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_falloffBonus_moduleOther(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Small Projectile Ambit Extension I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_trackingSpeedBonus_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Disruptor I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_trackingSpeedBonus_moduleOther(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Link I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/cruor.py b/eos/tests/typeTests/ships/frigates/cruor.py
deleted file mode 100755
index 46e740467..000000000
--- a/eos/tests/typeTests/ships/frigates/cruor.py
+++ /dev/null
@@ -1,134 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Cruor"
-
- # Amarr Frigate Skill Bonus:
- # 15% bonus to Energy Vampire drain amount per level
-
- def test_amarrFrigate_powerTransferAmount_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Small Nosferatu I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_powerTransferAmount_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Small Energy Transfer Array I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 15% bonus to Energy Neutralizer drain amount per level
-
- def test_amarrFrigate_energyDestabilizationAmount_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Small Energy Neutralizer I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 10% bonus to the velocity factor of stasis webifiers per level
-
- def test_minmatarFrigate_speedFactor_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Stasis Webifier I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_speedFactor_moduleStasisWebCivilian(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Civilian Stasis Webifier"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_speedFactor_moduleOther(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "1MN Afterburner I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to Small Energy Turret damage
-
- def test_static_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Pulse Laser I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/daredevil.py b/eos/tests/typeTests/ships/frigates/daredevil.py
deleted file mode 100755
index bc06d3759..000000000
--- a/eos/tests/typeTests/ships/frigates/daredevil.py
+++ /dev/null
@@ -1,116 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Daredevil"
-
- # Gallente Frigate Skill Bonus:
- # 10% bonus to Small Hybrid Turret falloff per level
-
- def test_gallenteFrigate_falloff_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Light Neutron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "200mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 10% bonus to the velocity factor of stasis webifiers per level
-
- def test_minmatarFrigate_speedFactor_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Stasis Webifier I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_speedFactor_moduleStasisWebCivilian(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Civilian Stasis Webifier"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_speedFactor_moduleOther(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "1MN MicroWarpdrive I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 200% bonus to Small Hybrid Turret damage
-
- def test_static_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Railgun I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Neutron Blaster I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/dramiel.py b/eos/tests/typeTests/ships/frigates/dramiel.py
deleted file mode 100755
index 99ca5b898..000000000
--- a/eos/tests/typeTests/ships/frigates/dramiel.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Dramiel"
-
- # Minmatar Frigate Skill Bonus:
- # 10% bonus to Small Projectile Turret falloff per level
-
- def test_minmatarFrigate_falloff_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "falloff"
- item = "150mm Light AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "650mm Artillery Cannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 7.5% bonus to Small Projectile Turret tracking speed per level
-
- def test_gallenteFrigate_trackingSpeed_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "125mm Gatling AutoCannon I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 180mm AutoCannon I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to Small Projectile Turret damage
-
- def test_static_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "280mm Howitzer Artillery I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "650mm Artillery Cannon I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/executioner.py b/eos/tests/typeTests/ships/frigates/executioner.py
deleted file mode 100755
index f3c50f518..000000000
--- a/eos/tests/typeTests/ships/frigates/executioner.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Executioner"
-
- # Amarr Frigate Skill Bonus:
- # 10% bonus to Small Energy Turret capacitor use per skill level
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Quad Light Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% Small Energy Turret damage per skill level
-
- def test_amarrFrigate_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Gatling Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Focused Medium Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/federationNavyComet.py b/eos/tests/typeTests/ships/frigates/federationNavyComet.py
deleted file mode 100755
index 47ea60344..000000000
--- a/eos/tests/typeTests/ships/frigates/federationNavyComet.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Federation Navy Comet"
-
- # Gallente Frigate Skill Bonus:
- # 7.5% bonus to Small Hybrid Weapon tracking speed per level
-
- def test_gallenteFrigate_trackingSpeed_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Light Electron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Heavy Neutron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 20% bonus to Small Hybrid Turret damage per level
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "75mm Gatling Rail I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/goldMagnate.py b/eos/tests/typeTests/ships/frigates/goldMagnate.py
deleted file mode 100755
index 67ad5b759..000000000
--- a/eos/tests/typeTests/ships/frigates/goldMagnate.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Gold Magnate"
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Small Energy Turret capacitor use per skill level
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Gatling Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Small Energy Turret damage per skill level
-
- def test_amarrFrigate_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Light Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/griffin.py b/eos/tests/typeTests/ships/frigates/griffin.py
deleted file mode 100755
index 39d7a29e9..000000000
--- a/eos/tests/typeTests/ships/frigates/griffin.py
+++ /dev/null
@@ -1,162 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Griffin"
-
- # Caldari Frigate Skill Bonus:
- # 15% bonus to ECM Target Jammer strength
-
- def test_caldariFrigate_scanGravimetricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM - Spatial Destabilizer I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanGravimetricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanLadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM - Ion Field Projector I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanLadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanMagnetometricStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM - Multispectral Jammer I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanMagnetometricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanRadarStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM - White Noise Generator I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_scanRadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM Burst I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to ECM Target Jammers' capacitor need per level
-
- def test_caldariFrigate_capacitorNeed_moduleEcm(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM - Multispectral Jammer I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM Burst I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/heron.py b/eos/tests/typeTests/ships/frigates/heron.py
deleted file mode 100755
index 3f6c04c6b..000000000
--- a/eos/tests/typeTests/ships/frigates/heron.py
+++ /dev/null
@@ -1,345 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Heron"
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus kinetic missile damage per level
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Fury Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Fury Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Javelin Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Iridium Charge S"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to scan strength of probes per level
-
- def test_caldariFrigate_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Combat Scanner Probe I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to survey probe flight time per level
-
- def test_caldariFrigate_explosionDelay_chargeSurveyProbe(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Gaze Survey Probe I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosionDelay_chargeOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Core Scanner Probe I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/imicus.py b/eos/tests/typeTests/ships/frigates/imicus.py
deleted file mode 100755
index dec786e2f..000000000
--- a/eos/tests/typeTests/ships/frigates/imicus.py
+++ /dev/null
@@ -1,74 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Imicus"
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to drone range per level
-
- def test_gallenteFrigate_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 5% increase to scan strength of probes per level
-
- def test_gallenteFrigate_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Core Scanner Probe I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to survey probe flight time per level
-
- def test_gallenteFrigate_explosionDelay_chargeSurveyProbe(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Discovery Survey Probe I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_explosionDelay_chargeOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Core Scanner Probe I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/imperialNavySlicer.py b/eos/tests/typeTests/ships/frigates/imperialNavySlicer.py
deleted file mode 100755
index bf767c05e..000000000
--- a/eos/tests/typeTests/ships/frigates/imperialNavySlicer.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Imperial Navy Slicer"
-
- # Amarr Frigate Skill Bonus:
- # 10% bonus to Small Energy Turret optimal range per level
-
- def test_amarrFrigate_maxRange_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Medium Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_maxRange_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Focused Medium Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 25% bonus to Small Energy Turret damage per level
-
- def test_amarrFrigate_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Light Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.25
- fLvl = 4
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/incursus.py b/eos/tests/typeTests/ships/frigates/incursus.py
deleted file mode 100755
index 41d9665f9..000000000
--- a/eos/tests/typeTests/ships/frigates/incursus.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Incursus"
-
- # Gallente Frigate Skill Bonus:
- # 10% bonus to Small Hybrid Turret falloff per skill level
-
- def test_gallenteFrigate_falloff_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Light Electron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Dual 150mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to Small Hybrid Turret damage per skill level
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Electron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/inquisitor.py b/eos/tests/typeTests/ships/frigates/inquisitor.py
deleted file mode 100755
index e3113f1db..000000000
--- a/eos/tests/typeTests/ships/frigates/inquisitor.py
+++ /dev/null
@@ -1,1128 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Inquisitor"
-
- # Amarr Frigate Skill Bonus:
- # 10% bonus to EM missile damage per skill level
-
- def test_amarrFrigate_emDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Javelin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Fury Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Seeker F.O.F. Light Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Assault Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Javelin Assault Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Heavy Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Fury Heavy Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Stalker F.O.F. Heavy Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Javelin Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Fury Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Hunter F.O.F. Cruise Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thor Citadel Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunar Citadel Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "EMP S"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Explosive missile damage per skill level
-
- def test_amarrFrigate_explosiveDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rage Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Precision Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Rage Assault Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Heavy Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Precision Heavy Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Eradicator F.O.F. Heavy Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Javelin Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Fury Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Obliterator F.O.F. Cruise Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Doom Citadel Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Catastrophe Citadel Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Defender I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fusion S"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Kinetic missile damage per skill level
-
- def test_amarrFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Javelin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Precision Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileLightSkillrqNone(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Precision Heavy Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Antimatter Charge S"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Thermal missile damage per skill level
-
- def test_amarrFrigate_thermalDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rage Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Precision Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Firefly F.O.F. Light Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Assault Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Rage Assault Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Heavy Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Precision Heavy Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellhound F.O.F. Heavy Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Javelin Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Fury Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Phoenix F.O.F. Cruise Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Purgatory Citadel Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Sol Citadel Cruise Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Infrared S"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/kestrel.py b/eos/tests/typeTests/ships/frigates/kestrel.py
deleted file mode 100755
index df6781040..000000000
--- a/eos/tests/typeTests/ships/frigates/kestrel.py
+++ /dev/null
@@ -1,1068 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Kestrel"
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to EM missile damage per level
-
- def test_caldariFrigate_emDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rage Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Precision Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Seeker F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Javelin Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Precision Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Stalker F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Javelin Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Fury Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Hunter F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thor Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_emDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunar Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to Explosive missile damage per level
-
- def test_caldariFrigate_explosiveDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rage Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Precision Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Rage Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Precision Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Eradicator F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Javelin Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Precision Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Obliterator F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Doom Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Catastrophe Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosiveDamage_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Defender I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to Kinetic missile damage per level
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Javelin Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Fury Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightSkillrqNone(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Fury Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to Thermal missile damage per level
-
- def test_caldariFrigate_thermalDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Javelin Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Fury Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Firefly F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Rage Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Precision Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellhound F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Rage Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Fury Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Phoenix F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Purgatory Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_thermalDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Sol Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/magnate.py b/eos/tests/typeTests/ships/frigates/magnate.py
deleted file mode 100755
index 05e788043..000000000
--- a/eos/tests/typeTests/ships/frigates/magnate.py
+++ /dev/null
@@ -1,90 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Magnate"
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Small Energy Turret capacitor use per level
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Gatling Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% increase to scan strength of probes per skill level
-
- def test_amarrFrigate_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Core Scanner Probe I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to survey probe flight time per level
-
- def test_amarrFrigate_explosionDelay_chargeSurveyProbe(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Quest Survey Probe I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosionDelay_chargeOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Combat Scanner Probe I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/maulus.py b/eos/tests/typeTests/ships/frigates/maulus.py
deleted file mode 100755
index 21ef37fe8..000000000
--- a/eos/tests/typeTests/ships/frigates/maulus.py
+++ /dev/null
@@ -1,102 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Maulus"
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to Small Hybrid Turret damage per skill level
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "125mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 150mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to Remote Sensor Dampener effectiveness per skill level
-
- def test_gallenteFrigate_maxTargetRangeBonus_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "maxTargetRangeBonus"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_maxTargetRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxTargetRangeBonus"
- item = "Remote Sensor Booster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_scanResolutionBonus_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "scanResolutionBonus"
- item = "Remote Sensor Dampener I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_scanResolutionBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanResolutionBonus"
- item = "Remote Sensor Booster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/merlin.py b/eos/tests/typeTests/ships/frigates/merlin.py
deleted file mode 100755
index 8256afd6d..000000000
--- a/eos/tests/typeTests/ships/frigates/merlin.py
+++ /dev/null
@@ -1,158 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Merlin"
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to Small Hybrid Turret optimal range per skill level
-
- def test_caldariFrigate_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "75mm Gatling Rail I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 150mm Railgun I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to shield resistances per skill level
-
- def test_caldariFrigate_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/navitas.py b/eos/tests/typeTests/ships/frigates/navitas.py
deleted file mode 100755
index b98a285d0..000000000
--- a/eos/tests/typeTests/ships/frigates/navitas.py
+++ /dev/null
@@ -1,115 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Navitas"
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to cargo capacity per skill level
-
- def test_gallenteFrigate_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_capacity_other(self):
- self.buildTested = 0
- attr = "capacity"
- item = "200mm AutoCannon I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 20% bonus to mining laser yield per skill level
-
- def test_gallenteFrigate_miningAmount_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_miningAmount_other(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -60% mining laser capacitor use
-
- def test_static_capacitorNeed_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Miner I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Ion Blaster Cannon I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/probe.py b/eos/tests/typeTests/ships/frigates/probe.py
deleted file mode 100755
index 36c18cb82..000000000
--- a/eos/tests/typeTests/ships/frigates/probe.py
+++ /dev/null
@@ -1,89 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Probe"
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus cargo capacity per skill level
-
- def test_minmatarFrigate_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_capacity_other(self):
- self.buildTested = 0
- attr = "capacity"
- item = "Dual 180mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to scan strength of probes per skill level
-
- def test_minmatarFrigate_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Combat Scanner Probe I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to survey probe flight time per level
-
- def test_minmatarFrigate_explosionDelay_chargeSurveyProbe(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Quest Survey Probe I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosionDelay_chargeOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Core Scanner Probe I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/punisher.py b/eos/tests/typeTests/ships/frigates/punisher.py
deleted file mode 100755
index 783b8f8ea..000000000
--- a/eos/tests/typeTests/ships/frigates/punisher.py
+++ /dev/null
@@ -1,158 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Punisher"
-
- # Amarr Frigate Skill Bonus:
- # 10% bonus to Small Energy Turret capacitor use per skill level
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to armor resistances per skill level
-
- def test_amarrFrigate_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/republicFleetFiretail.py b/eos/tests/typeTests/ships/frigates/republicFleetFiretail.py
deleted file mode 100755
index 0241c2c74..000000000
--- a/eos/tests/typeTests/ships/frigates/republicFleetFiretail.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Republic Fleet Firetail"
-
- # Minmatar Frigate Skill Bonus:
- # 20% bonus to Small Projectile Turret damage per level
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "280mm Howitzer Artillery I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "720mm Howitzer Artillery I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 7.5% bonus to Small Projectile Turret tracking speed per level
-
- def test_minmatarFrigate_trackingSpeed_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "125mm Gatling AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 180mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/rifter.py b/eos/tests/typeTests/ships/frigates/rifter.py
deleted file mode 100755
index e48e4d950..000000000
--- a/eos/tests/typeTests/ships/frigates/rifter.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Rifter"
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to Small Projectile Turret damage per level
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Light AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 7.5% bonus to Small Projectile Turret tracking per level
-
- def test_minmatarFrigate_trackingSpeed_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "250mm Light Artillery Cannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "650mm Artillery Cannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/silverMagnate.py b/eos/tests/typeTests/ships/frigates/silverMagnate.py
deleted file mode 100755
index a795cfaf1..000000000
--- a/eos/tests/typeTests/ships/frigates/silverMagnate.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Silver Magnate"
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Small Energy Turret capacitor use per skill level
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Quad Light Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Small Energy Turret damage per skill level
-
- def test_amarrFrigate_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Focused Medium Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/slasher.py b/eos/tests/typeTests/ships/frigates/slasher.py
deleted file mode 100755
index 5c245cf0b..000000000
--- a/eos/tests/typeTests/ships/frigates/slasher.py
+++ /dev/null
@@ -1,72 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Slasher"
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to Small Projectile Turret damage per skill level
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "125mm Gatling AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "220mm Vulcan AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 7.5% bonus to Small Projectile Turret tracking speed per skill level
-
- def test_minmatarFrigate_trackingSpeed_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "250mm Light Artillery Cannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 425mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/succubus.py b/eos/tests/typeTests/ships/frigates/succubus.py
deleted file mode 100755
index cdca22a14..000000000
--- a/eos/tests/typeTests/ships/frigates/succubus.py
+++ /dev/null
@@ -1,101 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Succubus"
-
- # Amarr Frigate Skill Bonus:
- # 7.5% bonus to Small Energy Turret tracking per level
-
- def test_amarrFrigate_trackingSpeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual Light Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_trackingSpeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Heavy Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to Small Energy Turret damage per level
-
- def test_caldariFrigate_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Gatling Pulse Laser I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Quad Light Beam Laser I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to Small Energy Turret damage
-
- def test_static_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Beam Laser I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Beam Laser I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/tormentor.py b/eos/tests/typeTests/ships/frigates/tormentor.py
deleted file mode 100755
index 41bc12590..000000000
--- a/eos/tests/typeTests/ships/frigates/tormentor.py
+++ /dev/null
@@ -1,115 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Tormentor"
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to cargo capacity per skill level
-
- def test_amarrFrigate_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacity_other(self):
- self.buildTested = 0
- attr = "capacity"
- item = "Light Electron Blaster I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 20% bonus to mining laser yield per skill level
-
- def test_amarrFrigate_miningAmount_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_miningAmount_other(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -60% mining laser capacitor use
-
- def test_static_capacitorNeed_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Miner I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Armor Kinetic Hardener I"
- ship_other = "Punisher"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/tristan.py b/eos/tests/typeTests/ships/frigates/tristan.py
deleted file mode 100755
index 26452bee2..000000000
--- a/eos/tests/typeTests/ships/frigates/tristan.py
+++ /dev/null
@@ -1,73 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Tristan"
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to Small Hybrid Turret damage per skill level
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "75mm Gatling Rail I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 7.5% bonus to Small Hybrid Turret tracking speed per skill level
- # Wrong value in description, actually it's 7%
-
- def test_gallenteFrigate_trackingSpeed_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Light Ion Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.07
- fLvl = 4
- fIngame = 1.28
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "250mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/vigil.py b/eos/tests/typeTests/ships/frigates/vigil.py
deleted file mode 100755
index 66b68b291..000000000
--- a/eos/tests/typeTests/ships/frigates/vigil.py
+++ /dev/null
@@ -1,86 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Vigil"
-
- # Minmatar Frigate Skill Bonus:
- # 5% ship velocity per skill level
-
- def test_minmatarFrigate_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_maxVelocity_other(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Gremlin Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 5% Target Painter effectiveness per skill level
-
- def test_minmatarFrigate_signatureRadiusBonus_moduleTargetPainter(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_signatureRadiusBonus_other(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Warrior TP-300"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/frigates/worm.py b/eos/tests/typeTests/ships/frigates/worm.py
deleted file mode 100755
index b5ef6bd46..000000000
--- a/eos/tests/typeTests/ships/frigates/worm.py
+++ /dev/null
@@ -1,226 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Worm"
-
- # Caldari Frigate Skill Bonus:
- # 5% shield resistance per level
-
- def test_caldariFrigate_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 5m3 Drone Bay Capacity per level
-
- def test_gallenteFrigate_droneCapacity_ship(self):
- self.buildTested = 0
- attr = "droneCapacity"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 30
- fLvl = 4
- fIngame = 45
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Rocket velocity
-
- def test_static_maxVelocity_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Foxfire Rocket"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileRocketAdvaced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Gremlin Javelin Rocket"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Light Missile velocity
-
- def test_static_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Sabretooth Light Missile"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Piranha Fury Light Missile"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Seeker F.O.F. Light Missile I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Eradicator F.O.F. Heavy Missile I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/__init__.py b/eos/tests/typeTests/ships/heavyAssaultShips/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/adrestia.py b/eos/tests/typeTests/ships/heavyAssaultShips/adrestia.py
deleted file mode 100755
index 14f137261..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/adrestia.py
+++ /dev/null
@@ -1,172 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Adrestia"
-
- # Gallente Cruiser Skill Bonus:
- # 20% Bonus to medium hybrid turret damage per level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Ion Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 20% Bonus to warp disruptor and warp scrambler range per level
-
- def test_gallenteCruiser_maxRange_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Scrambler I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_maxRange_moduleWarpScramblerCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Warp Disruptor"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 25% bonus to max velocity
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 1.0
- fIngame = 1.25
- iEos = self.getShipAttr(attr, ship=self.ship, unmod=True)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_other(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Warrior I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Medium Hybrid Turret falloff
-
- def test_static_falloff_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "200mm Railgun I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Ion Blaster Cannon I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Medium Hybrid Turret tracking speed
-
- def test_static_trackingSpeed_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Heavy Electron Blaster I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Light Neutron Blaster I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/cerberus.py b/eos/tests/typeTests/ships/heavyAssaultShips/cerberus.py
deleted file mode 100755
index 9a188b25b..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/cerberus.py
+++ /dev/null
@@ -1,671 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Cerberus"
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus to Kinetic Missile damage per level
-
- def test_caldariCruiser_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Precision Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Precision Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Precision Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_other(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Medium Graviton Smartbomb I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to Missile velocity per level
-
- def test_caldariCruiser_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bloodclaw Precision Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Firefly F.O.F. Light Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Terror Rage Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Widowmaker Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunderbolt Precision Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeMissileNoSkillrq(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxVelocity_chargeOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Mjolnir Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Heavy Assault Ship Skill Bonus:
- # 10% bonus to Light Missile flight time per level
-
- def test_heavyAssaultShips_explosionDelay_chargeMissileLight(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Bloodclaw Light Missile"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_explosionDelay_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Piranha Fury Light Missile"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_explosionDelay_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 10% bonus to Heavy Assault Missile flight time per level
-
- def test_heavyAssaultShips_explosionDelay_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Terror Assault Missile"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_explosionDelay_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Torrent Javelin Assault Missile"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 10% bonus to Heavy Missile flight time per level
-
- def test_heavyAssaultShips_explosionDelay_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Havoc Heavy Missile"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_explosionDelay_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Thunderbolt Fury Heavy Missile"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_explosionDelay_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Stalker F.O.F. Heavy Missile I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_explosionDelay_chargeMissileNoSkillrq(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_explosionDelay_chargeOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Defender I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 5% bonus to Missile Launcher rate of fire per level
- # Actually affects only Assault, Heavy Assault and Heavy launchers
-
- def test_heavyAssaultShips_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/deimos.py b/eos/tests/typeTests/ships/heavyAssaultShips/deimos.py
deleted file mode 100755
index ad47b97ad..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/deimos.py
+++ /dev/null
@@ -1,138 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Deimos"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Neutron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Electron Blaster Cannon I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 5% increase to MicroWarpdrive capacitor bonus per level
-
- def test_gallenteCruiser_capacitorCapacityMultiplier_moduleAfterburnerSkillrqHSM(self):
- self.buildTested = 0
- attr = "capacitorCapacityMultiplier"
- item = "10MN MicroWarpdrive II"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 0.88
- fLvl = 4
- fIngame = 1.03
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_capacitorCapacityMultiplier_moduleAfterburnerSkillrqAB(self):
- self.buildTested = 0
- attr = "capacitorCapacityMultiplier"
- item = "10MN Afterburner I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 10% bonus to Medium Hybrid Turret falloff per level
-
- def test_heavyAssaultShips_falloff_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Heavy Ion Blaster I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "150mm Railgun I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_heavyAssaultShips_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "75mm Gatling Rail I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/eagle.py b/eos/tests/typeTests/ships/heavyAssaultShips/eagle.py
deleted file mode 100755
index 7432f0036..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/eagle.py
+++ /dev/null
@@ -1,224 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Eagle"
-
- # Caldari Cruiser Skill Bonus:
- # 10% bonus to Medium Hybrid Turret optimal range per level
-
- def test_caldariCruiser_maxRange_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 150mm Railgun I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "75mm Gatling Rail I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus to shield resistances per level
-
- def test_caldariCruiser_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 10% bonus to Medium Hybrid Turret optimal range per level
-
- def test_heavyAssaultShips_maxRange_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Ion Blaster I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 250mm Railgun I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per level
-
- def test_heavyAssaultShips_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Railgun I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Electron Blaster I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/ishtar.py b/eos/tests/typeTests/ships/heavyAssaultShips/ishtar.py
deleted file mode 100755
index 2893d0363..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/ishtar.py
+++ /dev/null
@@ -1,217 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Ishtar"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to Medium Hybrid Turret damage per skill level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to drone hitpoints per skill level
-
- def test_gallenteCruiser_hp_droneCombat(self):
- self.buildTested = 0
- item = "Curator I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Heavy Armor Maintenance Bot I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneEwar(self):
- self.buildTested = 0
- item = "Vespa EC-600"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Praetor EV-900"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_hp_droneMining(self):
- self.buildTested = 0
- item = "Mining Drone I"
- skill = "Gallente Cruiser"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(skill, iLvl), ship=self.ship)
- fEos += self.getItemAttr(layer, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 10% bonus to drone damage per skill level
-
- def test_gallenteCruiser_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Valkyrie I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Light Pulse Laser I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # +5 km bonus to Scout and Heavy Drone operation range per level
-
- def test_heavyAssaultShips_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 25000.0
- fLvl = 4
- fIngame = 40000.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # +50 m3 extra Drone Bay space per level
-
- def test_heavyAssaultShips_droneCapacity_ship(self):
- self.buildTested = 0
- attr = "droneCapacity"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 250.0
- fLvl = 4
- fIngame = 400.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/mimir.py b/eos/tests/typeTests/ships/heavyAssaultShips/mimir.py
deleted file mode 100755
index 5e230dbd1..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/mimir.py
+++ /dev/null
@@ -1,243 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Mimir"
-
- # Minmatar Cruiser Skill Bonus:
- # 20% bonus to Medium Projectile Turret damage per level
-
- def test_minmatarCruiser_damageMultiplier_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "720mm Howitzer Artillery I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Light AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to all armor resistances per level
-
- def test_minmatarCruiser_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 25% bonus to max velocity
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 1.0
- fIngame = 1.25
- iEos = self.getShipAttr(attr, ship=self.ship, unmod=True)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxVelocity_other(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Warrior I"
- ship_other = "Thorax"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Medium Projectile Turret falloff
-
- def test_static_falloff_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "425mm AutoCannon I"
- ship_other = "Thorax"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "250mm Light Artillery Cannon I"
- ship_other = "Thorax"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 50% bonus to Medium Projectile Turret optimal range
-
- def test_static_maxRange_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "650mm Artillery Cannon I"
- ship_other = "Thorax"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 425mm AutoCannon I"
- ship_other = "Thorax"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/muninn.py b/eos/tests/typeTests/ships/heavyAssaultShips/muninn.py
deleted file mode 100755
index a1d0d5be5..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/muninn.py
+++ /dev/null
@@ -1,138 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Muninn"
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret rate of fire per level
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "720mm Howitzer Artillery I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "125mm Gatling AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret damage per level
-
- def test_minmatarCruiser_damageMultiplier_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "650mm Artillery Cannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "280mm Howitzer Artillery I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 10% bonus to Medium Projectile Turret optimal range per level
-
- def test_heavyAssaultShips_maxRange_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "220mm Vulcan AutoCannon I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_maxRange_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "1200mm Artillery Cannon I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 7.5% bonus to Medium Projectile Turret tracking speed per level
-
- def test_heavyAssaultShips_trackingSpeed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "425mm AutoCannon I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "800mm Repeating Artillery I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/sacrilege.py b/eos/tests/typeTests/ships/heavyAssaultShips/sacrilege.py
deleted file mode 100755
index 070f32eaa..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/sacrilege.py
+++ /dev/null
@@ -1,389 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Sacrilege"
-
- # Amarr Cruiser Skill Bonus:
- # 5% bonus to Heavy Assault Missile damage per level
-
- def test_amarrCruiser_emDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Assault Missile"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_emDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Javelin Assault Missile"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_emDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_explosiveDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_explosiveDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Rage Assault Missile"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_explosiveDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Defender I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_kineticDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_thermalDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Assault Missile"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_thermalDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Javelin Assault Missile"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_thermalDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 5% bonus to all armor resistances per level
-
- def test_amarrCruiser_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 5% reduction of capacitor recharge time per level
-
- def test_heavyAssaultShips_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 5% bonus to Missile Launcher rate of fire per level
- # Actually affects only Assault, Heavy Assault and Heavy launchers
-
- def test_heavyAssaultShips_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Standard Missile Launcher I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/vagabond.py b/eos/tests/typeTests/ships/heavyAssaultShips/vagabond.py
deleted file mode 100755
index 19eb1f546..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/vagabond.py
+++ /dev/null
@@ -1,152 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Vagabond"
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to Medium Projectile Turret rate of fire per level
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 180mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "1200mm Artillery Cannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to max velocity per level
-
- def test_minmatarruiser_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_maxVelocity_drone(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Warrior I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_maxVelocity_charge(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Assault Missile"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 10% bonus to Medium Projectile Turret falloff range per level
-
- def test_heavyAssaultShips_falloff_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "425mm AutoCannon I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "800mm Repeating Artillery I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 5% bonus to Medium Projectile Turret damage per level
-
- def test_heavyAssaultShips_damageMultiplier_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "220mm Vulcan AutoCannon I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Light AutoCannon I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/vangel.py b/eos/tests/typeTests/ships/heavyAssaultShips/vangel.py
deleted file mode 100755
index faa1c16ad..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/vangel.py
+++ /dev/null
@@ -1,368 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Vangel"
-
- # Amarr Cruiser Skill Bonus:
- # 5% bonus to armor resistances per level
-
- def test_amarrCruiser_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 20% bonus to energy vampire transfer amount per level
-
- def test_amarrCruiser_powerTransferAmount_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Medium Nosferatu I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_powerTransferAmount_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Small Energy Transfer Array I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 20% bonus to energy vampire transfer range per level
-
- def test_amarrCruiser_powerTransferRange_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Medium Nosferatu I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_powerTransferRange_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Medium Energy Transfer Array I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 20% bonus to energy neutralizer transfer amount per level
-
- def test_amarrCruiser_energyDestabilizationAmount_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Medium Energy Neutralizer I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_energyDestabilizationAmount_moduleOther(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Praetor EV-900"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 20% bonus to energy neutralizer range per level
-
- def test_amarrCruiser_energyDestabilizationRange_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationRange"
- item = "Medium Energy Neutralizer I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_energyDestabilizationRange_moduleOther(self):
- self.buildTested = 0
- attr = "energyDestabilizationRange"
- item = "Praetor EV-900"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% bonus to repair amount of armor repair systems
-
- def test_static_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Armor Repairer I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Remote Armor Repair System I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 50% bonus to missile launcher rate of fire
- # Actually affects only Assault, Heavy Assault and Heavy launchers
-
- def test_static_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- ship_other = "Rupture"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyAssaultShips/zealot.py b/eos/tests/typeTests/ships/heavyAssaultShips/zealot.py
deleted file mode 100755
index 0233cabe4..000000000
--- a/eos/tests/typeTests/ships/heavyAssaultShips/zealot.py
+++ /dev/null
@@ -1,138 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Zealot"
-
- # Amarr Cruiser Skill Bonus:
- # 10% bonus to Medium Energy Turret capacitor use per level
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Pulse Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Mega Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 5% bonus to Medium Energy Turret rate of fire per level
-
- def test_amarrCruiser_speed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Quad Light Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_speed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Gatling Pulse Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 10% bonus to Medium Energy Turret optimal range per level
-
- def test_heavyAssaultShips_maxRange_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Focused Medium Beam Laser I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_maxRange_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual Heavy Pulse Laser I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Assault Ship Skill Bonus:
- # 5% bonus to Medium Energy Turret damage per level
-
- def test_heavyAssaultShips_damageMultiplier_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Focused Medium Pulse Laser I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyAssaultShips_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Heavy Beam Laser I"
- skill = "Heavy Assault Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyInterdictors/__init__.py b/eos/tests/typeTests/ships/heavyInterdictors/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/heavyInterdictors/broadsword.py b/eos/tests/typeTests/ships/heavyInterdictors/broadsword.py
deleted file mode 100755
index 1bb52012f..000000000
--- a/eos/tests/typeTests/ships/heavyInterdictors/broadsword.py
+++ /dev/null
@@ -1,209 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Broadsword"
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to medium projectile turret rate of fire per level
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "425mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 425mm AutoCannon I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 5% bonus to shield resistances per level
-
- def test_minmatarCruiser_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Interdiction Cruisers Skill Bonus:
- # 10% bonus to medium projectile turret falloff per level
-
- def test_heavyInterdictors_falloff_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "720mm Howitzer Artillery I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyInterdictors_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "200mm AutoCannon I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Interdiction Cruisers Skill Bonus:
- # 5% bonus to range of warp disruption fields per level
-
- def test_heavyInterdictors_warpScrambleRange_moduleWarpDisruptionFieldGenerator(self):
- self.buildTested = 0
- attr = "warpScrambleRange"
- item = "Warp Disruption Field Generator I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyInterdictors/devoter.py b/eos/tests/typeTests/ships/heavyInterdictors/devoter.py
deleted file mode 100755
index 68070b374..000000000
--- a/eos/tests/typeTests/ships/heavyInterdictors/devoter.py
+++ /dev/null
@@ -1,209 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Devoter"
-
- # Amarr Cruiser Skill Bonus:
- # 10% reduction in medium energy turret capacitor use per level
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Pulse Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Gatling Pulse Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 5% bonus to armor resistances per level
-
- def test_amarrCruiser_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Interdiction Cruisers Skill Bonus:
- # 5% bonus to medium energy turret rate of fire per level
-
- def test_heavyInterdictors_speed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Focused Medium Beam Laser I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyInterdictors_speed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual Heavy Pulse Laser I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Interdiction Cruisers Skill Bonus:
- # 5% bonus to range of warp disruption fields per level
-
- def test_heavyInterdictors_warpScrambleRange_moduleWarpDisruptionFieldGenerator(self):
- self.buildTested = 0
- attr = "warpScrambleRange"
- item = "Warp Disruption Field Generator I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyInterdictors/onyx.py b/eos/tests/typeTests/ships/heavyInterdictors/onyx.py
deleted file mode 100755
index 84e148279..000000000
--- a/eos/tests/typeTests/ships/heavyInterdictors/onyx.py
+++ /dev/null
@@ -1,527 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Onyx"
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus to kinetic missile damage per level
-
- def test_caldariCruiser_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Fury Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Fury Heavy Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_kineticDamage_other(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Medium Graviton Smartbomb I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 5% bonus to shield resistances per level
-
- def test_caldariCruiser_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Interdiction Cruisers Skill Bonus:
- # 10% bonus to heavy assault missile velocity per level
-
- def test_heavyInterdictors_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Fulmination Assault Missile"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyInterdictors_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Javelin Assault Missile"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Interdiction Cruisers Skill Bonus:
- # 10% bonus to heavy missile velocity per level
-
- def test_heavyInterdictors_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Scourge Heavy Missile"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyInterdictors_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Widowmaker Fury Heavy Missile"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyInterdictors_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Eradicator F.O.F. Heavy Missile I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyInterdictors_maxVelocity_chargeOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bane Torpedo"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Interdiction Cruisers Skill Bonus:
- # 5% bonus to range of warp disruption fields per level
-
- def test_heavyInterdictors_warpScrambleRange_moduleWarpDisruptionFieldGenerator(self):
- self.buildTested = 0
- attr = "warpScrambleRange"
- item = "Warp Disruption Field Generator I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/heavyInterdictors/phobos.py b/eos/tests/typeTests/ships/heavyInterdictors/phobos.py
deleted file mode 100755
index fe498be14..000000000
--- a/eos/tests/typeTests/ships/heavyInterdictors/phobos.py
+++ /dev/null
@@ -1,209 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Phobos"
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to medium hybrid turret damage per level
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 5% bonus to armor resistances per level
-
- def test_gallenteCruiser_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Interdiction Cruisers Skill Bonus:
- # 10% bonus to medium hybrid turret falloff per level
-
- def test_heavyInterdictors_falloff_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Heavy Ion Blaster I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heavyInterdictors_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Light Neutron Blaster I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Heavy Interdiction Cruisers Skill Bonus:
- # 5% bonus to range of warp disruption fields per level
-
- def test_heavyInterdictors_warpScrambleRange_moduleWarpDisruptionFieldGenerator(self):
- self.buildTested = 0
- attr = "warpScrambleRange"
- item = "Warp Disruption Field Generator I"
- skill = "Heavy Interdiction Cruisers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrialCommandShips/__init__.py b/eos/tests/typeTests/ships/industrialCommandShips/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/industrialCommandShips/orca.py b/eos/tests/typeTests/ships/industrialCommandShips/orca.py
deleted file mode 100755
index f46df7da7..000000000
--- a/eos/tests/typeTests/ships/industrialCommandShips/orca.py
+++ /dev/null
@@ -1,188 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Orca"
-
- # Industrial Command Ship Skill Bonus:
- # 5% bonus to cargo capacity per level
-
- def test_industrialCommandShips_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Industrial Command Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Industrial Command Ship Skill Bonus:
- # 3% bonus to effectiveness of mining foreman gang links per level
-
- def test_industrialCommandShips_commandBonus_moduleGangCoordinatorSkillrqMining(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Mining Foreman Link - Harvester Capacitor Efficiency I"
- skill = "Industrial Command Ships"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_industrialCommandShips_commandBonus_moduleGangCoordinatorSkillrqOther(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Armored Warfare Link - Damage Control I"
- skill = "Industrial Command Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 250% bonus to tractor beam range
-
- def test_static_maxRange_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Tractor Beam I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 3.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Salvager I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to tractor beam velocity
-
- def test_static_maxTractorVelocity_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Small Tractor Beam I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxTractorVelocity_moduleTractorBeamCapital(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Capital Tractor Beam I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 500% bonus to survey scanner range
-
- def test_static_surveyScanRange_moduleSurveyScanner(self):
- self.buildTested = 0
- attr = "surveyScanRange"
- item = "Survey Scanner I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in CPU need for Gang Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Information Warfare Link - Recon Operation I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # Can use 3 gang link modules simultaneously
-
- def test_static_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "Siege Warfare Link - Shield Efficiency I"
- ship_other = "Nighthawk"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "10MN Afterburner I"
- ship_other = "Nighthawk"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/__init__.py b/eos/tests/typeTests/ships/industrials/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/industrials/badger.py b/eos/tests/typeTests/ships/industrials/badger.py
deleted file mode 100755
index 2eb9f1224..000000000
--- a/eos/tests/typeTests/ships/industrials/badger.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Badger"
-
- # Caldari Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_caldariIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Caldari Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_caldariIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Caldari Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/badgerMarkII.py b/eos/tests/typeTests/ships/industrials/badgerMarkII.py
deleted file mode 100755
index 5f9be20bb..000000000
--- a/eos/tests/typeTests/ships/industrials/badgerMarkII.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Badger Mark II"
-
- # Caldari Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_caldariIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Caldari Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_caldariIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Caldari Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/bestower.py b/eos/tests/typeTests/ships/industrials/bestower.py
deleted file mode 100755
index 713704f04..000000000
--- a/eos/tests/typeTests/ships/industrials/bestower.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Bestower"
-
- # Amarr Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_amarrIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Amarr Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_amarrIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Amarr Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/hoarder.py b/eos/tests/typeTests/ships/industrials/hoarder.py
deleted file mode 100755
index 503b52824..000000000
--- a/eos/tests/typeTests/ships/industrials/hoarder.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Hoarder"
-
- # Minmatar Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_minmatarIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Minmatar Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_minmatarIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Minmatar Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/iteron.py b/eos/tests/typeTests/ships/industrials/iteron.py
deleted file mode 100755
index 909924d21..000000000
--- a/eos/tests/typeTests/ships/industrials/iteron.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Iteron"
-
- # Gallente Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_gallenteIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_gallenteIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/iteronMarkII.py b/eos/tests/typeTests/ships/industrials/iteronMarkII.py
deleted file mode 100755
index b6d661e65..000000000
--- a/eos/tests/typeTests/ships/industrials/iteronMarkII.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Iteron Mark II"
-
- # Gallente Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_gallenteIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_gallenteIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/iteronMarkIII.py b/eos/tests/typeTests/ships/industrials/iteronMarkIII.py
deleted file mode 100755
index 3e3ca72a4..000000000
--- a/eos/tests/typeTests/ships/industrials/iteronMarkIII.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Iteron Mark III"
-
- # Gallente Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_gallenteIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_gallenteIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/iteronMarkIV.py b/eos/tests/typeTests/ships/industrials/iteronMarkIV.py
deleted file mode 100755
index f9fa3445e..000000000
--- a/eos/tests/typeTests/ships/industrials/iteronMarkIV.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Iteron Mark IV"
-
- # Gallente Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_gallenteIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_gallenteIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/iteronMarkV.py b/eos/tests/typeTests/ships/industrials/iteronMarkV.py
deleted file mode 100755
index cf07b3cd0..000000000
--- a/eos/tests/typeTests/ships/industrials/iteronMarkV.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Iteron Mark V"
-
- # Gallente Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_gallenteIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_gallenteIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/mammoth.py b/eos/tests/typeTests/ships/industrials/mammoth.py
deleted file mode 100755
index 4638bcaa0..000000000
--- a/eos/tests/typeTests/ships/industrials/mammoth.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Mammoth"
-
- # Minmatar Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_minmatarIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Minmatar Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_minmatarIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Minmatar Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/noctis.py b/eos/tests/typeTests/ships/industrials/noctis.py
deleted file mode 100755
index 527200e21..000000000
--- a/eos/tests/typeTests/ships/industrials/noctis.py
+++ /dev/null
@@ -1,123 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Noctis"
-
- # ORE Industrial Skill Bonus:
- # 5% bonus to Tractor Beam cycle time per level
-
- def test_oreIndustrial_duration_moduleTractorBeamSkillrqGraviton(self):
- self.buildTested = 0
- attr = "duration"
- item = "Small Tractor Beam I"
- skill = "ORE Industrial"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_oreIndustrial_duration_moduleOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Passive Targeter I"
- skill = "ORE Industrial"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # ORE Industrial Skill Bonus:
- # 5% bonus to Salvager cycle time per level
-
- def test_oreIndustrial_duration_moduleDataMinerSkillrqSalvaging(self):
- self.buildTested = 0
- attr = "duration"
- item = "Salvager I"
- skill = "ORE Industrial"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_oreIndustrial_duration_moduleDataMinerSkillrqOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Analyzer I"
- skill = "ORE Industrial"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # ORE Industrial Skill Bonus:
- # 60% bonus to Tractor Beam range per level
-
- def test_oreIndustrial_maxRange_moduleTractorBeamSkillrqGraviton(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Tractor Beam I"
- skill = "ORE Industrial"
- iLvl = 1
- iIngame = 1.6
- fLvl = 4
- fIngame = 3.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_oreIndustrial_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "200mm Railgun I"
- skill = "ORE Industrial"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # ORE Industrial Skill Bonus:
- # 60% bonus to Tractor Beam velocity per level
-
- def test_oreIndustrial_maxTractorVelocity_moduleTractorBeamSkillrqGraviton(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Small Tractor Beam I"
- skill = "ORE Industrial"
- iLvl = 1
- iIngame = 1.6
- fLvl = 4
- fIngame = 3.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/sigil.py b/eos/tests/typeTests/ships/industrials/sigil.py
deleted file mode 100755
index ac287f682..000000000
--- a/eos/tests/typeTests/ships/industrials/sigil.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Sigil"
-
- # Amarr Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_amarrIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Amarr Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_amarrIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Amarr Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/industrials/wreathe.py b/eos/tests/typeTests/ships/industrials/wreathe.py
deleted file mode 100755
index 92b38e2c3..000000000
--- a/eos/tests/typeTests/ships/industrials/wreathe.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Wreathe"
-
- # Minmatar Industrial Skill Bonus:
- # 5% Bonus Cargo Capacity per skill level
-
- def test_minmatarIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Minmatar Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Industrial Skill Bonus:
- # 5% Bonus Max Velocity per skill level
-
- def test_minmatarIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Minmatar Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interceptors/__init__.py b/eos/tests/typeTests/ships/interceptors/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/interceptors/ares.py b/eos/tests/typeTests/ships/interceptors/ares.py
deleted file mode 100755
index 898538f25..000000000
--- a/eos/tests/typeTests/ships/interceptors/ares.py
+++ /dev/null
@@ -1,222 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Ares"
-
- # Gallente Frigate Skill Bonus:
- # 5% bonus to Small Hybrid Turret damage per level
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Electron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 7.5% bonus to Small Hybrid Turret tracking speed per level
- # Wrong value in description, actually it's 7%
-
- def test_gallenteFrigate_trackingSpeed_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Light Electron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.07
- fLvl = 4
- fIngame = 1.28
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "250mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 15% reduction in MicroWarpdrive signature radius penalty per level
-
- def test_interceptors_signatureRadiusBonus_moduleAfterburnerSkillrqHighSpeedManeuvering(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 5% bonus to Warp Scrambler and Warp Disruptor range per level
-
- def test_interceptors_maxRange_moduleWarpScramblerSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Disruptor I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxRange_moduleWarpScramblerNoSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Warp Disruptor"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxRange_moduleOtherSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role bonus:
- # 80% reduction in Propulsion Jamming systems activation cost
-
- def test_static_capacitorNeed_moduleStasisWebSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Stasis Webifier I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleStasisWebNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Stasis Webifier"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Scrambler I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Warp Disruptor"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Ship Scanner I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interceptors/claw.py b/eos/tests/typeTests/ships/interceptors/claw.py
deleted file mode 100755
index 910cdc9d2..000000000
--- a/eos/tests/typeTests/ships/interceptors/claw.py
+++ /dev/null
@@ -1,173 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Claw"
-
- # Minmatar Frigate Skill Bonus:
- # 10% bonus to Small Projectile Turret Damage per level
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectiledWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "280mm Howitzer Artillery I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 180mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 15% reduction in MicroWarpdrive signature radius penalty per level
-
- def test_interceptors_signatureRadiusBonus_moduleAfterburnerSkillrqHighSpeedManeuvering(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Inertia Stabilizers I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 7.5% bonus to Small Projectile Turret Tracking Speed per level
-
- def test_interceptors_trackingSpeed_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "125mm Gatling AutoCannon I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "425mm AutoCannon I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role bonus:
- # 80% reduction in Propulsion Jamming systems activation cost
-
- def test_static_capacitorNeed_moduleStasisWebSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Stasis Webifier I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleStasisWebNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Stasis Webifier"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Scrambler I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Warp Disruptor"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Small Energy Neutralizer I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interceptors/crow.py b/eos/tests/typeTests/ships/interceptors/crow.py
deleted file mode 100755
index 352d367a7..000000000
--- a/eos/tests/typeTests/ships/interceptors/crow.py
+++ /dev/null
@@ -1,683 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Crow"
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to Kinetic Missile damage per level
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Javelin Rocket"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Fury Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Fury Heavy Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Javelin Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Barrage S"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 15% reduction in MicroWarpdrive signature radius penalty per level
-
- def test_interceptors_signatureRadiusBonus_moduleAfterburnerSkillrqHighSpeedManeuvering(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Inertia Stabilizers I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 10% bonus to Missile Velocity per level
-
- def test_interceptors_maxVelocity_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Foxfire Rocket"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Gremlin Javelin Rocket"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bloodclaw Light Missile"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Precision Light Missile"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Fulmination Assault Missile"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Torrent Javelin Assault Missile"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunderbolt Heavy Missile"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Scourge Precision Heavy Missile"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Stalker F.O.F. Heavy Missile I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bane Torpedo"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Inferno Rage Torpedo"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Cataclysm Cruise Missile"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Devastator Fury Cruise Missile"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Purgatory Citadel Torpedo"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Sol Citadel Cruise Missile"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Defender I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxVelocity_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role bonus:
- # 80% reduction in Propulsion Jamming systems activation cost
-
- def test_static_capacitorNeed_moduleStasisWebSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Stasis Webifier I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleStasisWebNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Stasis Webifier"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Disruptor I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Warp Disruptor"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Micro EMP Smartbomb I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interceptors/crusader.py b/eos/tests/typeTests/ships/interceptors/crusader.py
deleted file mode 100755
index f90f0bd13..000000000
--- a/eos/tests/typeTests/ships/interceptors/crusader.py
+++ /dev/null
@@ -1,251 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Crusader"
-
- # Amarr Frigate Skill Bonus:
- # 10% reduction in Small Energy Turret capacitor use per level
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "125mm Railgun I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to Small Energy Turret damage per level
-
- def test_amarrFrigate_damageMultiplier_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Light Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_damageMultiplier_moduleOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 15% reduction in MicroWarpdrive signature radius penalty per level
-
- def test_interceptors_signatureRadiusBonus_moduleAfterburnerSkillrqHighSpeedManeuvering(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Inertia Stabilizers I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 7.5% bonus to Small Energy Turret Tracking Speed per level
-
- def test_interceptors_trackingSpeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Gatling Pulse Laser I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_trackingSpeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Quad Light Beam Laser I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_trackingSpeed_moduleOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "75mm Gatling Rail I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role bonus:
- # 80% reduction in Propulsion Jamming systems activation cost
-
- def test_static_capacitorNeed_moduleStasisWebSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Stasis Webifier I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleStasisWebNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Stasis Webifier"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Scrambler I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Warp Disruptor"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Small Shield Booster I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interceptors/malediction.py b/eos/tests/typeTests/ships/interceptors/malediction.py
deleted file mode 100755
index dc7f7a41d..000000000
--- a/eos/tests/typeTests/ships/interceptors/malediction.py
+++ /dev/null
@@ -1,457 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Malediction"
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to rocket damage per level
-
- def test_amarrFrigate_emDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rage Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_emDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Javelin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosiveDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Heavy Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_kineticDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Javelin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_thermalDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Precision Light Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 5% bonus to armor resistances per level
-
- def test_amarrFrigate_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 15% reduction in MicroWarpdrive signature radius penalty per level
-
- def test_interceptors_signatureRadiusBonus_moduleAfterburnerSkillrqHighSpeedManeuvering(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 5% bonus to Warp Scrambler and Warp Disruptor range per level
-
- def test_interceptors_maxRange_moduleWarpScramblerSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Scrambler I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxRange_moduleWarpScramblerNoSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Warp Disruptor"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxRange_moduleOtherSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role bonus:
- # 80% reduction in Propulsion Jamming systems activation cost
-
- def test_static_capacitorNeed_moduleStasisWebSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Stasis Webifier I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleStasisWebNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Stasis Webifier"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Disruptor I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Warp Disruptor"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Codebreaker I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interceptors/raptor.py b/eos/tests/typeTests/ships/interceptors/raptor.py
deleted file mode 100755
index 65db5f506..000000000
--- a/eos/tests/typeTests/ships/interceptors/raptor.py
+++ /dev/null
@@ -1,221 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Raptor"
-
- # Caldari Frigate Skill Bonus:
- # 5% bonus to Small Hybrid Turret Damage per level
-
- def test_caldariFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "75mm Gatling Rail I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 150mm Railgun I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to Small Hybrid Turret optimal range per level
-
- def test_caldariFrigate_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Light Neutron Blaster I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Ion Blaster I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 15% reduction in MicroWarpdrive signature radius penalty per level
-
- def test_interceptors_signatureRadiusBonus_moduleAfterburnerSkillrqHighSpeedManeuvering(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Inertia Stabilizers I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 5% bonus to Warp Scrambler and Warp Disruptor range per level
-
- def test_interceptors_maxRange_moduleWarpScramblerSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Scrambler I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxRange_moduleWarpScramblerNoSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Warp Disruptor"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxRange_moduleOtherSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role bonus:
- # 80% reduction in Propulsion Jamming systems activation cost
-
- def test_static_capacitorNeed_moduleStasisWebSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Stasis Webifier I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleStasisWebNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Stasis Webifier"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Scrambler I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Warp Disruptor"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Quad Light Beam Laser I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interceptors/stiletto.py b/eos/tests/typeTests/ships/interceptors/stiletto.py
deleted file mode 100755
index b9785f7d3..000000000
--- a/eos/tests/typeTests/ships/interceptors/stiletto.py
+++ /dev/null
@@ -1,221 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Stiletto"
-
- # Minmatar Frigate Skill Bonus:
- # 5% bonus to Small Projectile Turret damage per level
-
- def test_minmatarFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "220mm Vulcan AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 7.5% bonus to Small Projectile Turret tracking speed per level
-
- def test_minmatarFrigate_trackingSpeed_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "125mm Gatling AutoCannon I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "720mm Howitzer Artillery I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 15% reduction in MicroWarpdrive signature radius penalty per level
-
- def test_interceptors_signatureRadiusBonus_moduleAfterburnerSkillrqHighSpeedManeuvering(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 5% bonus to Warp Scrambler and Warp Disruptor range per level
-
- def test_interceptors_maxRange_moduleWarpScramblerSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Disruptor I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxRange_moduleWarpScramblerNoSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Warp Disruptor"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_maxRange_moduleOtherSkillrqPropJamming(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role bonus:
- # 80% reduction in Propulsion Jamming systems activation cost
-
- def test_static_capacitorNeed_moduleStasisWebSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Stasis Webifier I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleStasisWebNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Stasis Webifier"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Scrambler I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Warp Disruptor"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Ship Scanner I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interceptors/taranis.py b/eos/tests/typeTests/ships/interceptors/taranis.py
deleted file mode 100755
index 4392dd544..000000000
--- a/eos/tests/typeTests/ships/interceptors/taranis.py
+++ /dev/null
@@ -1,173 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Taranis"
-
- # Gallente Frigate Skill Bonus:
- # 10% Small Hybrid Turret damage per level
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 15% reduction in MicroWarpdrive signature radius penalty Per Interceptor Skill Level
-
- def test_interceptors_signatureRadiusBonus_moduleAfterburnerSkillrqHighSpeedManeuvering(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Inertia Stabilizers I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interceptor Skill Bonus:
- # 7.5% Small Hybrid Turret tracking speed Per Interceptor Skill Level
-
- def test_interceptors_trackingSpeed_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "125mm Railgun I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interceptors_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Heavy Neutron Blaster I"
- skill = "Interceptors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role bonus:
- # 80% reduction in Propulsion Jamming systems activation cost
-
- def test_static_capacitorNeed_moduleStasisWebSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Stasis Webifier I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleStasisWebNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Stasis Webifier"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Scrambler I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleWarpScramblerNoSkillrqPropulsionJamming(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Warp Disruptor"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Salvager I"
- ship_other = "Rifter"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interdictors/__init__.py b/eos/tests/typeTests/ships/interdictors/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/interdictors/eris.py b/eos/tests/typeTests/ships/interdictors/eris.py
deleted file mode 100755
index 9283b27d1..000000000
--- a/eos/tests/typeTests/ships/interdictors/eris.py
+++ /dev/null
@@ -1,231 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Eris"
-
- # Destroyer Skill Bonus:
- # 10% bonus to Small Hybrid Turret falloff per level
-
- def test_destroyers_falloff_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Light Neutron Blaster I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Heavy Electron Blaster I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Destroyer Skill Bonus:
- # 10% bonus to Small Hybrid Turret tracking speed per level
-
- def test_destroyers_trackingSpeed_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "75mm Gatling Rail I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 150mm Railgun I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interdictors Skill Bonus:
- # 5% bonus to Rocket thermal damage per level
-
- def test_interdictors_thermalDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_thermalDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Javelin Rocket"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interdictors Skill Bonus:
- # 5% bonus to Light Missile thermal damage per level
-
- def test_interdictors_thermalDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Light Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_thermalDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Precision Light Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_thermalDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Firefly F.O.F. Light Missile I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_thermalDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Assault Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interdictors Skill Bonus:
- # 10% bonus to Interdiction Sphere Launcher rate of fire per level
-
- def test_interdictors_speed_moduleLauncherInterdictionSphere(self):
- self.buildTested = 0
- attr = "speed"
- item = "Interdiction Sphere Launcher I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_speed_moduleOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "125mm Gatling AutoCannon I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_moduleReactivationDelay_moduleLauncherInterdictionSphere(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Interdiction Sphere Launcher I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interdictors/flycatcher.py b/eos/tests/typeTests/ships/interdictors/flycatcher.py
deleted file mode 100755
index 13c5c1579..000000000
--- a/eos/tests/typeTests/ships/interdictors/flycatcher.py
+++ /dev/null
@@ -1,369 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Flycatcher"
-
- # Destroyer Skill Bonus:
- # 10% bonus to Rocket velocity per level
-
- def test_destroyers_maxVelocity_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Gremlin Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_maxVelocity_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Phalanx Rage Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Destroyer Skill Bonus:
- # 10% bonus to Light Missile velocity per level
-
- def test_destroyers_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Light Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Piranha Precision Light Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Seeker F.O.F. Light Missile I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_maxVelocity_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Havoc Heavy Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Destroyer Skill Bonus:
- # 3% bonus to Light Missile effectiveness against faster moving targets per level
-
- def test_destroyers_aoeVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Bloodclaw Light Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Flameburst Fury Light Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Phalanx Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interdictors Skill Bonus:
- # 5% bonus to Rocket kinetic damage per level
-
- def test_interdictors_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interdictors Skill Bonus:
- # 5% bonus to Light Missile kinetic damage per level
-
- def test_interdictors_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Precision Light Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_kineticDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interdictors Skill Bonus:
- # 10% bonus to Interdiction Sphere Launcher rate of fire per level
-
- def test_interdictors_speed_moduleLauncherInterdictionSphere(self):
- self.buildTested = 0
- attr = "speed"
- item = "Interdiction Sphere Launcher I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_speed_moduleOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Standard Missile Launcher I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_moduleReactivationDelay_moduleLauncherInterdictionSphere(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Interdiction Sphere Launcher I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interdictors/heretic.py b/eos/tests/typeTests/ships/interdictors/heretic.py
deleted file mode 100755
index 701d206a7..000000000
--- a/eos/tests/typeTests/ships/interdictors/heretic.py
+++ /dev/null
@@ -1,816 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Heretic"
-
- # Destroyer Skill Bonus:
- # 5% bonus to rocket damage per level
-
- def test_destroyers_emDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_emDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rage Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_emDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Assault Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_explosiveDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_explosiveDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Javelin Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_explosiveDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Javelin Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_kineticDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_thermalDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_thermalDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rage Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_thermalDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Torpedo"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Destroyer Skill Bonus:
- # 5% bonus to rocket explosion velocity per level
-
- def test_destroyers_aoeVelocity_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Foxfire Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Gremlin Rage Rocket"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Destroyer Skill Bonus:
- # 5% bonus to missile explosion velocity per level
-
- def test_destroyers_aoeVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Sabretooth Light Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Piranha Fury Light Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Firefly F.O.F. Light Missile I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Fulmination Assault Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Terror Javelin Assault Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Thunderbolt Heavy Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Scourge Fury Heavy Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Eradicator F.O.F. Heavy Missile I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Juggernaut Torpedo"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Inferno Rage Torpedo"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Devastator Cruise Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Paradise Fury Cruise Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Hunter F.O.F. Cruise Missile I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Doom Citadel Torpedo"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_aoeVelocity_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Rajas Citadel Cruise Missile"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interdictors Skill Bonus:
- # 5% bonus to missile velocity per level
-
- def test_interdictors_maxVelocity_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Gremlin Rocket"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Phalanx Rage Rocket"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Light Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Piranha Precision Light Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Seeker F.O.F. Light Missile I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Assault Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Torrent Rage Assault Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Scourge Heavy Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Widowmaker Fury Heavy Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hydra F.O.F. Heavy Missile I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Juggernaut Torpedo"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bane Javelin Torpedo"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Devastator Cruise Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Wrath Precision Cruise Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Doom Citadel Torpedo"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunar Citadel Cruise Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Defender I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_maxVelocity_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interdictors Skill Bonus:
- # 10% bonus to Interdiction Sphere Launcher rate of fire per level
-
- def test_interdictors_speed_moduleLauncherInterdictionSphere(self):
- self.buildTested = 0
- attr = "speed"
- item = "Interdiction Sphere Launcher I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_speed_moduleOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_moduleReactivationDelay_moduleLauncherInterdictionSphere(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Interdiction Sphere Launcher I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/interdictors/sabre.py b/eos/tests/typeTests/ships/interdictors/sabre.py
deleted file mode 100755
index 4de557c5e..000000000
--- a/eos/tests/typeTests/ships/interdictors/sabre.py
+++ /dev/null
@@ -1,168 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Sabre"
-
- # Destroyer Skill Bonus:
- # 5% bonus to Small Projectile Turret damage per level
-
- def test_destroyers_damageMultiplier_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Light Artillery Cannon I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "720mm Carbine Howitzer I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Destroyer Skill Bonus:
- # 10% bonus to Small Projectile Turret tracking speed per level
-
- def test_destroyers_trackingSpeed_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "125mm Gatling AutoCannon I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_destroyers_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 180mm AutoCannon I"
- skill = "Destroyers"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interdictors Skill Bonus:
- # 10% bonus to Small Projectile Turret falloff per level
-
- def test_interdictors_falloff_moduleProjectileWeaponSmall(self):
- self.buildTested = 0
- attr = "falloff"
- item = "200mm AutoCannon I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "425mm AutoCannon I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Interdictors Skill Bonus:
- # 10% bonus to Interdiction Sphere Launcher rate of fire per level
-
- def test_interdictors_speed_moduleLauncherInterdictionSphere(self):
- self.buildTested = 0
- attr = "speed"
- item = "Interdiction Sphere Launcher I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_speed_moduleOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "125mm Gatling AutoCannon I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_moduleReactivationDelay_moduleLauncherInterdictionSphere(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Interdiction Sphere Launcher I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_interdictors_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- skill = "Interdictors"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/jumpFreighters/__init__.py b/eos/tests/typeTests/ships/jumpFreighters/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/jumpFreighters/anshar.py b/eos/tests/typeTests/ships/jumpFreighters/anshar.py
deleted file mode 100755
index 545cad2a1..000000000
--- a/eos/tests/typeTests/ships/jumpFreighters/anshar.py
+++ /dev/null
@@ -1,126 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Anshar"
-
- # Gallente Freighter Skill Bonus:
- # 5% bonus to cargo hold capacity per level
-
- def test_gallenteFreighter_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Freighter Skill Bonus:
- # 5% bonus to agility per level
-
- def test_gallenteFreighter_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Gallente Freighter"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to shield hitpoints per level
-
- def test_jumpFreighters_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to armor hitpoints per level
-
- def test_jumpFreighters_armorHp_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to hull hitpoints per level
-
- def test_jumpFreighters_hp_ship(self):
- self.buildTested = 0
- attr = "hp"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% reduction in jump fuel need per level
-
- def test_jumpFreighters_jumpDriveConsumptionAmount_ship(self):
- self.buildTested = 0
- attr = "jumpDriveConsumptionAmount"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/jumpFreighters/ark.py b/eos/tests/typeTests/ships/jumpFreighters/ark.py
deleted file mode 100755
index 95c98d846..000000000
--- a/eos/tests/typeTests/ships/jumpFreighters/ark.py
+++ /dev/null
@@ -1,126 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Ark"
-
- # Amarr Freighter Skill Bonus:
- # 5% bonus to cargo hold capacity per level
-
- def test_amarrFreighter_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Amarr Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Freighter Skill Bonus:
- # 5% bonus to agility per level
-
- def test_amarrFreighter_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Amarr Freighter"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to shield hitpoints per level
-
- def test_jumpFreighters_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to armor hitpoints per level
-
- def test_jumpFreighters_armorHp_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to hull hitpoints per level
-
- def test_jumpFreighters_hp_ship(self):
- self.buildTested = 0
- attr = "hp"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% reduction in jump fuel need per level
-
- def test_jumpFreighters_jumpDriveConsumptionAmount_ship(self):
- self.buildTested = 0
- attr = "jumpDriveConsumptionAmount"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/jumpFreighters/nomad.py b/eos/tests/typeTests/ships/jumpFreighters/nomad.py
deleted file mode 100755
index 84f816c6e..000000000
--- a/eos/tests/typeTests/ships/jumpFreighters/nomad.py
+++ /dev/null
@@ -1,126 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Nomad"
-
- # Minmatar Freighter Skill Bonus:
- # 5% bonus to cargo hold capacity per level
-
- def test_minmatarFreighter_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Minmatar Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Freighter Skill Bonus:
- # 5% bonus to agility per level
-
- def test_minmatarFreighter_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Minmatar Freighter"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to shield hitpoints per level
-
- def test_jumpFreighters_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to armor hitpoints per level
-
- def test_jumpFreighters_armorHp_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to hull hitpoints per level
-
- def test_jumpFreighters_hp_ship(self):
- self.buildTested = 0
- attr = "hp"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% reduction in jump fuel need per level
-
- def test_jumpFreighters_jumpDriveConsumptionAmount_ship(self):
- self.buildTested = 0
- attr = "jumpDriveConsumptionAmount"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/jumpFreighters/rhea.py b/eos/tests/typeTests/ships/jumpFreighters/rhea.py
deleted file mode 100755
index bdb9d58d6..000000000
--- a/eos/tests/typeTests/ships/jumpFreighters/rhea.py
+++ /dev/null
@@ -1,126 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Rhea"
-
- # Caldari Freighter Skill Bonus:
- # 5% bonus to cargo hold capacity per level
-
- def test_caldariFreighter_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Caldari Freighter"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Freighter Skill Bonus:
- # 5% bonus to agility per level
-
- def test_caldariFreighter_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Caldari Freighter"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to shield hitpoints per level
-
- def test_jumpFreighters_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to armor hitpoints per level
-
- def test_jumpFreighters_armorHp_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% bonus to hull hitpoints per level
-
- def test_jumpFreighters_hp_ship(self):
- self.buildTested = 0
- attr = "hp"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Jump Freighters Skill Bonus:
- # 10% reduction in jump fuel need per level
-
- def test_jumpFreighters_jumpDriveConsumptionAmount_ship(self):
- self.buildTested = 0
- attr = "jumpDriveConsumptionAmount"
- skill = "Jump Freighters"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/logistics/__init__.py b/eos/tests/typeTests/ships/logistics/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/logistics/basilisk.py b/eos/tests/typeTests/ships/logistics/basilisk.py
deleted file mode 100755
index 615db539d..000000000
--- a/eos/tests/typeTests/ships/logistics/basilisk.py
+++ /dev/null
@@ -1,325 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Basilisk"
-
- # Caldari Cruiser Skill Bonus:
- # 150% bonus to Shield Transport range per level
-
- def test_caldariCruiser_shieldTransferRange_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Medium Shield Transporter I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_shieldTransferRange_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Civilian Remote Shield Transporter"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 150% bonus to Energy Transfer Array range per level
-
- def test_caldariCruiser_powerTransferRange_moduleEnergyTransfer(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Large Energy Transfer Array I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_powerTransferRange_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Capital Energy Transfer Array I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCruiser_powerTransferRange_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Heavy Nosferatu I"
- skill = "Caldari Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Cruiser Skill Bonus:
- # 20% bonus to Shield Maintenance Bot transfer amount per level
- # Actually static 100% bonus, anyway cruiser skill must be at V level
-
- def test_static_shieldBonus_droneLogistics(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Maintenance Bot I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_shieldBonus_other(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Booster I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Logistics Skill Bonus:
- # 15% reduction in Shield Transport capacitor use per level
-
- def test_logistics_capacitorNeed_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Shield Transporter I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Shield Transporter I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Remote Shield Transporter"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Logistics Skill Bonus:
- # 15% reduction in Energy Transfer Array capacitor use per level
-
- def test_logistics_capacitorNeed_moduleEnergyTransfer(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Energy Transfer Array I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Energy Transfer Array I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM Burst I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -50% CPU need for Shield Transporters
-
- def test_static_cpu_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Micro Shield Transporter I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Capital Shield Transporter I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Civilian Remote Shield Transporter"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Ballistic Control System I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -50% power need for Energy Transfer Arrays
-
- def test_static_power_moduleEnergyTransfer(self):
- self.buildTested = 0
- attr = "power"
- item = "Medium Energy Transfer Array I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "power"
- item = "Capital Energy Transfer Array I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleOther(self):
- self.buildTested = 0
- attr = "power"
- item = "Large Proton Smartbomb I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/logistics/guardian.py b/eos/tests/typeTests/ships/logistics/guardian.py
deleted file mode 100755
index 66c15a94f..000000000
--- a/eos/tests/typeTests/ships/logistics/guardian.py
+++ /dev/null
@@ -1,327 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Guardian"
-
- # Amarr Cruiser Skill Bonus:
- # 150% bonus to Energy Transfer Array range per level
-
- def test_amarrCruiser_powerTransferRange_moduleEnergyTransfer(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Large Energy Transfer Array I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_powerTransferRange_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Capital Energy Transfer Array I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_powerTransferRange_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Medium Nosferatu I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 150% bonus to Remote Armor Repair System range per level
-
- def test_amarrCruiser_maxRange_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Large Remote Armor Repair System I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_maxRange_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Capital Remote Armor Repair System I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_maxRange_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Remote Armor Repair System"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCruiser_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual Light Beam Laser I"
- skill = "Amarr Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Cruiser Skill Bonus:
- # 20% bonus to Armor Maintenance Bot transfer amount per level
- # Actually static 100% bonus, anyway cruiser skill must be at V level
-
- def test_static_armorDamageAmount_droneLogistics(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Light Armor Maintenance Bot I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_armorDamageAmount_other(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Armor Repairer I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Logistics Skill Bonus:
- # 15% reduction in Energy Transfer Array capacitor use per level
-
- def test_logistics_capacitorNeed_moduleEnergyTransfer(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Small Energy Transfer Array I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Energy Transfer Array I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Logistics Skill Bonus:
- # 15% reduction in Remote Armor Repair System capacitor use per level
-
- def test_logistics_capacitorNeed_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Remote Armor Repair System I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Remote Armor Repair System I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Remote Armor Repair System"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Small Energy Neutralizer I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -65% power need for Remote Armor Repair Systems
-
- def test_static_power_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "power"
- item = "Large Remote Armor Repair System I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.35
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "power"
- item = "Capital Remote Armor Repair System I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.35
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "power"
- item = "Civilian Remote Armor Repair System"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.35
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -50% power need for Energy Transfer Arrays
-
- def test_static_power_moduleEnergyTransfer(self):
- self.buildTested = 0
- attr = "power"
- item = "Medium Energy Transfer Array I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "power"
- item = "Capital Energy Transfer Array I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleOther(self):
- self.buildTested = 0
- attr = "power"
- item = "Large Armor Repairer I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/logistics/oneiros.py b/eos/tests/typeTests/ships/logistics/oneiros.py
deleted file mode 100755
index ab522f818..000000000
--- a/eos/tests/typeTests/ships/logistics/oneiros.py
+++ /dev/null
@@ -1,328 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Oneiros"
-
- # Gallente Cruiser Skill Bonus:
- # 150% bonus to Remote Armor Repair System range per level
-
- def test_gallenteCruiser_maxRange_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Large Remote Armor Repair System I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_maxRange_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Capital Remote Armor Repair System I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_maxRange_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Remote Armor Repair System"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 150% bonus to Tracking Link range per level
-
- def test_gallenteCruiser_maxRange_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Tracking Link I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCruiser_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Remote Sensor Booster I"
- skill = "Gallente Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Cruiser Skill Bonus:
- # 20% bonus to Armor Maintenance Bot transfer amount per level
- # Actually static 100% bonus, anyway cruiser skill must be at V level
-
- def test_static_armorDamageAmount_droneLogistics(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Light Armor Maintenance Bot I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_armorDamageAmount_other(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Armor Repairer I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Logistics Skill Bonus:
- # 15% reduction in Remote Armor Repair System capacitor use per level
-
- def test_logistics_capacitorNeed_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Remote Armor Repair System I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Remote Armor Repair System I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Remote Armor Repair System"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Explosion Dampening Field I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Logistics Skill Bonus:
- # 10% bonus to Tracking Link efficiency per level
-
- def test_logistics_maxRangeBonus_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Link I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_maxRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Medium Hybrid Locus Coordinator I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_falloffBonus_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Link I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_falloffBonus_moduleOther(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Disruptor I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_trackingSpeedBonus_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Link I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_trackingSpeedBonus_moduleOther(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Computer I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -65% power need for Remote Armor Repair Systems
-
- def test_static_power_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "power"
- item = "Large Remote Armor Repair System I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.35
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "power"
- item = "Capital Remote Armor Repair System I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.35
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "power"
- item = "Civilian Remote Armor Repair System"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.35
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleOther(self):
- self.buildTested = 0
- attr = "power"
- item = "Small Energy Neutralizer I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/logistics/scimitar.py b/eos/tests/typeTests/ships/logistics/scimitar.py
deleted file mode 100755
index e5f0b6c50..000000000
--- a/eos/tests/typeTests/ships/logistics/scimitar.py
+++ /dev/null
@@ -1,328 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Scimitar"
-
- # Minmatar Cruiser Skill Bonus:
- # 150% bonus to Tracking Link range per level
-
- def test_minmatarCruiser_maxRange_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Tracking Link I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Remote Sensor Dampener I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 150% bonus to Shield Transport range per level
-
- def test_minmatarCruiser_shieldTransferRange_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Medium Shield Transporter I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCruiser_shieldTransferRange_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Civilian Remote Shield Transporter"
- skill = "Minmatar Cruiser"
- iLvl = 1
- iIngame = 2.5
- fLvl = 4
- fIngame = 7.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Cruiser Skill Bonus:
- # 20% bonus to Shield Maintenance Bot transport amount per level
- # Actually static 100% bonus, anyway cruiser skill must be at V level
-
- def test_static_shieldBonus_droneLogistics(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Maintenance Bot I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_shieldBonus_other(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Large Shield Booster I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Logistics Skill Bonus:
- # 10% bonus to Tracking Link efficiency per level
-
- def test_logistics_maxRangeBonus_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Link I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_maxRangeBonus_moduleOther(self):
- self.buildTested = 0
- attr = "maxRangeBonus"
- item = "Tracking Enhancer I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_falloffBonus_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Link I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_falloffBonus_moduleOther(self):
- self.buildTested = 0
- attr = "falloffBonus"
- item = "Tracking Computer I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_trackingSpeedBonus_moduleTrackingLink(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Link I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_trackingSpeedBonus_moduleOther(self):
- self.buildTested = 0
- attr = "trackingSpeedBonus"
- item = "Tracking Disruptor I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Logistics Skill Bonus:
- # 15% reduction in Shield Transport capacitor use per level
-
- def test_logistics_capacitorNeed_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Small Shield Transporter I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Shield Transporter I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Remote Shield Transporter"
- skill = "Logistics"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_logistics_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Induced Ion Field ECM I"
- skill = "Logistics"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -50% CPU need for Shield Transporters
-
- def test_static_cpu_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Large Shield Transporter I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Capital Shield Transporter I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Civilian Remote Shield Transporter"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 0.5
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Damage Control I"
- ship_other = "Omen"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/marauders/__init__.py b/eos/tests/typeTests/ships/marauders/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/marauders/golem.py b/eos/tests/typeTests/ships/marauders/golem.py
deleted file mode 100755
index 63dcfed96..000000000
--- a/eos/tests/typeTests/ships/marauders/golem.py
+++ /dev/null
@@ -1,669 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Golem"
-
- # Caldari Battleship Skill Bonus:
- # 10% bonus to torpedo velocity per level
-
- def test_caldariBattleship_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Juggernaut Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Juggernaut Javelin Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 10% bonus to cruise missile velocity per level
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Cataclysm Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Devastator Fury Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Obliterator F.O.F. Cruise Missile I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Torrent Assault Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to torpedo explosion velocity per level
-
- def test_caldariBattleship_aoeVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Inferno Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_aoeVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Bane Rage Torpedo"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Battleship Skill Bonus:
- # 5% bonus to cruise missile explosion velocity per level
-
- def test_caldariBattleship_aoeVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Wrath Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_aoeVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Paradise Fury Cruise Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_aoeVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Dragon F.O.F. Cruise Missile I"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariBattleship_aoeVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Thunderbolt Heavy Missile"
- skill = "Caldari Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Marauders Skill Bonus:
- # 7.5% bonus to shield boost amount per level
-
- def test_marauders_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Booster I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Large Shield Transporter I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Marauders Skill Bonus:
- # 7.5% bonus to effectiveness of target painters per level
-
- def test_marauders_signatureRadiusBonus_moduleTargetPainter(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "100MN MicroWarpdrive I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_signatureRadiusBonus_other(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Warrior TP-300"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to cruise missile and torpedo damage
-
- def test_static_emDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_emDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Javelin Torpedo"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_emDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Cruise Missile"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_emDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Fury Cruise Missile"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_emDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Hunter F.O.F. Cruise Missile I"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Assault Missile"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_explosiveDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Torpedo"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_explosiveDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Rage Torpedo"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_explosiveDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Cruise Missile"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_explosiveDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Fury Cruise Missile"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_explosiveDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Obliterator F.O.F. Cruise Missile I"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Heavy Missile"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Precision Cruise Missile"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_thermalDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Torpedo"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_thermalDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Javelin Torpedo"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_thermalDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Cruise Missile"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_thermalDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Fury Cruise Missile"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_thermalDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Phoenix F.O.F. Cruise Missile I"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- ship_other = "Scorpion"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to range of tractor beams
-
- def test_static_maxRange_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Tractor Beam I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECCM Projector I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to velocity of tractor beams
-
- def test_static_maxTractorVelocity_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Small Tractor Beam I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/marauders/kronos.py b/eos/tests/typeTests/ships/marauders/kronos.py
deleted file mode 100755
index 7a5b2ae22..000000000
--- a/eos/tests/typeTests/ships/marauders/kronos.py
+++ /dev/null
@@ -1,272 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Kronos"
-
- # Gallente Battleship Skill Bonus:
- # 5% bonus to large hybrid weapon damage per level
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Electron Blaster Cannon I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Ion Blaster I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Battleship Skill Bonus:
- # 10% bonus to the velocity factor of stasis webifiers per level
-
- def test_gallenteBattleship_speedFactor_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Stasis Webifier I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_speedFactor_moduleStasisWebCivilian(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Civilian Stasis Webifier"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_speedFactor_moduleOther(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "10MN MicroWarpdrive I"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteBattleship_speedFactor_other(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Berserker SW-900"
- skill = "Gallente Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Marauder Skill Bonus:
- # 7.5% bonus to repair amount of armor repair systems per level
-
- def test_marauders_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Armor Repairer I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Remote Armor Repair System I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Marauder Skill Bonus:
- # 7.5% bonus to large hybrid weapon tracking per level
-
- def test_marauders_trackingSpeed_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "425mm Railgun I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "125mm Railgun I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to large hybrid weapon damage
-
- def test_static_damageMultiplier_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "350mm Railgun I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 150mm Railgun I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to range of tractor beams
-
- def test_static_maxRange_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Tractor Beam I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Salvager I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to velocity of tractor beams
-
- def test_static_maxTractorVelocity_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Small Tractor Beam I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/marauders/paladin.py b/eos/tests/typeTests/ships/marauders/paladin.py
deleted file mode 100755
index a9b422488..000000000
--- a/eos/tests/typeTests/ships/marauders/paladin.py
+++ /dev/null
@@ -1,256 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Paladin"
-
- # Amarr Battleship Skill Bonus:
- # 5% bonus to capacitor capacity per level
-
- def test_amarrBattleship_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Battleship Skill Bonus:
- # 10% bonus to the velocity factor of stasis webifiers per level
-
- def test_amarrBattleship_speedFactor_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Stasis Webifier I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_speedFactor_moduleStasisWebCivilian(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Civilian Stasis Webifier"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_speedFactor_moduleOther(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "100MN Afterburner I"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrBattleship_speedFactor_other(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Berserker SW-900"
- skill = "Amarr Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Marauder Skill Bonus:
- # 7.5% bonus to repair amount of armor repair systems per level
-
- def test_marauders_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Armor Repairer I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Remote Armor Repair System I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Marauder Skill Bonus:
- # 5% bonus to large energy turret damage per level
-
- def test_marauders_damageMultiplier_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Mega Pulse Laser I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Light Beam Laser I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to large energy weapon damage
-
- def test_static_damageMultiplier_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Tachyon Beam Laser I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Gatling Pulse Laser I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to range of tractor beams
-
- def test_static_maxRange_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Tractor Beam I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "720mm Howitzer Artillery I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to velocity of tractor beams
-
- def test_static_maxTractorVelocity_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Small Tractor Beam I"
- ship_other = "Megathron"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/marauders/vargur.py b/eos/tests/typeTests/ships/marauders/vargur.py
deleted file mode 100755
index 96c7cca9d..000000000
--- a/eos/tests/typeTests/ships/marauders/vargur.py
+++ /dev/null
@@ -1,242 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Vargur"
-
- # Minmatar Battleship Skill Bonus:
- # 5% bonus to large projectile turret rate of fire per level
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 425mm AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "425mm AutoCannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Battleship Skill Bonus:
- # 10% bonus to large projectile turret falloff per level
-
- def test_minmatarBattleship_falloff_moduleProjectileWeaponLarge(self):
- self.buildTested = 0
- attr = "falloff"
- item = "800mm Repeating Artillery I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarBattleship_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "250mm Light Artillery Cannon I"
- skill = "Minmatar Battleship"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Marauder Skill Bonus:
- # 7.5% bonus to shield boost amount per level
-
- def test_marauders_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Booster I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Transporter I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Marauder Skill Bonus:
- # 7.5% bonus to large projectile turret tracking per level
-
- def test_marauders_trackingSpeed_moduleHybridWeaponLarge(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "1200mm Artillery Cannon I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_marauders_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "200mm AutoCannon I"
- skill = "Marauders"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to large projectile weapon damage
-
- def test_static_damageMultiplier_moduleEnergyWeaponLarge(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "1400mm Howitzer Artillery I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "720mm Howitzer Artillery I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to range of tractor beams
-
- def test_static_maxRange_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Tractor Beam I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Target Painter I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% bonus to velocity of tractor beams
-
- def test_static_maxTractorVelocity_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Small Tractor Beam I"
- ship_other = "Apocalypse"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/miningBarges/__init__.py b/eos/tests/typeTests/ships/miningBarges/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/miningBarges/covetor.py b/eos/tests/typeTests/ships/miningBarges/covetor.py
deleted file mode 100755
index f629cbc5b..000000000
--- a/eos/tests/typeTests/ships/miningBarges/covetor.py
+++ /dev/null
@@ -1,99 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Covetor"
-
- # Mining Barge Skill Bonus:
- # 3% better yield for Strip Miners per level
-
- def test_miningBarge_miningAmount_moduleFrequencyMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Modulated Strip Miner II"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleStripMiner(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOtherSkillrqDeepCoreMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Deep Core Mining Laser I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_otherSkillrqMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/miningBarges/procurer.py b/eos/tests/typeTests/ships/miningBarges/procurer.py
deleted file mode 100755
index e18795a26..000000000
--- a/eos/tests/typeTests/ships/miningBarges/procurer.py
+++ /dev/null
@@ -1,99 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Procurer"
-
- # Mining Barge Skill Bonus:
- # 3% better yield for Strip Miners per level
-
- def test_miningBarge_miningAmount_moduleFrequencyMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Modulated Strip Miner II"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleStripMiner(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOtherSkillrqDeepCoreMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Deep Core Mining Laser I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_otherSkillrqMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/miningBarges/retriever.py b/eos/tests/typeTests/ships/miningBarges/retriever.py
deleted file mode 100755
index 8af363fa3..000000000
--- a/eos/tests/typeTests/ships/miningBarges/retriever.py
+++ /dev/null
@@ -1,99 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Retriever"
-
- # Mining Barge Skill Bonus:
- # 3% better yield for Strip Miners per level
-
- def test_miningBarge_miningAmount_moduleFrequencyMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Modulated Strip Miner II"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleStripMiner(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleIceHarvester(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOtherSkillrqDeepCoreMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Deep Core Mining Laser I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningBarge_miningAmount_otherSkillrqMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- skill = "Mining Barge"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/rookieShips/__init__.py b/eos/tests/typeTests/ships/rookieShips/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/rookieShips/ibis.py b/eos/tests/typeTests/ships/rookieShips/ibis.py
deleted file mode 100755
index e677d9827..000000000
--- a/eos/tests/typeTests/ships/rookieShips/ibis.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Ibis"
-
- # Special Ability:
- # 10% bonus hybrid turret optimal range per skill level
- # Description is wrong, it uses Caldari Frigate as boost skill
-
- def test_caldariFrigate_maxRange_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "75mm Gatling Rail I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxRange_moduleHybridWeaponOtherl(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 150mm Railgun I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/rookieShips/impairor.py b/eos/tests/typeTests/ships/rookieShips/impairor.py
deleted file mode 100755
index 5780b3fa1..000000000
--- a/eos/tests/typeTests/ships/rookieShips/impairor.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Impairor"
-
- # Special Ability:
- # 10% bonus to energy turret capacitor use per skill level
- # Description is wrong, it uses Amarr Frigate as boost skill
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponSmall(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Beam Laser I"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/rookieShips/reaper.py b/eos/tests/typeTests/ships/rookieShips/reaper.py
deleted file mode 100755
index ba0ce7386..000000000
--- a/eos/tests/typeTests/ships/rookieShips/reaper.py
+++ /dev/null
@@ -1,24 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Reaper"
-
- # Special Ability:
- # 5% bonus to velocity per skill level
- # Description is wrong, it uses Minmatar Frigate as boost skill
-
- def test_minmatarFrigate_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/rookieShips/velator.py b/eos/tests/typeTests/ships/rookieShips/velator.py
deleted file mode 100755
index ed3527306..000000000
--- a/eos/tests/typeTests/ships/rookieShips/velator.py
+++ /dev/null
@@ -1,40 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Velator"
-
- # Special Ability:
- # 5% bonus to hybrid turret damage per skill level
- # Description is wrong, it uses Gallente Frigate as boost skill
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponSmall(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Ion Blaster I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm Railgun I"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/stealthBombers/__init__.py b/eos/tests/typeTests/ships/stealthBombers/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/stealthBombers/hound.py b/eos/tests/typeTests/ships/stealthBombers/hound.py
deleted file mode 100755
index 9c076bcd2..000000000
--- a/eos/tests/typeTests/ships/stealthBombers/hound.py
+++ /dev/null
@@ -1,339 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Hound"
-
- # Minmatar Frigate Skill Bonus:
- # 10% bonus to torpedo explosion velocity per level
-
- def test_minmatarFrigate_aoeVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Inferno Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_aoeVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Juggernaut Rage Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_aoeVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Thorn Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 10% bonus to torpedo flight time per level
-
- def test_minmatarFrigate_explosionDelay_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Bane Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosionDelay_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Mjolnir Javelin Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_explosionDelay_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Phalanx Rocket"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Frigate Skill Bonus:
- # 20% bonus to torpedo velocity per level
-
- def test_minmatarFrigate_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Inferno Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bane Rage Torpedo"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarFrigate_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Stalker F.O.F. Heavy Missile I"
- skill = "Minmatar Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 5% bonus to bomb explosive damage per level
-
- def test_covertOps_explosiveDamage_chargeBomb(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Shrapnel Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_explosiveDamage_chargeBombEcm(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Lockbreaker Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_explosiveDamage_chargeBombEnergy(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Void Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 15% bonus to Torpedo explosive damage per level
-
- def test_covertOps_explosiveDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Torpedo"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_explosiveDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Rage Torpedo"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99.65% reduction in Siege Missile Launcher powergrid needs
-
- def test_static_power_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "power"
- item = "Siege Missile Launcher I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 0.0035
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "power"
- item = "200mm AutoCannon I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99.5% reduction in Cloak CPU Use
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.005
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Invulnerability Field I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -100% targeting delay after decloaking
-
- def test_static_cloakingTargetingDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cloakingTargetingDelay"
- item = "Prototype Cloaking Device I"
- ingame = 0.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 15 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 15000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 15000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/stealthBombers/manticore.py b/eos/tests/typeTests/ships/stealthBombers/manticore.py
deleted file mode 100755
index 74e14dcfa..000000000
--- a/eos/tests/typeTests/ships/stealthBombers/manticore.py
+++ /dev/null
@@ -1,339 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Manticore"
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to torpedo explosion velocity per level
-
- def test_caldariFrigate_aoeVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Inferno Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_aoeVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Juggernaut Rage Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_aoeVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Sabretooth Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 10% bonus to torpedo flight time per level
-
- def test_caldariFrigate_explosionDelay_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Juggernaut Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosionDelay_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Juggernaut Javelin Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_explosionDelay_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Exterminator F.O.F. Light Missile I"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Frigate Skill Bonus:
- # 20% bonus to torpedo missile velocity per level
-
- def test_caldariFrigate_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Mjolnir Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Bane Rage Torpedo"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariFrigate_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Piranha Light Missile"
- skill = "Caldari Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 5% bonus to bomb kinetic damage per level
-
- def test_covertOps_kineticDamage_chargeBomb(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Concussion Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_kineticDamage_chargeBombEcm(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Lockbreaker Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_kineticDamage_chargeBombEnergy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Void Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 15% bonus to torpedo kinetic damage per level
-
- def test_covertOps_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Javelin Torpedo"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99.65% reduction in Siege Missile Launcher powergrid needs
-
- def test_static_power_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "power"
- item = "Siege Missile Launcher I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 0.0035
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "power"
- item = "1MN MicroWarpdrive I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99.5% reduction in Cloak CPU Use
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.005
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Cap Recharger I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -100% targeting delay after decloaking
-
- def test_static_cloakingTargetingDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cloakingTargetingDelay"
- item = "Prototype Cloaking Device I"
- ingame = 0.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 15 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 15000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 15000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/stealthBombers/nemesis.py b/eos/tests/typeTests/ships/stealthBombers/nemesis.py
deleted file mode 100755
index ae65a83f2..000000000
--- a/eos/tests/typeTests/ships/stealthBombers/nemesis.py
+++ /dev/null
@@ -1,339 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Nemesis"
-
- # Gallente Frigate Skill Bonus:
- # 10% bonus to torpedo explosion velocity per level
-
- def test_gallenteFrigate_aoeVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Inferno Torpedo"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_aoeVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Mjolnir Javelin Torpedo"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_aoeVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Bloodclaw Light Missile"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 10% bonus to torpedo flight time per level
-
- def test_gallenteFrigate_explosionDelay_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Bane Torpedo"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_explosionDelay_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Inferno Javelin Torpedo"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_explosionDelay_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Piranha Light Missile"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Frigate Skill Bonus:
- # 20% bonus to torpedo velocity per level
-
- def test_gallenteFrigate_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Mjolnir Torpedo"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Juggernaut Rage Torpedo"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteFrigate_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thorn Rocket"
- skill = "Gallente Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 5% bonus to bomb thermal damage per level
-
- def test_covertOps_thermalDamage_chargeBomb(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Scorch Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_thermalDamage_chargeBombEcm(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Lockbreaker Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_thermalDamage_chargeBombEnergy(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Void Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 15% bonus to torpedo thermal damage per level
-
- def test_covertOps_thermalDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Torpedo"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_thermalDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Javelin Torpedo"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Light Missile"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99.65% reduction in Siege Missile Launcher powergrid needs
-
- def test_static_power_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "power"
- item = "Siege Missile Launcher I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 0.0035
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "power"
- item = "Small Shield Booster I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99.5% reduction in Cloak CPU Use
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.005
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Passive Targeter I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -100% targeting delay after decloaking
-
- def test_static_cloakingTargetingDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cloakingTargetingDelay"
- item = "Prototype Cloaking Device I"
- ingame = 0.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 15 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 15000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 15000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/stealthBombers/purifier.py b/eos/tests/typeTests/ships/stealthBombers/purifier.py
deleted file mode 100755
index d65888d34..000000000
--- a/eos/tests/typeTests/ships/stealthBombers/purifier.py
+++ /dev/null
@@ -1,339 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Purifier"
-
- # Amarr Frigate Skill Bonus:
- # 10% bonus to torpedo explosion velocity per level
-
- def test_amarrFrigate_aoeVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Juggernaut Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_aoeVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Bane Rage Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_aoeVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Gremlin Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 10% bonus to torpedo flight time per level
-
- def test_amarrFrigate_explosionDelay_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Bane Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosionDelay_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Mjolnir Javelin Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_explosionDelay_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Foxfire Rocket"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Frigate Skill Bonus:
- # 20% bonus to torpedo velocity per level
-
- def test_amarrFrigate_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Mjolnir Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Inferno Javelin Torpedo"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrFrigate_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Havoc Heavy Missile"
- skill = "Amarr Frigate"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 5% bonus to bomb EM damage per level
-
- def test_covertOps_emDamage_chargeBomb(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Electron Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_emDamage_chargeBombEcm(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Lockbreaker Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_emDamage_chargeBombEnergy(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Void Bomb"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Covert Ops Skill Bonus:
- # 15% bonus to Torpedo EM damage per level
-
- def test_covertOps_emDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_emDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Rage Torpedo"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_covertOps_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Seeker F.O.F. Light Missile I"
- skill = "Covert Ops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99.65% reduction in Siege Missile Launcher powergrid needs
-
- def test_static_power_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "power"
- item = "Siege Missile Launcher I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 0.0035
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_power_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "power"
- item = "Rocket Launcher I"
- ship_other = "Raven"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99.5% reduction in Cloak CPU Use
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.005
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Damage Control I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -100% targeting delay after decloaking
-
- def test_static_cloakingTargetingDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cloakingTargetingDelay"
- item = "Prototype Cloaking Device I"
- ingame = 0.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 15 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 15000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 15000.0
- fItem = "Covert Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/legion/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/adaptiveAugmenter.py b/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/adaptiveAugmenter.py
deleted file mode 100755
index 38bbdb1c7..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/adaptiveAugmenter.py
+++ /dev/null
@@ -1,296 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Defensive - Adaptive Augmenter"
- self.skill = "Amarr Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to all armor resistances per level
-
- def test_amarrDefensiveSystems_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDefensiveSystems_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDefensiveSystems_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDefensiveSystems_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to remote armor repair system effectiveness per level
-
- def test_amarrDefensiveSystems_armorDamageAmount_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Remote Armor Repair System I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDefensiveSystems_armorDamageAmount_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Remote Armor Repair System I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDefensiveSystems_armorDamageAmount_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Remote Armor Repair System"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDefensiveSystems_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Armor Repairer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8215000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 154 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 154.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 300 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 300.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.2
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.65
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.125
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.3
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.8
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +3300 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 3400.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2200 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 2300.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 7500.0
- fIngame = 1627500.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/augmentedPlating.py b/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/augmentedPlating.py
deleted file mode 100755
index c98b05dbd..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/augmentedPlating.py
+++ /dev/null
@@ -1,198 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Defensive - Augmented Plating"
- self.skill = "Amarr Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to armor hitpoints per level
-
- def test_amarrDefensiveSystems_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8215000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 147 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 147.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 340 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 340.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.2
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.65
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.125
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.3
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.8
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +3750 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 3850.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2500 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 2600.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 7500.0
- fIngame = 1627500.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/nanobotInjector.py b/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/nanobotInjector.py
deleted file mode 100755
index 7fca93edc..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/nanobotInjector.py
+++ /dev/null
@@ -1,241 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Defensive - Nanobot Injector"
- self.skill = "Amarr Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to armor repairer effectiveness per level
-
- def test_amarrDefensiveSystems_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Armor Repairer I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDefensiveSystems_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDefensiveSystems_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDefensiveSystems_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Remote Armor Repair System I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8215000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 140 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 140.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 300 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 300.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.2
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.65
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.125
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.3
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.8
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +3600 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 3700.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2400 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 2500.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 7500.0
- fIngame = 1627500.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/warfareProcessor.py b/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/warfareProcessor.py
deleted file mode 100755
index 184f08452..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/defensive/warfareProcessor.py
+++ /dev/null
@@ -1,240 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Defensive - Warfare Processor"
- self.skill = "Amarr Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to effectiveness of Armored Warfare Links per subsystem skill level
-
- def test_amarrDefensiveSystems_commandBonus_moduleGangCoordinatorSkillrqArmoredWarfare(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Armored Warfare Link - Damage Control I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrDefensiveSystems_commandBonus_moduleGangCoordinatorSkillrqOther(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Siege Warfare Link - Shield Efficiency I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Mining Foreman Link - Laser Optimization I"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8215000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 140 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 140.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 300 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 300.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.2
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.65
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.125
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.3
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.8
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +3300 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 3400.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2200 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 2300.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 7500.0
- fIngame = 1627500.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/dissolutionSequencer.py b/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/dissolutionSequencer.py
deleted file mode 100755
index 8af2a9b7a..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/dissolutionSequencer.py
+++ /dev/null
@@ -1,179 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Electronics - Dissolution Sequencer"
- self.skill = "Amarr Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 15% bonus to ship sensor strength per level
-
- def test_amarrElectronicSystems_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 5% bonus to max targeting range per level
-
- def test_amarrElectronicSystems_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 4.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8015000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +380 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 380.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +65 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 65000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +260 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 260.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 17 radar sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 17.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/emergentLocusAnalyzer.py b/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/emergentLocusAnalyzer.py
deleted file mode 100755
index 99c74be69..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/emergentLocusAnalyzer.py
+++ /dev/null
@@ -1,239 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Electronics - Emergent Locus Analyzer"
- self.skill = "Amarr Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 10% increase to scan strength of probes per level
-
- def test_amarrElectronicSystems_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Core Scanner Probe I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 20% bonus to range of tractor beams per level
-
- def test_amarrElectronicSystems_maxRange_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Tractor Beam I"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrElectronicSystems_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Salvager I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 20% bonus to velocity of tractor beams per level
-
- def test_amarrElectronicSystems_maxTractorVelocity_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Small Tractor Beam I"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99% reduced CPU need for Scan Probe Launchers
-
- def test_static_cpu_moduleScanProbeLauncher(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Expanded Probe Launcher I"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Power Diagnostic System I"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8015000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +380 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 380.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +55 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 55000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +280 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 280.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 13 radar sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 17.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/energyParasiticComplex.py b/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/energyParasiticComplex.py
deleted file mode 100755
index aed64da4c..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/energyParasiticComplex.py
+++ /dev/null
@@ -1,195 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Electronics - Energy Parasitic Complex"
- self.skill = "Amarr Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to energy vampire transfer amount per level
-
- def test_amarrElectronicSystems_powerTransferAmount_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Small Nosferatu I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrElectronicSystems_powerTransferAmount_moduleOther(self):
- self.buildTested = 0
- attr = "powerTransferAmount"
- item = "Large Energy Transfer Array I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to energy neutralizer transfer amount per level
-
- def test_amarrElectronicSystems_energyDestabilizationAmount_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "energyDestabilizationAmount"
- item = "Medium Energy Neutralizer I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8015000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +375 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 375.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +55 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 55000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +280 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 280.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 13 radar sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 13.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/tacticalTargetingNetwork.py b/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/tacticalTargetingNetwork.py
deleted file mode 100755
index a1eb87525..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/electronics/tacticalTargetingNetwork.py
+++ /dev/null
@@ -1,163 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Electronics - Tactical Targeting Network"
- self.skill = "Amarr Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 15% bonus to scan resolution per level
-
- def test_amarrElectronicSystems_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 4.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8015000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +400 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 400.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +60 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 60000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +255 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 255.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 15 radar sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 15.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/augmentedCapacitorReservoir.py b/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/augmentedCapacitorReservoir.py
deleted file mode 100755
index c9136ad74..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/augmentedCapacitorReservoir.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Engineering - Augmented Capacitor Reservoir"
- self.skill = "Amarr Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to capacitor capacity per level
-
- def test_amarrEngineeringSystems_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8015000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1125 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 1125.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2225 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 2325.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/capacitorRegenerationMatrix.py b/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/capacitorRegenerationMatrix.py
deleted file mode 100755
index a50ceb558..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/capacitorRegenerationMatrix.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Engineering - Capacitor Regeneration Matrix"
- self.skill = "Amarr Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% reduction in capacitor recharge rate per level
-
- def test_amarrEngineeringSystems_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8015000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1290 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 1290.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2225 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 2325.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/powerCoreMultiplier.py b/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/powerCoreMultiplier.py
deleted file mode 100755
index 9343fd789..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/powerCoreMultiplier.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Engineering - Power Core Multiplier"
- self.skill = "Amarr Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to power output per level
-
- def test_amarrEngineeringSystems_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8015000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 1200.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1575 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1675.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/supplementalCoolantInjector.py b/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/supplementalCoolantInjector.py
deleted file mode 100755
index ec554e62c..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/engineering/supplementalCoolantInjector.py
+++ /dev/null
@@ -1,506 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Engineering - Supplemental Coolant Injector"
- self.skill = "Amarr Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% Reduction in the amount of heat damage absorbed by modules per level
-
- def test_amarrEngineeringSystems_heatDamage_moduleAfterburner(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "100MN Afterburner I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Armor EM Hardener I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Remote Armor Repair System I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Armor Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleCapacitorBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Micro Capacitor Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleECCM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECCM - Radar I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleECM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECM - Spatial Destabilizer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Energy Neutralizer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleEnergyTransferArray(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Energy Transfer Array I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Nosferatu I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Pulse Laser I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleHullRepairUnit(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Hull Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "250mm Railgun I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Citadel Torpedo Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "150mm Light AutoCannon I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Shield Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleShieldHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Invulnerability Field I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Shield Transporter I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Stasis Webifier I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrEngineeringSystems_heatDamage_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Warp Disruptor I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8015000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1290 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 1290.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1575 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1675.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/hull.py b/eos/tests/typeTests/ships/strategicCruisers/legion/hull.py
deleted file mode 100755
index 3a4606f19..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/hull.py
+++ /dev/null
@@ -1,414 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Legion"
-
- # Amarr Strategic Cruiser Skill Bonus:
- # 5% Reduction in the amount of heat damage absorbed by modules per level
-
- def test_amarrStrategicCruiser_heatDamage_moduleAfterburner(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "10MN MicroWarpdrive I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Armor EM Hardener I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleArmorRepairProjector(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Remote Armor Repair System I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Civilian Armor Repairer"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleCapacitorBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Capacitor Booster I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleECCM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECCM - Omni I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleECM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECM - White Noise Generator I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Energy Neutralizer I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleEnergyTransferArray(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Energy Transfer Array I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Nosferatu I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Beam Laser I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleHullRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Hull Repairer I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "125mm Railgun I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Assault Missile Launcher I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Citadel Torpedo Launcher I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Cruise Missile Launcher I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Missile Launcher I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Assault Missile Launcher I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Rocket Launcher I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Siege Missile Launcher I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Standard Missile Launcher I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual 650mm Repeating Artillery I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Civilian Shield Booster I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleShieldHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Photon Scattering Field I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Shield Transporter I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Stasis Webifier I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrStrategicCruiser_heatDamage_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Warp Disruptor I"
- skill = "Amarr Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/assaultOptimization.py b/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/assaultOptimization.py
deleted file mode 100755
index 2fbb37e96..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/assaultOptimization.py
+++ /dev/null
@@ -1,327 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Offensive - Assault Optimization"
- self.skill = "Amarr Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to heavy assault missile damage per level
-
- def test_amarrOffensiveSystems_emDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_emDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Rage Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_emDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_explosiveDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_explosiveDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Javelin Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_explosiveDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_kineticDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_thermalDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_thermalDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Rage Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_thermalDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Heavy Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 5% bonus to missile launcher rate of fire per level
-
- def test_amarrOffensiveSystems_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_speed_moduleLauncherOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 7615000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +40 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 40.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/covertReconfiguration.py b/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/covertReconfiguration.py
deleted file mode 100755
index 217b7cd51..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/covertReconfiguration.py
+++ /dev/null
@@ -1,178 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Offensive - Covert Reconfiguration"
- self.skill = "Amarr Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium energy turret capacitor use per level
-
- def test_amarrOffensiveSystems_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Focused Medium Pulse Laser I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Mega Beam Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% reduction in Cloaking Device CPU use
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- iIngame = 30.0
- fIngame = 0.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Armor Thermic Hardener I"
- iIngame = 33.0
- fIngame = 33.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Can use covert jump portal
-
- def test_static_jumpHarmonics_ship(self):
- self.buildTested = 0
- attr = "jumpHarmonics"
- ingame = 5.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- iIngame = 30000.0
- fIngame = 5000.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Cynosural Field Generator I"
- iIngame = 30000.0
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 4.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 7615000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/droneSynthesisProjector.py b/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/droneSynthesisProjector.py
deleted file mode 100755
index 5f5b86c57..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/droneSynthesisProjector.py
+++ /dev/null
@@ -1,278 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Offensive - Drone Synthesis Projector"
- self.skill = "Amarr Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium energy turret capacitor use per level
-
- def test_amarrOffensiveSystems_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Heavy Beam Laser I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Dual Light Beam Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to drone damage per level
-
- def test_amarrOffensiveSystems_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Hobgoblin I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Light Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to drone hitpoints per level
-
- def test_amarrOffensiveSystems_hp_droneCombat(self):
- self.buildTested = 0
- item = "Hammerhead I"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Heavy Shield Maintenance Bot I"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_hp_droneEwar(self):
- self.buildTested = 0
- item = "Hammerhead SD-600"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Acolyte EV-300"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_hp_droneNoSkillrqDrones(self):
- self.buildTested = 0
- item = "Harvester Mining Drone"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +200 m3 dronebay
-
- def test_static_droneCapacity_ship(self):
- self.buildTested = 0
- attr = "droneCapacity"
- iIngame = 0.0
- fIngame = 200.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +50 MBit/s drone bandwidth
-
- def test_static_droneBandwidth_ship(self):
- self.buildTested = 0
- attr = "droneBandwidth"
- iIngame = 0.0
- fIngame = 50.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 7615000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/liquidCrystalMagnifiers.py b/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/liquidCrystalMagnifiers.py
deleted file mode 100755
index 99d08883e..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/offensive/liquidCrystalMagnifiers.py
+++ /dev/null
@@ -1,176 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Offensive - Liquid Crystal Magnifiers"
- self.skill = "Amarr Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium energy turret capacitor use per level
-
- def test_amarrOffensiveSystems_capacitorNeed_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Quad Light Beam Laser I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_capacitorNeed_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium energy turret damage per level
-
- def test_amarrOffensiveSystems_damageMultiplier_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Heavy Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium energy turret optimal range per level
-
- def test_amarrOffensiveSystems_maxRange_moduleEnergyWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Beam Laser I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrOffensiveSystems_maxRange_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Medium Beam Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 7615000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/chassisOptimization.py b/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/chassisOptimization.py
deleted file mode 100755
index afd383599..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/chassisOptimization.py
+++ /dev/null
@@ -1,98 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Propulsion - Chassis Optimization"
- self.skill = "Amarr Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to max velocity per level
-
- def test_amarrPropulsionSystems_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8215000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +170 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 180.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.619
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.619
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/fuelCatalyst.py b/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/fuelCatalyst.py
deleted file mode 100755
index 6474696b8..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/fuelCatalyst.py
+++ /dev/null
@@ -1,113 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Propulsion - Fuel Catalyst"
- self.skill = "Amarr Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to afterburner speed per level
-
- def test_amarrPropulsionSystems_speedFactor_moduleAfterburner(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "10MN Afterburner I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrPropulsionSystems_speedFactor_moduleAfterburnerNoSkillrqAfterburner(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Civilian Afterburner"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8215000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +170 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 180.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.507
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.507
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/interdictionNullifier.py b/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/interdictionNullifier.py
deleted file mode 100755
index 63f8fd32a..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/interdictionNullifier.py
+++ /dev/null
@@ -1,108 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Propulsion - Interdiction Nullifier"
- self.skill = "Amarr Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 5% increased agility per level
-
- def test_amarrPropulsionSystems_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # Immunity to non-targeted interdiction
-
- def test_static_warpBubbleImmune_ship(self):
- self.buildTested = 0
- attr = "warpBubbleImmune"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8215000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +165 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 175.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.732
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.732
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/wakeLimiter.py b/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/wakeLimiter.py
deleted file mode 100755
index 4f63b2898..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/legion/propulsion/wakeLimiter.py
+++ /dev/null
@@ -1,113 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Legion"
- self.sub = "Legion Propulsion - Wake Limiter"
- self.skill = "Amarr Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 5% reduction in microwarpdrive signature radius penalty per level
-
- def test_amarrPropulsionSystems_signatureRadiusBonus_moduleMWD(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "10MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrPropulsionSystems_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6815000.0
- fIngame = 8215000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +165 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 175.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.563
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.563
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/loki/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/adaptiveAugmenter.py b/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/adaptiveAugmenter.py
deleted file mode 100755
index e1ce6e47c..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/adaptiveAugmenter.py
+++ /dev/null
@@ -1,251 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Defensive - Adaptive Augmenter"
- self.skill = "Minmatar Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to all armor resistances per level
-
- def test_minmatarDefensiveSystems_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDefensiveSystems_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDefensiveSystems_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDefensiveSystems_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7940000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +150 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 150.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 130 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 130.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 270 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 270.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.1
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.75
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.325
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 0.25
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.6
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.4
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +3300 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 3400.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2200 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 2300.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 1630000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/adaptiveShielding.py b/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/adaptiveShielding.py
deleted file mode 100755
index 7c6e248cb..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/adaptiveShielding.py
+++ /dev/null
@@ -1,310 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Defensive - Adaptive Shielding"
- self.skill = "Minmatar Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to all shield resistances per level
-
- def test_minmatarDefensiveSystems_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDefensiveSystems_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDefensiveSystems_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDefensiveSystems_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to shield transporter effectiveness per level
-
- def test_minmatarDefensiveSystems_shieldBonus_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Large Shield Transporter I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDefensiveSystems_shieldBonus_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Transporter I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDefensiveSystems_shieldBonus_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Remote Shield Transporter"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDefensiveSystems_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Booster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7940000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +50 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 50.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 143 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 143.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 280 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 280.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.1
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.75
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.325
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 0.25
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.6
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.4
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +2050 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 2150.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +3100 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 3200.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 1630000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/amplificationNode.py b/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/amplificationNode.py
deleted file mode 100755
index e41ad5c28..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/amplificationNode.py
+++ /dev/null
@@ -1,198 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Defensive - Amplification Node"
- self.skill = "Minmatar Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% reduction in signature radius per level
-
- def test_minmatarDefensiveSystems_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7940000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 130 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 130.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 300 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 300.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.1
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.75
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.325
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 0.25
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.6
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.4
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +1650 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 1750.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2500 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 2600.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 1630000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/warfareProcessor.py b/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/warfareProcessor.py
deleted file mode 100755
index 44c01e5be..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/defensive/warfareProcessor.py
+++ /dev/null
@@ -1,240 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Defensive - Warfare Processor"
- self.skill = "Minmatar Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to effectiveness of Skirmish Warfare Links per subsystem skill level
-
- def test_minmatarDefensiveSystems_commandBonus_moduleGangCoordinatorSkillrqSkirmishWarfare(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Skirmish Warfare Link - Interdiction Maneuvers I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarDefensiveSystems_commandBonus_moduleGangCoordinatorSkillrqOther(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Information Warfare Link - Recon Operation I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Siege Warfare Link - Active Shielding I"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7940000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 130 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 130.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 200 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 200.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.1
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.75
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.325
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 0.25
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.6
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.4
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +2050 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 2150.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +3100 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 3200.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 1630000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/dissolutionSequencer.py b/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/dissolutionSequencer.py
deleted file mode 100755
index de4e07eee..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/dissolutionSequencer.py
+++ /dev/null
@@ -1,179 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Electronics - Dissolution Sequencer"
- self.skill = "Minmatar Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 15% bonus to ship sensor strength per level
-
- def test_minmatarElectronicSystems_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 5% bonus to max targeting range per level
-
- def test_minmatarElectronicSystems_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7740000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +335 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 335.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +60 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 60000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +275 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 275.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 17 ladar sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 17.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/emergentLocusAnalyzer.py b/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/emergentLocusAnalyzer.py
deleted file mode 100755
index 3dc4c1a5c..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/emergentLocusAnalyzer.py
+++ /dev/null
@@ -1,239 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Electronics - Emergent Locus Analyzer"
- self.skill = "Minmatar Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 10% increase to scan strength of probes per level
-
- def test_minmatarElectronicSystems_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Core Scanner Probe I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 20% bonus to range of tractor beams per level
-
- def test_minmatarElectronicSystems_maxRange_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Tractor Beam I"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarElectronicSystems_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Tracking Link I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 20% bonus to velocity of tractor beams per level
-
- def test_minmatarElectronicSystems_maxTractorVelocity_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Small Tractor Beam I"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99% reduced CPU need for Scan Probe Launchers
-
- def test_static_cpu_moduleScanProbeLauncher(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Expanded Probe Launcher I"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Large Plasma Smartbomb I"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 4.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7740000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +335 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 335.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +50 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 50000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +300 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 300.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 17 ladar sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 17.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/immobilityDrivers.py b/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/immobilityDrivers.py
deleted file mode 100755
index a45ed0ef8..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/immobilityDrivers.py
+++ /dev/null
@@ -1,192 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Electronics - Immobility Drivers"
- self.skill = "Minmatar Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 30% bonus to stasis webifier range per level
-
- def test_minmatarElectronicSystems_maxRange_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarElectronicSystems_maxRange_moduleStasisWebCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Stasis Webifier"
- iLvl = 1
- iIngame = 1.3
- fLvl = 4
- fIngame = 2.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarElectronicSystems_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Disruptor I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7740000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +320 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 320.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +50 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 50000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +300 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 300.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 13 ladar sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 13.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/tacticalTargetingNetwork.py b/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/tacticalTargetingNetwork.py
deleted file mode 100755
index 02a0c6f40..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/electronics/tacticalTargetingNetwork.py
+++ /dev/null
@@ -1,163 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Electronics - Tactical Targeting Network"
- self.skill = "Minmatar Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 15% bonus to scan resolution per level
-
- def test_minmatarElectronicSystems_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 4.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7740000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +355 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 355.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +55 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 55000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +260 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 260.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 15 ladar sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 15.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/augmentedCapacitorReservoir.py b/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/augmentedCapacitorReservoir.py
deleted file mode 100755
index af117adfd..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/augmentedCapacitorReservoir.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Engineering - Augmented Capacitor Reservoir"
- self.skill = "Minmatar Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to capacitor capacity per level
-
- def test_minmatarEngineeringSystems_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7740000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +950 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 950.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1225 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1325.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/capacitorRegenerationMatrix.py b/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/capacitorRegenerationMatrix.py
deleted file mode 100755
index 57d6aad95..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/capacitorRegenerationMatrix.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Engineering - Capacitor Regeneration Matrix"
- self.skill = "Minmatar Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% reduction in capacitor recharge rate per level
-
- def test_minmatarEngineeringSystems_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7740000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +750 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 750.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2100 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 2200.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/powerCoreMultiplier.py b/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/powerCoreMultiplier.py
deleted file mode 100755
index d96afcd8b..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/powerCoreMultiplier.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Engineering - Power Core Multiplier"
- self.skill = "Minmatar Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to power output per level
-
- def test_minmatarEngineeringSystems_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7740000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1050 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 1050.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1225 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1325.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/supplementalCoolantInjector.py b/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/supplementalCoolantInjector.py
deleted file mode 100755
index 6f4925f0d..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/engineering/supplementalCoolantInjector.py
+++ /dev/null
@@ -1,506 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Engineering - Supplemental Coolant Injector"
- self.skill = "Minmatar Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% Reduction in the amount of heat damage absorbed by modules per level
-
- def test_minmatarEngineeringSystems_heatDamage_moduleAfterburner(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "10MN Afterburner I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Armor Explosive Hardener I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Remote Armor Repair System I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Armor Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleCapacitorBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Capacitor Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleECCM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECCM - Ladar I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleECM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECM - Multispectral Jammer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Energy Neutralizer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleEnergyTransferArray(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Energy Transfer Array I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Nosferatu I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Quad Light Beam Laser I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleHullRepairUnit(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Hull Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual 150mm Railgun I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Citadel Torpedo Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual 425mm AutoCannon I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "X-Large Shield Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleShieldHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Ballistic Deflection Field I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Micro Shield Transporter I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Stasis Webifier I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarEngineeringSystems_heatDamage_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Warp Disruptor I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7740000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +950 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 950.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1225 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1325.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/hull.py b/eos/tests/typeTests/ships/strategicCruisers/loki/hull.py
deleted file mode 100755
index 5e346b272..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/hull.py
+++ /dev/null
@@ -1,414 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Loki"
-
- # Minmatar Strategic Cruiser Skill Bonus:
- # 5% Reduction in the amount of heat damage absorbed by modules per level
-
- def test_minmatarStrategicCruiser_heatDamage_moduleAfterburner(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "10MN Afterburner I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Armor Thermic Hardener I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleArmorRepairProjector(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Remote Armor Repair System I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Armor Repairer I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleCapacitorBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Capacitor Booster I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleECCM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECCM - Ladar I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleECM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECM - Multispectral Jammer I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Energy Neutralizer I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleEnergyTransferArray(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Energy Transfer Array I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Nosferatu I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Mega Beam Laser I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleHullRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Hull Repairer I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Ion Blaster I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Assault Missile Launcher I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Citadel Torpedo Launcher I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Cruise Missile Launcher I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Missile Launcher I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Assault Missile Launcher I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Rocket Launcher I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Siege Missile Launcher I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Standard Missile Launcher I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "125mm Gatling AutoCannon I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Capital Shield Booster I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleShieldHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Explosion Dampening Field I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Shield Transporter I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Stasis Webifier I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarStrategicCruiser_heatDamage_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Warp Scrambler I"
- skill = "Minmatar Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/covertReconfiguration.py b/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/covertReconfiguration.py
deleted file mode 100755
index 247b74446..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/covertReconfiguration.py
+++ /dev/null
@@ -1,179 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Offensive - Covert Reconfiguration"
- self.skill = "Minmatar Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to medium projectile turret rate of fire per level
-
- def test_minmatarOffensiveSystems_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 180mm AutoCannon I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarOffensiveSystems_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "280mm Howitzer Artillery I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% reduction in Cloaking Device CPU use
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- iIngame = 30.0
- fIngame = 0.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Medium Capacitor Battery I"
- iIngame = 75.0
- fIngame = 75.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Can use covert jump portal
-
- def test_static_jumpHarmonics_ship(self):
- self.buildTested = 0
- attr = "jumpHarmonics"
- ingame = 5.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- iIngame = 30000.0
- fIngame = 5000.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Cynosural Field Generator I"
- iIngame = 30000.0
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 4.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7340000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/hardpointEfficiencyConfiguration.py b/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/hardpointEfficiencyConfiguration.py
deleted file mode 100755
index 9a34cbdb1..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/hardpointEfficiencyConfiguration.py
+++ /dev/null
@@ -1,216 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Offensive - Hardpoint Efficiency Configuration"
- self.skill = "Minmatar Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to medium projectile turret rate of fire per level
-
- def test_minmatarOffensiveSystems_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "220mm Vulcan AutoCannon I"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarOffensiveSystems_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "125mm Gatling AutoCannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to missile launcher rate of fire per level
- # Actually affects only Assault, Heavy Assault and Heavy launchers
-
- def test_minmatarOffensiveSystems_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarOffensiveSystems_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarOffensiveSystems_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarOffensiveSystems_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +80 m3 dronebay
-
- def test_static_droneCapacity_ship(self):
- self.buildTested = 0
- attr = "droneCapacity"
- iIngame = 0.0
- fIngame = 80.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +40 MBit/s drone bandwidth
-
- def test_static_droneBandwidth_ship(self):
- self.buildTested = 0
- attr = "droneBandwidth"
- iIngame = 0.0
- fIngame = 40.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7340000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +50 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 50.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/projectileScopingArray.py b/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/projectileScopingArray.py
deleted file mode 100755
index c5e526c94..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/projectileScopingArray.py
+++ /dev/null
@@ -1,173 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Offensive - Projectile Scoping Array"
- self.skill = "Minmatar Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to medium projectile turret rate of fire per level
-
- def test_minmatarOffensiveSystems_speed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "speed"
- item = "720mm Howitzer Artillery I"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarOffensiveSystems_speed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "1200mm Artillery Cannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium projectile falloff per level
-
- def test_minmatarOffensiveSystems_falloff_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "425mm AutoCannon I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarOffensiveSystems_falloff_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "200mm AutoCannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7340000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +50 m3 dronebay
-
- def test_static_droneCapacity_ship(self):
- self.buildTested = 0
- attr = "droneCapacity"
- iIngame = 0.0
- fIngame = 50.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +25 MBit/s drone bandwidth
-
- def test_static_droneBandwidth_ship(self):
- self.buildTested = 0
- attr = "droneBandwidth"
- iIngame = 0.0
- fIngame = 25.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/turretConcurrenceRegistry.py b/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/turretConcurrenceRegistry.py
deleted file mode 100755
index 9ea5089a0..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/offensive/turretConcurrenceRegistry.py
+++ /dev/null
@@ -1,176 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Offensive - Turret Concurrence Registry"
- self.skill = "Minmatar Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium projectile turret damage per level
-
- def test_minmatarOffensiveSystems_damageMultiplier_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm AutoCannon I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarOffensiveSystems_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 425mm AutoCannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium projectile turret optimal range per level
-
- def test_minmatarOffensiveSystems_maxRange_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "720mm Howitzer Artillery I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarOffensiveSystems_maxRange_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "250mm Light Artillery Cannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to medium projectile turret tracking per level
-
- def test_minmatarOffensiveSystems_trackingSpeed_moduleProjectileWeaponMedium(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual 180mm AutoCannon I"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarOffensiveSystems_trackingSpeed_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "150mm Light AutoCannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7340000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/chassisOptimization.py b/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/chassisOptimization.py
deleted file mode 100755
index 93bcf69ba..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/chassisOptimization.py
+++ /dev/null
@@ -1,98 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Propulsion - Chassis Optimization"
- self.skill = "Minmatar Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to max velocity per level
-
- def test_minmatarPropulsionSystems_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7940000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +180 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 190.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.612
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.612
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/fuelCatalyst.py b/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/fuelCatalyst.py
deleted file mode 100755
index d112d64cf..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/fuelCatalyst.py
+++ /dev/null
@@ -1,113 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Propulsion - Fuel Catalyst"
- self.skill = "Minmatar Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to afterburner speed per level
-
- def test_minmatarPropulsionSystems_speedFactor_moduleAfterburner(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "1MN Afterburner I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarPropulsionSystems_speedFactor_moduleAfterburnerNoSkillrqAfterburner(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "10MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7940000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +180 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 190.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.5
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/intercalatedNanofibers.py b/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/intercalatedNanofibers.py
deleted file mode 100755
index 8506857a3..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/intercalatedNanofibers.py
+++ /dev/null
@@ -1,98 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Propulsion - Intercalated Nanofibers"
- self.skill = "Minmatar Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 5% increased agility per level
-
- def test_minmatarPropulsionSystems_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7940000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +175 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 185.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.556
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.556
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/interdictionNullifier.py b/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/interdictionNullifier.py
deleted file mode 100755
index ac17a3057..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/loki/propulsion/interdictionNullifier.py
+++ /dev/null
@@ -1,108 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Loki"
- self.sub = "Loki Propulsion - Interdiction Nullifier"
- self.skill = "Minmatar Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 5% increased agility per level
-
- def test_minmatarPropulsionSystems_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # Immunity to non-targeted interdiction
-
- def test_static_warpBubbleImmune_ship(self):
- self.buildTested = 0
- attr = "warpBubbleImmune"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 6540000.0
- fIngame = 7940000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +165 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 175.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.723
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.723
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/adaptiveAugmenter.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/adaptiveAugmenter.py
deleted file mode 100755
index 867277fc4..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/adaptiveAugmenter.py
+++ /dev/null
@@ -1,296 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Defensive - Adaptive Augmenter"
- self.skill = "Gallente Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to all armor resistances per level
-
- def test_gallenteDefensiveSystems_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to remote armor repair system effectiveness per level
-
- def test_gallenteDefensiveSystems_armorDamageAmount_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Remote Armor Repair System I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_armorDamageAmount_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Remote Armor Repair System I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_armorDamageAmount_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Remote Armor Repair System"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Armor Repairer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6741000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 176 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 176.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 320 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 320.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.1625
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.325
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.15
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.4
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +3200 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 3300.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2100 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 2200.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 1630000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/augmentedPlating.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/augmentedPlating.py
deleted file mode 100755
index 84904ee03..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/augmentedPlating.py
+++ /dev/null
@@ -1,198 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Defensive - Augmented Plating"
- self.skill = "Gallente Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to armor hitpoints per level
-
- def test_gallenteDefensiveSystems_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6741000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 168 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 168.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 280 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 280.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.1625
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.325
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.15
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.4
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +3650 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 3750.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2400 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 2500.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 1630000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/nanobotInjector.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/nanobotInjector.py
deleted file mode 100755
index f489fca9d..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/nanobotInjector.py
+++ /dev/null
@@ -1,241 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Defensive - Nanobot Injector"
- self.skill = "Gallente Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to armor repairer effectiveness per level
-
- def test_gallenteDefensiveSystems_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Armor Repairer I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Remote Armor Repair System I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6741000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 160 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 160.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 300 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 300.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.1625
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.325
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.15
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.4
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +3500 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 3600.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2300 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 2400.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 1630000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/warfareProcessor.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/warfareProcessor.py
deleted file mode 100755
index e029e19b3..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/defensive/warfareProcessor.py
+++ /dev/null
@@ -1,254 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Defensive - Warfare Processor"
- self.skill = "Gallente Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to effectiveness of Information Warfare Links per subsystem skill level
-
- def test_gallenteDefensiveSystems_commandBonus_moduleGangCoordinatorSkillrqInformationWarfare(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Information Warfare Link - Recon Operation I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_commandBonus_moduleGangCoordinatorSkillrqOther(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Mining Foreman Link - Laser Optimization I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteDefensiveSystems_commandBonusHidden_moduleGangCoordinatorSkillrqInformationWarfare(self):
- self.buildTested = 0
- attr = "commandBonusHidden"
- item = "Information Warfare Link - Electronic Superiority I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Skirmish Warfare Link - Evasive Maneuvers I"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6741000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 160 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 160.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 220 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 220.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.1625
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.325
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.15
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.4
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +3200 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 3300.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2100 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 2200.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 1630000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/cpuEfficiencyGate.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/cpuEfficiencyGate.py
deleted file mode 100755
index 7ae81f090..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/cpuEfficiencyGate.py
+++ /dev/null
@@ -1,163 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Electronics - CPU Efficiency Gate"
- self.skill = "Gallente Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to CPU per level
-
- def test_gallenteElectronicSystems_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6541000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +360 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 360.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +65 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 65000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +225 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 225.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 17 magnetometric sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 17.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/dissolutionSequencer.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/dissolutionSequencer.py
deleted file mode 100755
index 5f9c81c15..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/dissolutionSequencer.py
+++ /dev/null
@@ -1,179 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Electronics - Dissolution Sequencer"
- self.skill = "Gallente Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 15% bonus to ship sensor strength per level
-
- def test_gallenteElectronicSystems_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 5% bonus to targeting range per level
-
- def test_gallenteElectronicSystems_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6541000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +410 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 410.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +70 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 70000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +245 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 245.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 19 magnetometric sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 19.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/emergentLocusAnalyzer.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/emergentLocusAnalyzer.py
deleted file mode 100755
index 9f7d92df2..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/emergentLocusAnalyzer.py
+++ /dev/null
@@ -1,239 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Electronics - Emergent Locus Analyzer"
- self.skill = "Gallente Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 10% increase to scan strength of probes per level
-
- def test_gallenteElectronicSystems_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Combat Scanner Probe I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 20% bonus to range of tractor beams per level
-
- def test_gallenteElectronicSystems_maxRange_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Tractor Beam I"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteElectronicSystems_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECM - Phase Inverter I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 20% bonus to velocity of tractor beams per level
-
- def test_gallenteElectronicSystems_maxTractorVelocity_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Small Tractor Beam I"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99% reduced CPU need for Scan Probe Launchers
-
- def test_static_cpu_moduleScanProbeLauncher(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Expanded Probe Launcher I"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Codebreaker I"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6541000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +410 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 410.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +60 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 60000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +270 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 270.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 19 magnetometric sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 19.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/frictionExtensionProcessor.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/frictionExtensionProcessor.py
deleted file mode 100755
index 4f7f01b60..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/electronics/frictionExtensionProcessor.py
+++ /dev/null
@@ -1,192 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Electronics - Friction Extension Processor"
- self.skill = "Gallente Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to warp disruptor and warp scrambler range per level
-
- def test_gallenteElectronicSystems_maxRange_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warp Scrambler I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteElectronicSystems_maxRange_moduleWarpScramblerCivilian(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Civilian Warp Disruptor"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteElectronicSystems_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Stasis Webifier I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6541000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +375 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 375.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +60 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 60000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +270 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 270.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 15 magnetometric sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 15.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/augmentedCapacitorReservoir.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/augmentedCapacitorReservoir.py
deleted file mode 100755
index 9433d582c..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/augmentedCapacitorReservoir.py
+++ /dev/null
@@ -1,345 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Engineering - Augmented Capacitor Reservoir"
- self.skill = "Gallente Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to drone MWD speed per level
-
- def test_gallenteEngineeringSystems_maxVelocity_droneCombat(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hobgoblin I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_maxVelocity_droneLogistic(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Light Armor Maintenance Bot I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_maxVelocity_droneEwar(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Berserker TP-900"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_maxVelocity_droneCapDrain(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Infiltrator EV-600"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_maxVelocity_droneWeb(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Berserker SW-900"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_maxVelocity_droneOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Mining Drone I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to drone hitpoints per level
-
- def test_gallenteEngineeringSystems_hp_droneCombat(self):
- self.buildTested = 0
- item = "Bouncer I"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Medium Armor Maintenance Bot I"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_hp_droneEwar(self):
- self.buildTested = 0
- item = "Infiltrator TD-600"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Acolyte EV-300"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_hp_droneOther(self):
- self.buildTested = 0
- item = "Harvester Mining Drone"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +100 m3 dronebay
-
- def test_static_droneCapacity_ship(self):
- self.buildTested = 0
- attr = "droneCapacity"
- iIngame = 0.0
- fIngame = 100.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +25 MBit/s drone bandwidth
-
- def test_static_droneBandwidth_ship(self):
- self.buildTested = 0
- attr = "droneBandwidth"
- iIngame = 0.0
- fIngame = 25.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6541000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1095 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 1095.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1500.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/capacitorRegenerationMatrix.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/capacitorRegenerationMatrix.py
deleted file mode 100755
index 8a41087ea..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/capacitorRegenerationMatrix.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Engineering - Capacitor Regeneration Matrix"
- self.skill = "Gallente Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% reduction in capacitor recharge rate per level
-
- def test_gallenteEngineeringSystems_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6541000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1050 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 1050.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1850 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1950.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/powerCoreMultiplier.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/powerCoreMultiplier.py
deleted file mode 100755
index 5ef90e860..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/powerCoreMultiplier.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Engineering - Power Core Multiplier"
- self.skill = "Gallente Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to power output per level
-
- def test_gallenteEngineeringSystems_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6541000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1165 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 1165.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1500.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/supplementalCoolantInjector.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/supplementalCoolantInjector.py
deleted file mode 100755
index 84808a661..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/engineering/supplementalCoolantInjector.py
+++ /dev/null
@@ -1,506 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Engineering - Supplemental Coolant Injector"
- self.skill = "Gallente Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% Reduction in the amount of heat damage absorbed by modules per level
-
- def test_gallenteEngineeringSystems_heatDamage_moduleAfterburner(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "10MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Armor Explosive Hardener I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Remote Armor Repair System I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Armor Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleCapacitorBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Capacitor Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleECCM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECCM - Omni I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleECM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECM - White Noise Generator I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Energy Neutralizer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleEnergyTransferArray(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Energy Transfer Array I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Nosferatu I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Mega Pulse Laser I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleHullRepairUnit(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Hull Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "350mm Railgun I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Citadel Torpedo Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual 180mm AutoCannon I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Shield Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleShieldHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Photon Scattering Field I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Shield Transporter I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Stasis Webifier I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteEngineeringSystems_heatDamage_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Warp Scrambler I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6541000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1095 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 1095.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1500.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/hull.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/hull.py
deleted file mode 100755
index a9faad822..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/hull.py
+++ /dev/null
@@ -1,414 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Proteus"
-
- # Gallente Strategic Cruiser Skill Bonus:
- # 5% Reduction in the amount of heat damage absorbed by modules per level
-
- def test_gallenteStrategicCruiser_heatDamage_moduleAfterburner(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "1MN Afterburner I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Armor Kinetic Hardener I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleArmorRepairProjector(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Remote Armor Repair System I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Armor Repairer I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleCapacitorBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Capacitor Booster I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleECCM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECCM - Magnetometric I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleECM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECM - Phase Inverter I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Energy Neutralizer I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleEnergyTransferArray(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Energy Transfer Array I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Nosferatu I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual Light Pulse Laser I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleHullRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Hull Repairer I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Electron Blaster Cannon I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Assault Missile Launcher I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Citadel Torpedo Launcher I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Cruise Missile Launcher I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Missile Launcher I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Assault Missile Launcher I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Rocket Launcher I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Siege Missile Launcher I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Standard Missile Launcher I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "720mm Howitzer Artillery I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Shield Booster I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleShieldHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Ballistic Deflection Field I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Shield Transporter I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Stasis Webifier I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteStrategicCruiser_heatDamage_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Warp Scrambler I"
- skill = "Gallente Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/covertReconfiguration.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/covertReconfiguration.py
deleted file mode 100755
index f533ba448..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/covertReconfiguration.py
+++ /dev/null
@@ -1,178 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Offensive - Covert Reconfiguration"
- self.skill = "Gallente Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to medium hybrid turret damage per level
-
- def test_gallenteOffensiveSystems_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Electron Blaster I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% reduction in Cloaking Device CPU use
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- iIngame = 30.0
- fIngame = 0.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Large Capacitor Battery I"
- iIngame = 100.0
- fIngame = 100.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Can use covert jump portal
-
- def test_static_jumpHarmonics_ship(self):
- self.buildTested = 0
- attr = "jumpHarmonics"
- ingame = 5.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- iIngame = 30000.0
- fIngame = 5000.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Cynosural Field Generator I"
- iIngame = 30000.0
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 4.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6141000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/dissonicEncodingPlatform.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/dissonicEncodingPlatform.py
deleted file mode 100755
index 308cac57b..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/dissonicEncodingPlatform.py
+++ /dev/null
@@ -1,176 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Offensive - Dissonic Encoding Platform"
- self.skill = "Gallente Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium hybrid turret damage per level
-
- def test_gallenteOffensiveSystems_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Ion Blaster Cannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium hybrid turret falloff per level
-
- def test_gallenteOffensiveSystems_falloff_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Heavy Neutron Blaster I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "75mm Gatling Rail I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to medium hybrid turret tracking per level
-
- def test_gallenteOffensiveSystems_trackingSpeed_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "250mm Railgun I"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_trackingSpeed_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "125mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6141000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/droneSynthesisProjector.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/droneSynthesisProjector.py
deleted file mode 100755
index fea4e08c9..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/droneSynthesisProjector.py
+++ /dev/null
@@ -1,278 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Offensive - Drone Synthesis Projector"
- self.skill = "Gallente Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to medium hybrid turret damage per level
-
- def test_gallenteOffensiveSystems_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 150mm Railgun I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 250mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to drone damage per level
-
- def test_gallenteOffensiveSystems_damageMultiplier_droneCombat(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Valkyrie I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_damageMultiplier_other(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Gyrostabilizer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to drone hitpoints per level
-
- def test_gallenteOffensiveSystems_hp_droneCombat(self):
- self.buildTested = 0
- item = "Acolyte I"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Light Armor Maintenance Bot I"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_hp_droneEwar(self):
- self.buildTested = 0
- item = "Praetor TD-900"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Infiltrator EV-600"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_hp_droneNoSkillrqDrones(self):
- self.buildTested = 0
- item = "Civilian Mining Drone"
- layers = ("shieldCapacity", "armorHP", "hp")
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +125 m3 dronebay
-
- def test_static_droneCapacity_ship(self):
- self.buildTested = 0
- attr = "droneCapacity"
- iIngame = 0.0
- fIngame = 125.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +75 MBit/s drone bandwidth
-
- def test_static_droneBandwidth_ship(self):
- self.buildTested = 0
- attr = "droneBandwidth"
- iIngame = 0.0
- fIngame = 75.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6141000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/hybridPropulsionArmature.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/hybridPropulsionArmature.py
deleted file mode 100755
index 53418de13..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/offensive/hybridPropulsionArmature.py
+++ /dev/null
@@ -1,173 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Offensive - Hybrid Propulsion Armature"
- self.skill = "Gallente Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium hybrid turret damage per level
-
- def test_gallenteOffensiveSystems_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Electron Blaster I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Electron Blaster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to medium hybrid turret falloff per level
-
- def test_gallenteOffensiveSystems_falloff_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "250mm Railgun I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteOffensiveSystems_falloff_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Dual 250mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +75 m3 dronebay
-
- def test_static_droneCapacity_ship(self):
- self.buildTested = 0
- attr = "droneCapacity"
- iIngame = 0.0
- fIngame = 75.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +50 MBit/s drone bandwidth
-
- def test_static_droneBandwidth_ship(self):
- self.buildTested = 0
- attr = "droneBandwidth"
- iIngame = 0.0
- fIngame = 50.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6141000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/gravitationalCapacitor.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/gravitationalCapacitor.py
deleted file mode 100755
index 8d83c565d..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/gravitationalCapacitor.py
+++ /dev/null
@@ -1,114 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Propulsion - Gravitational Capacitor"
- self.skill = "Gallente Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 15% bonus to warp speed per level
-
- def test_gallentePropulsionSystems_baseWarpSpeed_ship(self):
- self.buildTested = 0
- attr = "baseWarpSpeed"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 15% reduction in capacitor need when initiating warp per level
-
- def test_gallentePropulsionSystems_warpCapacitorNeed_ship(self):
- self.buildTested = 0
- attr = "warpCapacitorNeed"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6741000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +160 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 170.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.527
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.527
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/interdictionNullifier.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/interdictionNullifier.py
deleted file mode 100755
index baa38ddb8..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/interdictionNullifier.py
+++ /dev/null
@@ -1,108 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Propulsion - Interdiction Nullifier"
- self.skill = "Gallente Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 5% increased agility per level
-
- def test_gallentePropulsionSystems_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # Immunity to non-targeted interdiction
-
- def test_static_warpBubbleImmune_ship(self):
- self.buildTested = 0
- attr = "warpBubbleImmune"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6741000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +140 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 150.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.762
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.762
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/localizedInjectors.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/localizedInjectors.py
deleted file mode 100755
index d99aaea5e..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/localizedInjectors.py
+++ /dev/null
@@ -1,144 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Propulsion - Localized Injectors"
- self.skill = "Gallente Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 15% reduction in afterburner capacitor consumption per level
-
- def test_gallentePropulsionSystems_capacitorNeed_moduleAfterburner(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "100MN Afterburner I"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallentePropulsionSystems_capacitorNeed_moduleAfterburnerCivilian(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Afterburner"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 15% reduction in microwarpdrive capacitor consumption per level
-
- def test_gallentePropulsionSystems_capacitorNeed_moduleMWD(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "10MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallentePropulsionSystems_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Passive Targeter I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6741000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +180 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 190.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.586
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.586
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/wakeLimiter.py b/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/wakeLimiter.py
deleted file mode 100755
index 4cf1eced4..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/proteus/propulsion/wakeLimiter.py
+++ /dev/null
@@ -1,113 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Proteus"
- self.sub = "Proteus Propulsion - Wake Limiter"
- self.skill = "Gallente Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 5% reduction in microwarpdrive signature radius penalty per level
-
- def test_gallentePropulsionSystems_signatureRadiusBonus_moduleMWD(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallentePropulsionSystems_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Inertia Stabilizers I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 5341000.0
- fIngame = 6741000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +140 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 150.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.586
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.586
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/adaptiveShielding.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/adaptiveShielding.py
deleted file mode 100755
index fefca3f95..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/adaptiveShielding.py
+++ /dev/null
@@ -1,296 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Defensive - Adaptive Shielding"
- self.skill = "Caldari Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to all shield resistances per level
-
- def test_caldariDefensiveSystems_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDefensiveSystems_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDefensiveSystems_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDefensiveSystems_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to shield transporter effectiveness per level
-
- def test_caldariDefensiveSystems_shieldBonus_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Transporter I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDefensiveSystems_shieldBonus_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Transporter I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDefensiveSystems_shieldBonus_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Remote Shield Transporter"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDefensiveSystems_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Booster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9601000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 165 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 165.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 420 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 420.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.1375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.3
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.2
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +2150 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 2250.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +3250 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 3350.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2160 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 2170000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/amplificationNode.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/amplificationNode.py
deleted file mode 100755
index ce907aa0f..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/amplificationNode.py
+++ /dev/null
@@ -1,241 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Defensive - Amplification Node"
- self.skill = "Caldari Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to shield booster effectiveness per level
-
- def test_caldariDefensiveSystems_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "X-Large Shield Booster I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDefensiveSystems_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDefensiveSystems_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDefensiveSystems_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Transporter I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9601000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 150 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 150.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 440 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 440.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.1375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.3
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.2
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +2350 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 2450.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +3550 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 3650.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 1630000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/supplementalScreening.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/supplementalScreening.py
deleted file mode 100755
index 9235c4566..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/supplementalScreening.py
+++ /dev/null
@@ -1,198 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Defensive - Supplemental Screening"
- self.skill = "Caldari Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to shield hitpoints per level
-
- def test_caldariDefensiveSystems_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9601000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 157 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 157.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 410 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 410.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.1375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.3
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.2
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +2500 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 2600.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +3750 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 3850.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2430 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 2440000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/warfareProcessor.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/warfareProcessor.py
deleted file mode 100755
index 9afba5efd..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/defensive/warfareProcessor.py
+++ /dev/null
@@ -1,240 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Defensive - Warfare Processor"
- self.skill = "Caldari Defensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to effectiveness of Siege Warfare Links per subsystem skill level
-
- def test_caldariDefensiveSystems_commandBonus_moduleGangCoordinatorSkillrqSiegeWarfare(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Siege Warfare Link - Shield Harmonizing I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariDefensiveSystems_commandBonus_moduleGangCoordinatorSkillrqOther(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Information Warfare Link - Sensor Integrity I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 99% reduction in Warfare Link module CPU need
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Information Warfare Link - Electronic Superiority I"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9601000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 150 m signature radius
-
- def test_static_signatureRadius_ship(self):
- self.buildTested = 0
- attr = "signatureRadius"
- ingame = 150.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 290 m3 cargohold capacity
-
- def test_static_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- ingame = 290.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship armor resistances
-
- def test_static_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- ingame = 0.9
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- ingame = 0.375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- ingame = 0.1375
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Assign ship shield resistances
-
- def test_static_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- ingame = 0.5
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- ingame = 0.3
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- ingame = 0.2
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # +2150 armor hp
-
- def test_static_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iIngame = 100.0
- fIngame = 2250.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +3250 shield capacity
-
- def test_static_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iIngame = 100.0
- fIngame = 3350.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1620 seconds shield recharge rate
-
- def test_static_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iIngame = 10000.0
- fIngame = 1630000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/cpuEfficiencyGate.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/cpuEfficiencyGate.py
deleted file mode 100755
index cb5f89c6f..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/cpuEfficiencyGate.py
+++ /dev/null
@@ -1,163 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Electronics - CPU Efficiency Gate"
- self.skill = "Caldari Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to CPU per level
-
- def test_caldariElectronicSystems_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9401000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +420 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 420.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +65 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 65000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +210 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 210.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 18 gravimetric sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 18.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/dissolutionSequencer.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/dissolutionSequencer.py
deleted file mode 100755
index ba6c81536..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/dissolutionSequencer.py
+++ /dev/null
@@ -1,179 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Electronics - Dissolution Sequencer"
- self.skill = "Caldari Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 15% bonus to ship sensor strength per level
-
- def test_caldariElectronicSystems_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 5% bonus to targeting range per level
-
- def test_caldariElectronicSystems_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9401000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +475 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 475.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +75 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 75000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +235 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 235.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 20 gravimetric sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 20.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/emergentLocusAnalyzer.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/emergentLocusAnalyzer.py
deleted file mode 100755
index 08601024a..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/emergentLocusAnalyzer.py
+++ /dev/null
@@ -1,239 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Electronics - Emergent Locus Analyzer"
- self.skill = "Caldari Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 10% increase to scan strength of probes per level
-
- def test_caldariElectronicSystems_baseSensorStrength_chargeScannerProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Combat Scanner Probe I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 20% bonus to range of tractor beams per level
-
- def test_caldariElectronicSystems_maxRange_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Tractor Beam I"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariElectronicSystems_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Target Painter I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 20% bonus to velocity of tractor beams per level
-
- def test_caldariElectronicSystems_maxTractorVelocity_moduleTractorBeam(self):
- self.buildTested = 0
- attr = "maxTractorVelocity"
- item = "Small Tractor Beam I"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # -99% reduced CPU need for Scan Probe Launchers
-
- def test_static_cpu_moduleScanProbeLauncher(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Core Probe Launcher I"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Rocket Launcher I"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 4.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9401000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +475 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 475.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +65 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 65000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +250 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 250.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 20 gravimetric sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 20.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/obfuscationManifold.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/obfuscationManifold.py
deleted file mode 100755
index c1636e0c4..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/electronics/obfuscationManifold.py
+++ /dev/null
@@ -1,192 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Electronics - Obfuscation Manifold"
- self.skill = "Caldari Electronic Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to ECM target jammer optimal range per level
-
- def test_caldariElectronicSystems_maxRange_moduleECM(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECM - Phase Inverter I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariElectronicSystems_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECCM Projector I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariElectronicSystems_falloff_moduleECM(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECM - Multispectral Jammer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 4.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9401000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +460 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 460.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +70 km lock range
-
- def test_static_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iIngame = 0.0
- fIngame = 70000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +250 mm scan resolution
-
- def test_static_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iIngame = 0.0
- fIngame = 250.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add 16 gravimetric sensor strength
-
- def test_static_scanGravimetricStrength_ship(self):
- self.buildTested = 0
- attr = "scanGravimetricStrength"
- iIngame = 0.0
- fIngame = 16.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanLadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanLadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanMagnetometricStrength_ship(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_scanRadarStrength_ship(self):
- self.buildTested = 0
- attr = "scanRadarStrength"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/augmentedCapacitorReservoir.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/augmentedCapacitorReservoir.py
deleted file mode 100755
index eb77bbc80..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/augmentedCapacitorReservoir.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Engineering - Augmented Capacitor Reservoir"
- self.skill = "Caldari Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to capacitor capacity per level
-
- def test_caldariEngineeringSystems_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9401000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +600 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 600.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1225 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1325.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/capacitorRegenerationMatrix.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/capacitorRegenerationMatrix.py
deleted file mode 100755
index 3f7428baf..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/capacitorRegenerationMatrix.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Engineering - Capacitor Regeneration Matrix"
- self.skill = "Caldari Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% reduction in capacitor recharge rate per level
-
- def test_caldariEngineeringSystems_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9401000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +825 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 825.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +2100 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 2200.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/powerCoreMultiplier.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/powerCoreMultiplier.py
deleted file mode 100755
index 9674d4e3c..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/powerCoreMultiplier.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Engineering - Power Core Multiplier"
- self.skill = "Caldari Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to power output per level
-
- def test_caldariEngineeringSystems_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 2.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9401000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +555 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 555.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1225 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1325.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/supplementalCoolantInjector.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/supplementalCoolantInjector.py
deleted file mode 100755
index a7dccd243..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/engineering/supplementalCoolantInjector.py
+++ /dev/null
@@ -1,506 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Engineering - Supplemental Coolant Injector"
- self.skill = "Caldari Engineering Systems"
-
- # Subsystem Skill Bonus:
- # 5% Reduction in the amount of heat damage absorbed by modules per level
-
- def test_caldariEngineeringSystems_heatDamage_moduleAfterburner(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "1MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Armor Explosive Hardener I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Remote Armor Repair System I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Armor Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleCapacitorBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Capacitor Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleECCM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECCM - Ladar I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleECM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECM - White Noise Generator I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Energy Neutralizer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleEnergyTransferArray(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Energy Transfer Array I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Nosferatu I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Gatling Pulse Laser I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleHullRepairUnit(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Hull Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "75mm Gatling Rail I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Citadel Torpedo Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "800mm Repeating Artillery I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Shield Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleShieldHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Explosion Dampening Field I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Shield Transporter I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Stasis Webifier I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariEngineeringSystems_heatDamage_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Warp Disruptor I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1200000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9401000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +825 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 825.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1225 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 1325.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +415 seconds capacitor recharge time
-
- def test_static_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iIngame = 10000.0
- fIngame = 425000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/hull.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/hull.py
deleted file mode 100755
index 8a7522d22..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/hull.py
+++ /dev/null
@@ -1,414 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Tengu"
-
- # Caldari Strategic Cruiser Skill Bonus:
- # 5% Reduction in the amount of heat damage absorbed by modules per level
-
- def test_caldariStrategicCruiser_heatDamage_moduleAfterburner(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "100MN Afterburner I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Armor Explosive Hardener I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleArmorRepairProjector(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Remote Armor Repair System I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Armor Repairer I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleCapacitorBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Capacitor Booster I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleECCM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECCM - Gravimetric I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleECM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECM - Ion Field Projector I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Energy Neutralizer I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleEnergyTransferArray(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Energy Transfer Array I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Nosferatu I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual Heavy Beam Laser I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleHullRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Hull Repairer I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual 250mm Railgun I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Assault Missile Launcher I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Citadel Torpedo Launcher I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Cruise Missile Launcher I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Missile Launcher I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Assault Missile Launcher I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Rocket Launcher I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Siege Missile Launcher I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Standard Missile Launcher I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual 180mm AutoCannon I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "X-Large Shield Booster I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleShieldHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Invulnerability Field I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Shield Transporter I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Stasis Webifier I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariStrategicCruiser_heatDamage_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Warp Disruptor I"
- skill = "Caldari Strategic Cruiser"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/acceleratedEjectionBay.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/acceleratedEjectionBay.py
deleted file mode 100755
index dd1ad545a..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/acceleratedEjectionBay.py
+++ /dev/null
@@ -1,522 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Offensive - Accelerated Ejection Bay"
- self.skill = "Caldari Offensive Systems"
-
-
- # Subsystem Skill Bonus:
- # 5% bonus to kinetic missile damage per level
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Javelin Rocket"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Fury Light Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Fury Heavy Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Javelin Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Precision Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeMissileLightNoSkillrq(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Antimatter Charge M"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to Assault missile launcher rate of fire per level
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to Heavy Assault missile launcher rate of fire per level
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 7.5% bonus to Heavy missile launcher rate of fire per level
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to heavy assault missile velocity per level
-
- def test_caldariOffensiveSystems_maxVelocity_chargeMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Fulmination Assault Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_maxVelocity_chargeMissileHeavyAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Rage Assault Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 10% bonus to heavy missile velocity per level
-
- def test_caldariOffensiveSystems_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunderbolt Heavy Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Widowmaker Fury Heavy Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellhound F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_maxVelocity_chargeMissileOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Inferno Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9001000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +33 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 33.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/covertReconfiguration.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/covertReconfiguration.py
deleted file mode 100755
index 2fb4e5f81..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/covertReconfiguration.py
+++ /dev/null
@@ -1,207 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Offensive - Covert Reconfiguration"
- self.skill = "Caldari Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to missile launcher rate of fire per level
- # Actually affects only Assault, Heavy Assault and Heavy launchers
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # 100% reduction in Cloaking Device CPU use
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- iIngame = 30.0
- fIngame = 0.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Capacitor Power Relay I"
- iIngame = 4.0
- fIngame = 4.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Can use covert jump portal
-
- def test_static_jumpHarmonics_ship(self):
- self.buildTested = 0
- attr = "jumpHarmonics"
- ingame = 5.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- iIngame = 30000.0
- fIngame = 5000.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Cynosural Field Generator I"
- iIngame = 30000.0
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, item, ship=self.hull)
- fEos = self.getItemAttr(attr, item, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 4.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9001000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/magneticInfusionBasin.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/magneticInfusionBasin.py
deleted file mode 100755
index 0512f7b1d..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/magneticInfusionBasin.py
+++ /dev/null
@@ -1,187 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Offensive - Magnetic Infusion Basin"
- self.skill = "Caldari Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 5% bonus to medium hybrid turret damage per level
-
- def test_caldariOffensiveSystems_damageMultiplier_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Ion Blaster I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Electron Blaster Cannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 20% bonus to medium hybrid turret optimal range per level
-
- def test_caldariOffensiveSystems_maxRange_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "250mm Railgun I"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_maxRange_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "150mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_falloff_moduleHybridWeaponMedium(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Heavy Electron Blaster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9001000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +365 MW powergrid
-
- def test_static_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iIngame = 0.0
- fIngame = 365.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +450 GJ capacitor capacity
-
- def test_static_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iIngame = 100.0
- fIngame = 550.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/riflingLauncherPattern.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/riflingLauncherPattern.py
deleted file mode 100755
index bf77921a2..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/offensive/riflingLauncherPattern.py
+++ /dev/null
@@ -1,277 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Offensive - Rifling Launcher Pattern"
- self.skill = "Caldari Offensive Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to ECM target jammer strength per level
-
- def test_caldariOffensiveSystems_scanGravimetricStrengthBonus_moduleECM(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM - Phase Inverter I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_scanGravimetricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanGravimetricStrengthBonus"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_scanLadarStrengthBonus_moduleECM(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM - Spatial Destabilizer I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_scanLadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanLadarStrengthBonus"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_scanMagnetometricStrengthBonus_moduleECM(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM - Ion Field Projector I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_scanMagnetometricStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanMagnetometricStrengthBonus"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_scanRadarStrengthBonus_moduleECM(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM - Multispectral Jammer I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_scanRadarStrengthBonus_moduleOther(self):
- self.buildTested = 0
- attr = "scanRadarStrengthBonus"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 5% bonus to Assault Missile Launcher Rate of Fire per level
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 5% bonus to Heavy Assault Missile Launcher Rate of Fire per level
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 5% bonus to Heavy Missile Launcher Rate of Fire per level
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariOffensiveSystems_speed_moduleLauncherMissileOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add weapon hardpoints
-
- def test_static_turretSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "turretSlotsLeft"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_launcherSlotsLeft_ship(self):
- self.buildTested = 0
- attr = "launcherSlotsLeft"
- iIngame = 0.0
- fIngame = 5.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +800000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9001000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +33 tf cpu
-
- def test_static_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iIngame = 0.0
- fIngame = 33.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/__init__.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/fuelCatalyst.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/fuelCatalyst.py
deleted file mode 100755
index f377f557f..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/fuelCatalyst.py
+++ /dev/null
@@ -1,113 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Propulsion - Fuel Catalyst"
- self.skill = "Caldari Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 10% bonus to afterburner speed per level
-
- def test_amarrPropulsionSystems_speedFactor_moduleAfterburner(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "100MN Afterburner I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrPropulsionSystems_speedFactor_moduleAfterburnerNoSkillrqAfterburner(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "10MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9601000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +160 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 170.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.387
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.387
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/gravitationalCapacitor.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/gravitationalCapacitor.py
deleted file mode 100755
index 22abf72ba..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/gravitationalCapacitor.py
+++ /dev/null
@@ -1,114 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Propulsion - Gravitational Capacitor"
- self.skill = "Caldari Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 15% bonus to warp speed per level
-
- def test_caldariPropulsionSystems_baseWarpSpeed_ship(self):
- self.buildTested = 0
- attr = "baseWarpSpeed"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Subsystem Skill Bonus:
- # 15% reduction in capacitor need when initiating warp per level
-
- def test_caldariPropulsionSystems_warpCapacitorNeed_ship(self):
- self.buildTested = 0
- attr = "warpCapacitorNeed"
- iLvl = 1
- iIngame = 0.85
- fLvl = 4
- fIngame = 0.4
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9601000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +175 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 185.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.387
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.387
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/intercalatedNanofibers.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/intercalatedNanofibers.py
deleted file mode 100755
index 72ad17ed3..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/intercalatedNanofibers.py
+++ /dev/null
@@ -1,98 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Propulsion - Intercalated Nanofibers"
- self.skill = "Caldari Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 5% increased agility per level
-
- def test_caldariPropulsionSystems_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 1.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9601000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +165 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 175.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.43
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.43
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/interdictionNullifier.py b/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/interdictionNullifier.py
deleted file mode 100755
index 33a9c80d0..000000000
--- a/eos/tests/typeTests/ships/strategicCruisers/tengu/propulsion/interdictionNullifier.py
+++ /dev/null
@@ -1,108 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.hull = "Tengu"
- self.sub = "Tengu Propulsion - Interdiction Nullifier"
- self.skill = "Caldari Propulsion Systems"
-
- # Subsystem Skill Bonus:
- # 5% increased agility per level
-
- def test_caldariPropulsionSystems_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=self.hull, miscitms=self.sub)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=self.hull, miscitms=self.sub)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # Immunity to non-targeted interdiction
-
- def test_static_warpBubbleImmune_ship(self):
- self.buildTested = 0
- attr = "warpBubbleImmune"
- ingame = 1.0
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
-
- # Hidden bonus:
- # Add slots to ship
-
- def test_static_hiSlots_ship(self):
- self.buildTested = 0
- attr = "hiSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_medSlots_ship(self):
- self.buildTested = 0
- attr = "medSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_lowSlots_ship(self):
- self.buildTested = 0
- attr = "lowSlots"
- iIngame = 0.0
- fIngame = 0.0
- iEos = self.getShipAttr(attr, ship=self.hull) or 0.0
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub) or 0.0
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +1400000 kg mass
-
- def test_static_mass_ship(self):
- self.buildTested = 0
- attr = "mass"
- iIngame = 8201000.0
- fIngame = 9601000.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # +155 m/s speed
-
- def test_static_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iIngame = 10.0
- fIngame = 165.0
- iEos = self.getShipAttr(attr, ship=self.hull)
- fEos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # Set inertia modifier to 0.559
-
- def test_static_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- ingame = 0.559
- eos = self.getShipAttr(attr, ship=self.hull, miscitms=self.sub)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/supercarriers/__init__.py b/eos/tests/typeTests/ships/supercarriers/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/supercarriers/aeon.py b/eos/tests/typeTests/ships/supercarriers/aeon.py
deleted file mode 100755
index 84eb7b4a3..000000000
--- a/eos/tests/typeTests/ships/supercarriers/aeon.py
+++ /dev/null
@@ -1,317 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Aeon"
-
- # Amarr Carrier Skill Bonuses:
- # 50% bonus to Capital Energy transfer range per level
-
- def test_amarrCarrier_powerTransferRange_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Capital Energy Transfer Array I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_powerTransferRange_moduleEnergyTransferOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Small Energy Transfer Array I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Carrier Skill Bonuses:
- # 50% bonus to Capital Armor transfer range per level
-
- def test_amarrCarrier_maxRange_moduleRemoteRepairerCapital(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Capital Remote Armor Repair System I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_maxRange_moduleRemoteRepairerOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Large Remote Armor Repair System I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Carrier Skill Bonuses:
- # 5% bonus to all Armor resistances per level
-
- def test_amarrCarrier_armorEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorEmDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorKineticDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_armorThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "armorThermalDamageResonance"
- item = "Damage Control I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Carrier Skill Bonuses:
- # Can deploy 3 additional Fighters or Fighter Bombers per level
-
- def test_amarrCarrier_maxActiveDrones_ship(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 8.0
- fLvl = 4
- fIngame = 17.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Carrier Skill Bonuses:
- # Can fit 1 additional Warfare Link module per level
-
- def test_amarrCarrier_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Amarr Carrier"
- item = "Armored Warfare Link - Passive Defense I"
- iLvl = 1
- iIngame = 2
- fLvl = 4
- fIngame = 5
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Amarr Carrier"
- item = "10MN Afterburner I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 1
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Armored Warfare Link - Passive Defense I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Drone Control Units
- # Moved from Drone Control Unit module tests, not listed as bonus of ship
-
- def test_static_cpu_moduleDroneControlUnit(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Drone Control Unit I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 200% bonus to Fighter or Fighter Bomber control range
-
- def test_static_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=ship_other)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/supercarriers/hel.py b/eos/tests/typeTests/ships/supercarriers/hel.py
deleted file mode 100755
index 8cd1593ab..000000000
--- a/eos/tests/typeTests/ships/supercarriers/hel.py
+++ /dev/null
@@ -1,324 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Hel"
-
- # Minmatar Carrier Skill Bonuses:
- # 50% bonus to Capital Shield transfer range per level
-
- def test_minmatarCarrier_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_shieldTransferRange_moduleShieldTransporterOther(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Medium Shield Transporter I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Carrier Skill Bonuses:
- # 50% bonus to Capital Armor transfer range per level
-
- def test_minmatarCarrier_maxRange_moduleRemoteRepairerCapital(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Capital Remote Armor Repair System I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_maxRange_moduleRemoteRepairerOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Small Remote Armor Repair System I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Carrier Skill Bonuses:
- # 7.5% bonus to Shield transfer amount per level
-
- def test_minmatarCarrier_shieldBonus_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Transporter I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_shieldBonus_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Transporter I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_shieldBonus_moduleShieldTransporterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Remote Shield Transporter"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "X-Large Shield Booster I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Carrier Skill Bonuses:
- # 7.5% bonus to Armor transfer amount per level
-
- def test_minmatarCarrier_armorDamageAmount_moduleRemoteArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Remote Armor Repair System I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_armorDamageAmount_moduleRemoteArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Remote Armor Repair System I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_armorDamageAmount_moduleRemoteArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Remote Armor Repair System"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Armor Repairer I"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Carrier Skill Bonuses:
- # Can deploy 3 additional Fighters or Fighter Bombers per level
-
- def test_minmatarCarrier_maxActiveDrones_ship(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- skill = "Minmatar Carrier"
- iLvl = 1
- iIngame = 8.0
- fLvl = 4
- fIngame = 17.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Carrier Skill Bonuses:
- # Can fit 1 additional Warfare Link module per level
-
- def test_minmatarCarrier_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Minmatar Carrier"
- item = "Siege Warfare Link - Shield Harmonizing I"
- iLvl = 1
- iIngame = 2
- fLvl = 4
- fIngame = 5
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarCarrier_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Minmatar Carrier"
- item = "Remote ECM Burst I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 1
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Information Warfare Link - Electronic Superiority I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Drone Control Units
- # Moved from Drone Control Unit module tests, not listed as bonus of ship
-
- def test_static_cpu_moduleDroneControlUnit(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Drone Control Unit I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 200% bonus to Fighter and Fighter Bomber control range
-
- def test_static_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=ship_other)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/supercarriers/nyx.py b/eos/tests/typeTests/ships/supercarriers/nyx.py
deleted file mode 100755
index 630cf6255..000000000
--- a/eos/tests/typeTests/ships/supercarriers/nyx.py
+++ /dev/null
@@ -1,250 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Nyx"
-
- # Gallente Carrier Skill Bonuses:
- # 50% bonus to Capital Shield transfer range per level
-
- def test_gallenteCarrier_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCarrier_shieldTransferRange_moduleShieldTransporterOther(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Large Shield Transporter I"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Carrier Skill Bonuses:
- # 50% bonus to Capital Armor transfer range per level
-
- def test_gallenteCarrier_maxRange_moduleRemoteRepairerCapital(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Capital Remote Armor Repair System I"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCarrier_maxRange_moduleRemoteRepairerOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Large Remote Armor Repair System I"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Carrier Skill Bonuses:
- # 5% bonus to deployed Fighters damage per level
-
- def test_gallenteCarrier_damageMultiplier_droneFighter(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dragonfly"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Carrier Skill Bonuses:
- # 5% bonus to deployed Fighter Bomber damage per level
-
- def test_gallenteCarrier_damageMultiplier_droneFighterBomber(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Malleus"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCarrier_damageMultiplier_droneOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Ogre I"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Carrier Skill Bonuses:
- # Can deploy 3 additional Fighters or Fighter Bombers per level
-
- def test_gallenteCarrier_maxActiveDrones_ship(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- skill = "Gallente Carrier"
- iLvl = 1
- iIngame = 8.0
- fLvl = 4
- fIngame = 17.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Carrier Skill Bonuses:
- # Can fit 1 additional Warfare Link module per level
-
- def test_gallenteCarrier_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Gallente Carrier"
- item = "Mining Foreman Link - Laser Optimization I"
- iLvl = 1
- iIngame = 2
- fLvl = 4
- fIngame = 5
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteCarrier_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Gallente Carrier"
- item = "10MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 1
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Skirmish Warfare Link - Rapid Deployment I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Drone Control Units
- # Moved from Drone Control Unit module tests, not listed as bonus of ship
-
- def test_static_cpu_moduleDroneControlUnit(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Drone Control Unit I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Carrier Skill Bonuses:
- # 200% bonus to Fighter and Fighter Bomber control range
-
- def test_static_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=ship_other)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/supercarriers/revenant.py b/eos/tests/typeTests/ships/supercarriers/revenant.py
deleted file mode 100755
index fcd001ae6..000000000
--- a/eos/tests/typeTests/ships/supercarriers/revenant.py
+++ /dev/null
@@ -1,350 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Revenant"
-
- # Amarr Carrier Skill Bonuses:
- # 10% bonus to fighter max velocity per level
-
- def test_amarrCarrier_maxVelocity_droneFighter(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Einherji"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Carrier Skill Bonuses:
- # 10% bonus to fighter-bomber max velocity per level
-
- def test_amarrCarrier_maxVelocity_droneFighterBomber(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Tyrfing"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_maxVelocity_droneOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Berserker I"
- skill = "Amarr Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Carrier Skill Bonuses:
- # Can fit 1 additional Warfare Link module per level
-
- def test_amarrCarrier_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Amarr Carrier"
- item = "Siege Warfare Link - Shield Efficiency I"
- iLvl = 1
- iIngame = 2
- fLvl = 4
- fIngame = 5
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrCarrier_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Amarr Carrier"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 1
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Carrier Skill Bonuses:
- # 50% bonus to Capital Energy transfer range per level
-
- def test_caldariCarrier_powerTransferRange_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Capital Energy Transfer Array I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_powerTransferRange_moduleEnergyTransferOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Small Energy Transfer Array I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Carrier Skill Bonuses:
- # 50% bonus to Capital Shield transfer range per level
-
- def test_caldariCarrier_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldTransferRange_moduleShieldTransporterOther(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Large Shield Transporter I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Carrier Skill Bonuses:
- # Can deploy 1 additional Fighters or Fighter Bombers or Drones per level
-
- def test_caldariCarrier_maxActiveDrones_ship(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 6.0
- fLvl = 4
- fIngame = 9.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to fighter damage
-
- def test_static_damageMultiplier_droneFighter(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Firbolg"
- ship_other = "Hel"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to fighter-bomber damage
-
- def test_static_damageMultiplier_droneFighterBomber(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Cyclops"
- ship_other = "Hel"
- iIngame = 1.0
- fIngame = 2.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_damageMultiplier_droneOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Hornet I"
- ship_other = "Hel"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to fighter hitpoints
-
- def test_static_hp_droneFighter(self):
- self.buildTested = 0
- item = "Templar"
- layers = ("shieldCapacity", "armorHP", "hp")
- ship_other = "Hel"
- iIngame = 1.0
- fIngame = 2.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, ship=ship_other)
- fEos += self.getItemAttr(layer, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Special Ability:
- # 100% bonus to fighter-bomber hitpoints
-
- def test_static_hp_droneFighterBomber(self):
- self.buildTested = 0
- item = "Tyrfing"
- layers = ("shieldCapacity", "armorHP", "hp")
- ship_other = "Hel"
- iIngame = 1.0
- fIngame = 2.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, ship=ship_other)
- fEos += self.getItemAttr(layer, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_hp_droneOther(self):
- self.buildTested = 0
- item = "Praetor I"
- layers = ("shieldCapacity", "armorHP", "hp")
- ship_other = "Hel"
- iIngame = 1.0
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in layers:
- iEos += self.getItemAttr(layer, item, ship=ship_other)
- fEos += self.getItemAttr(layer, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonuses:
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Information Warfare Link - Recon Operation I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Drone Control Units
- # Moved from Drone Control Unit module tests, not listed as bonus of ship
-
- def test_static_cpu_moduleDroneControlUnit(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Drone Control Unit I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonuses:
- # 200% bonus to Fighter or Fighter Bomber control range
-
- def test_static_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=ship_other)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/supercarriers/wyvern.py b/eos/tests/typeTests/ships/supercarriers/wyvern.py
deleted file mode 100755
index c816de804..000000000
--- a/eos/tests/typeTests/ships/supercarriers/wyvern.py
+++ /dev/null
@@ -1,317 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Wyvern"
-
- # Caldari Carrier Skill Bonuses:
- # 50% bonus to Capital Energy transfer range per level
-
- def test_caldariCarrier_powerTransferRange_moduleEnergyTransferCapital(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Capital Energy Transfer Array I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_powerTransferRange_moduleEnergyTransferOther(self):
- self.buildTested = 0
- attr = "powerTransferRange"
- item = "Medium Energy Transfer Array I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Carrier Skill Bonuses:
- # 50% bonus to Capital Shield transfer range per level
-
- def test_caldariCarrier_shieldTransferRange_moduleShieldTransporterCapital(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Capital Shield Transporter I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.5
- fLvl = 4
- fIngame = 3.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldTransferRange_moduleShieldTransporterOther(self):
- self.buildTested = 0
- attr = "shieldTransferRange"
- item = "Small Shield Transporter I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Carrier Skill Bonuses:
- # 5% bonus to all Shield resistances per level
-
- def test_caldariCarrier_shieldEmDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldEmDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldEmDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldExplosiveDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldExplosiveDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldExplosiveDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldKineticDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldKineticDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldKineticDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldThermalDamageResonance_ship(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_shieldThermalDamageResonance_other(self):
- self.buildTested = 0
- attr = "shieldThermalDamageResonance"
- item = "Damage Control I"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Carrier Skill Bonuses:
- # Can deploy 3 additional Fighters or Fighter Bombers per level
-
- def test_caldariCarrier_maxActiveDrones_ship(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- skill = "Caldari Carrier"
- iLvl = 1
- iIngame = 8.0
- fLvl = 4
- fIngame = 17.0
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Carrier Skill Bonuses:
- # Can fit 1 additional Warfare Link module per level
-
- def test_caldariCarrier_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Caldari Carrier"
- item = "Siege Warfare Link - Shield Efficiency I"
- iLvl = 1
- iIngame = 2
- fLvl = 4
- fIngame = 5
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariCarrier_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Caldari Carrier"
- item = "Remote ECM Burst I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 1
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Skirmish Warfare Link - Interdiction Maneuvers I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Drone Control Units
- # Moved from Drone Control Unit module tests, not listed as bonus of ship
-
- def test_static_cpu_moduleDroneControlUnit(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Drone Control Unit I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 200% bonus to Fighter or Fighter Bomber control range
-
- def test_static_droneControlRange_ship(self):
- self.buildTested = 0
- attr = "droneControlRange"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 3.0
- iEos = self.getShipAttr(attr, ship=ship_other)
- fEos = self.getShipAttr(attr, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/titans/__init__.py b/eos/tests/typeTests/ships/titans/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/titans/avatar.py b/eos/tests/typeTests/ships/titans/avatar.py
deleted file mode 100755
index 0fd41befb..000000000
--- a/eos/tests/typeTests/ships/titans/avatar.py
+++ /dev/null
@@ -1,135 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Avatar"
-
- # Amarr Titan Skill Bonuses:
- # 100% bonus to Capital Energy Turret damage per level
-
- def test_amarrTitan_damageMultiplier_moduleEnergyWeaponCapital(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Giga Pulse Laser I"
- skill = "Amarr Titan"
- iLvl = 1
- iIngame = 2.0
- fLvl = 4
- fIngame = 5.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrTitan_damageMultiplier_moduleEnergyWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Pulse Laser I"
- skill = "Amarr Titan"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Titan Skill Bonuses:
- # 7.5% bonus to gang members' capacitor recharge rate per level
-
- def test_amarrTitan_rechargeRate_fleetShip(self):
- self.buildTested = 0
- attr = "rechargeRate"
- skill = "Amarr Titan"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, gang=True)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Titan Skill Bonuses:
- # Can fit 1 additional Warfare Link module per level
-
- def test_amarrTitan_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Amarr Titan"
- item = "Armored Warfare Link - Passive Defense I"
- iLvl = 1
- iIngame = 2
- fLvl = 4
- fIngame = 5
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_amarrTitan_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Amarr Titan"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 1
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Information Warfare Link - Recon Operation I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/titans/erebus.py b/eos/tests/typeTests/ships/titans/erebus.py
deleted file mode 100755
index 9a75a3b53..000000000
--- a/eos/tests/typeTests/ships/titans/erebus.py
+++ /dev/null
@@ -1,136 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Erebus"
-
- # Gallente Titan Skill Bonuses:
- # 100% bonus to Capital Hybrid Turret damage per level
-
- def test_gallenteTitan_damageMultiplier_moduleHybridWeaponCapital(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Ion Siege Blaster Cannon I"
- skill = "Gallente Titan"
- iLvl = 1
- iIngame = 2.0
- fLvl = 4
- fIngame = 5.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteTitan_damageMultiplier_moduleHybridWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Electron Blaster Cannon I"
- skill = "Gallente Titan"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Titan Skill Bonuses:
- # 7.5% bonus to gang members' maximum armor HP per level
-
- def test_gallenteTitan_armorHP_fleetShip(self):
- self.buildTested = 0
- attr = "armorHP"
- skill = "Gallente Titan"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, gang=True)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Titan Skill Bonuses:
- # Can fit 1 additional Warfare Link module per level
-
- def test_gallenteTitan_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Gallente Titan"
- item = "Information Warfare Link - Recon Operation I"
- iLvl = 1
- iIngame = 2
- fLvl = 4
- fIngame = 5
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_gallenteTitan_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Gallente Titan"
- item = "100MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 1
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Titan Skill Bonuses:
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Skirmish Warfare Link - Interdiction Maneuvers I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/titans/leviathan.py b/eos/tests/typeTests/ships/titans/leviathan.py
deleted file mode 100755
index aa5120761..000000000
--- a/eos/tests/typeTests/ships/titans/leviathan.py
+++ /dev/null
@@ -1,151 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Leviathan"
-
- # Caldari Titan Skill Bonuses:
- # 125% bonus to Citadel Missile kinetic damage per level
-
- def test_caldariTitan_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- skill = "Caldari Titan"
- iLvl = 1
- iIngame = 2.25
- fLvl = 4
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariTitan_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- skill = "Caldari Titan"
- iLvl = 1
- iIngame = 2.25
- fLvl = 4
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariTitan_kineticDamage_chargeMissileOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- skill = "Caldari Titan"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Titan Skill Bonuses:
- # 7.5% bonus to gang members' maximum shield HP per level
-
- def test_caldariTitan_shieldCapacity_fleetShip(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- skill = "Caldari Titan"
- iLvl = 1
- iIngame = 1.075
- fLvl = 4
- fIngame = 1.3
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, gang=True)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Titan Skill Bonuses:
- # Can fit 1 additional Warfare Link module per level
-
- def test_caldariTitan_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Caldari Titan"
- item = "Siege Warfare Link - Shield Efficiency I"
- iLvl = 1
- iIngame = 2
- fLvl = 4
- fIngame = 5
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_caldariTitan_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Caldari Titan"
- item = "1MN Afterburner I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 1
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Titan Skill Bonuses:
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Armored Warfare Link - Damage Control I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/titans/ragnarok.py b/eos/tests/typeTests/ships/titans/ragnarok.py
deleted file mode 100755
index b40e74873..000000000
--- a/eos/tests/typeTests/ships/titans/ragnarok.py
+++ /dev/null
@@ -1,135 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Ragnarok"
-
- # Minmatar Titan Skill Bonuses:
- # 125% bonus to Capital Projectile Turret damage per level
-
- def test_minmatarTitan_damageMultiplier_moduleProjectileWeaponCapital(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Quad 3500mm Siege Artillery I"
- skill = "Minmatar Titan"
- iLvl = 1
- iIngame = 2.25
- fLvl = 4
- fIngame = 6.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarTitan_damageMultiplier_moduleProjectileWeaponOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "650mm Artillery Cannon I"
- skill = "Minmatar Titan"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Titan Skill Bonuses:
- # 7.5% reduction in gang members' signature radius per level
-
- def test_minmatarTitan_signatureRadius_fleetShip(self):
- self.buildTested = 0
- attr = "signatureRadius"
- skill = "Minmatar Titan"
- iLvl = 1
- iIngame = 0.925
- fLvl = 4
- fIngame = 0.7
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship, gang=True)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship, gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Titan Skill Bonuses:
- # Can fit 1 additional Warfare Link module per level
-
- def test_minmatarTitan_maxGroupActive_moduleGangCoordinator(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Minmatar Titan"
- item = "Skirmish Warfare Link - Evasive Maneuvers I"
- iLvl = 1
- iIngame = 2
- fLvl = 4
- fIngame = 5
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_minmatarTitan_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- skill = "Minmatar Titan"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 1
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 99% reduction in CPU need for Warfare Link modules
-
- def test_static_cpu_moduleGangCoordinatorSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Information Warfare Link - Sensor Integrity I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 0.01
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleGangCoordinatorNoSkillrqLeadership(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Command Processor I"
- ship_other = "Abaddon"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Advanced Spaceship Command Skill Bonus:
- # 5% Bonus to the agility of ship per skill level
- # Moved from Advanced Spaceship Command skill tests, not listed as bonus of ship
-
- def test_advancedSpaceshipCommand_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- skill = "Advanced Spaceship Command"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/transportShips/__init__.py b/eos/tests/typeTests/ships/transportShips/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/ships/transportShips/bustard.py b/eos/tests/typeTests/ships/transportShips/bustard.py
deleted file mode 100755
index 66e1d47e2..000000000
--- a/eos/tests/typeTests/ships/transportShips/bustard.py
+++ /dev/null
@@ -1,130 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Bustard"
-
- # Caldari Industrial Skill Bonus:
- # +5% cargo capacity per level
-
- def test_caldariIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Caldari Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Industrial Skill Bonus:
- # +5% velocity per level
-
- def test_caldariIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Caldari Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% shield booster boost amount per level
-
- def test_transportShips_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Transporter I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% bonus shield HP per level
-
- def test_transportShips_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # +2 warp strength
-
- def test_static_warpScrambleStatus_ship(self):
- self.buildTested = 0
- attr = "warpScrambleStatus"
- ingame = -2.0
- eos = self.getShipAttr(attr, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/transportShips/crane.py b/eos/tests/typeTests/ships/transportShips/crane.py
deleted file mode 100755
index af9a1c178..000000000
--- a/eos/tests/typeTests/ships/transportShips/crane.py
+++ /dev/null
@@ -1,191 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Crane"
-
- # Caldari Industrial Skill Bonus:
- # +5% cargo capacity per level
-
- def test_caldariIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Caldari Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Caldari Industrial Skill Bonus:
- # +5% velocity per level
-
- def test_caldariIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Caldari Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% shield booster boost amount
-
- def test_transportShips_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Transporter I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # -98.5% to -99.25% bonus to cpu need of covert ops cloaks
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.015
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Micro Capacitor Booster I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # -98.5% to -99.25% bonus to cpu need of covert ops cloaks
- # Dynamic part
-
- def test_transportShips_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 0.0135
- fLvl = 4
- fIngame = 0.009
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "LADAR Backup Array I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/transportShips/impel.py b/eos/tests/typeTests/ships/transportShips/impel.py
deleted file mode 100755
index a1178a593..000000000
--- a/eos/tests/typeTests/ships/transportShips/impel.py
+++ /dev/null
@@ -1,130 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Impel"
-
- # Amarr Industrial Skill Bonus:
- # +5% cargo capacity per level
-
- def test_amarrIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Amarr Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Industrial Skill Bonus:
- # +5% velocity per level
-
- def test_amarrIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Amarr Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% armor repairer repair amount per level
-
- def test_transportShips_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Armor Repairer I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Remote Armor Repair System I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% bonus to armor HP per level
-
- def test_transportShips_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # +2 warp strength
-
- def test_static_warpScrambleStatus_ship(self):
- self.buildTested = 0
- attr = "warpScrambleStatus"
- ingame = -2.0
- eos = self.getShipAttr(attr, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/transportShips/mastodon.py b/eos/tests/typeTests/ships/transportShips/mastodon.py
deleted file mode 100755
index 2160c3043..000000000
--- a/eos/tests/typeTests/ships/transportShips/mastodon.py
+++ /dev/null
@@ -1,130 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Mastodon"
-
- # Minmatar Industrial Skill Bonus:
- # +5% cargo capacity per level
-
- def test_minmatarIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Minmatar Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Industrial Skill Bonus:
- # +5% velocity per level
-
- def test_minmatarIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Minmatar Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% shield booster boost amount per level
-
- def test_transportShips_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Large Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Transporter I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% bonus to shield HP per level
-
- def test_transportShips_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # +2 warp strength
-
- def test_static_warpScrambleStatus_ship(self):
- self.buildTested = 0
- attr = "warpScrambleStatus"
- ingame = -2.0
- eos = self.getShipAttr(attr, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/transportShips/occator.py b/eos/tests/typeTests/ships/transportShips/occator.py
deleted file mode 100755
index 1ad90476a..000000000
--- a/eos/tests/typeTests/ships/transportShips/occator.py
+++ /dev/null
@@ -1,130 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Occator"
-
- # Gallente Industrial Skill Bonus:
- # +5% cargo capacity per level
-
- def test_gallenteIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Industrial Skill Bonus:
- # +5% velocity per level
-
- def test_gallenteIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% armor repairer boost amount per level
-
- def test_transportShips_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Armor Repairer I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Remote Armor Repair System I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% bonus to armor HP per level
-
- def test_transportShips_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Role Bonus:
- # +2 warp strengthv
-
- def test_static_warpScrambleStatus_ship(self):
- self.buildTested = 0
- attr = "warpScrambleStatus"
- ingame = -2.0
- eos = self.getShipAttr(attr, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
diff --git a/eos/tests/typeTests/ships/transportShips/prorator.py b/eos/tests/typeTests/ships/transportShips/prorator.py
deleted file mode 100755
index e527f2720..000000000
--- a/eos/tests/typeTests/ships/transportShips/prorator.py
+++ /dev/null
@@ -1,191 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Prorator"
-
- # Amarr Industrial Skill Bonus:
- # +5% cargo capacity per level
-
- def test_amarrIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Amarr Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Amarr Industrial Skill Bonus:
- # +5% velocity per level
-
- def test_amarrIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Amarr Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% armor repairer repair amount
-
- def test_transportShips_armorDamageAmount_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Small Armor Repairer I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_armorDamageAmount_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Capital Armor Repairer I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_armorDamageAmount_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Civilian Armor Repairer"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_armorDamageAmount_moduleOther(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Large Remote Armor Repair System I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # -98.5% to -99.25% bonus to cpu need of covert ops cloaks
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.015
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "10MN Afterburner I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # -98.5% to -99.25% bonus to cpu need of covert ops cloaks
- # Dynamic part
-
- def test_transportShips_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 0.0135
- fLvl = 4
- fIngame = 0.009
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Codebreaker I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/transportShips/prowler.py b/eos/tests/typeTests/ships/transportShips/prowler.py
deleted file mode 100755
index b364fe9e3..000000000
--- a/eos/tests/typeTests/ships/transportShips/prowler.py
+++ /dev/null
@@ -1,191 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Prowler"
-
- # Minmatar Industrial Skill Bonus:
- # +5% cargo capacity per level
-
- def test_minmatarIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Minmatar Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Minmatar Industrial Skill Bonus:
- # +5% velocity per level
-
- def test_minmatarIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Minmatar Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # +5% shield booster boost amount per level
-
- def test_transportShips_shieldBonus_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleShieldBoosterCapital(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Capital Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleShieldBoosterCivilian(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Civilian Shield Booster I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_shieldBonus_moduleOther(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Small Shield Transporter I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # -98.5% to -99.25% bonus to cpu need of covert ops cloaks
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.015
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Tracking Computer I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # -98.5% to -99.25% bonus to cpu need of covert ops cloaks
- # Dynamic part
-
- def test_transportShips_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 0.0135
- fLvl = 4
- fIngame = 0.009
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Stasis Webifier I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/ships/transportShips/viator.py b/eos/tests/typeTests/ships/transportShips/viator.py
deleted file mode 100755
index aae0eaec6..000000000
--- a/eos/tests/typeTests/ships/transportShips/viator.py
+++ /dev/null
@@ -1,191 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.ship = "Viator"
-
- # Gallente Industrial Skill Bonus:
- # +5% cargo capacity per level
-
- def test_gallenteIndustrial_capacity_ship(self):
- self.buildTested = 0
- attr = "capacity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Gallente Industrial Skill Bonus:
- # +5% velocity per level
-
- def test_gallenteIndustrial_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- skill = "Gallente Industrial"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getShipAttr(attr, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # -5% armor repairer duration per level
-
- def test_transportShips_duration_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "duration"
- item = "Medium Armor Repairer I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_duration_moduleArmorRepairerCapital(self):
- self.buildTested = 0
- attr = "duration"
- item = "Capital Armor Repairer I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_duration_moduleArmorRepairerCivilian(self):
- self.buildTested = 0
- attr = "duration"
- item = "Civilian Armor Repairer"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_duration_moduleOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Medium Remote Armor Repair System I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # -98.5% to -99.25% bonus to cpu need of covert ops cloaks
- # Static part
-
- def test_static_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 0.015
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_static_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Ship Scanner I"
- ship_other = "Drake"
- iIngame = 1.0
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, ship=ship_other)
- fEos = self.getItemAttr(attr, item, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Transport Ships Skill Bonus:
- # -98.5% to -99.25% bonus to cpu need of covert ops cloaks
- # Dynamic part
-
- def test_transportShips_cpu_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Prototype Cloaking Device I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 0.0135
- fLvl = 4
- fIngame = 0.009
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_transportShips_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Quad Light Beam Laser I"
- skill = "Transport Ships"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(skill, iLvl), ship=self.ship)
- fEos = self.getItemAttr(attr, item, skill=(skill, fLvl), ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus:
- # 5 seconds cloak reactivation delay
-
- def test_static_moduleReactivationDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Prototype Cloaking Device I"
- ingame = 5000.0
- eos = self.getItemAttr(attr, item, ship=self.ship)
- self.assertAlmostEquals(eos, ingame)
-
- def test_static_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- iItem = "Prototype Cloaking Device I"
- iIngame = 5000.0
- fItem = "Cynosural Field Generator I"
- fIngame = 30000.0
- iEos = self.getItemAttr(attr, iItem, ship=self.ship)
- fEos = self.getItemAttr(attr, fItem, ship=self.ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/__init__.py b/eos/tests/typeTests/skills/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/drones/__init__.py b/eos/tests/typeTests/skills/drones/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/drones/advancedDroneInterfacing.py b/eos/tests/typeTests/skills/drones/advancedDroneInterfacing.py
deleted file mode 100755
index 62ab8d504..000000000
--- a/eos/tests/typeTests/skills/drones/advancedDroneInterfacing.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Advanced Drone Interfacing"
-
- # Allows the use of the Drone Control Unit module. One extra module can be fitted per skill level.
-
- def test_maxGroupActive_moduleDroneControlUnit(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "Drone Control Unit I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "Gas Cloud Harvester I"
- iLvl = 1
- iIngame = 0
- fLvl = 4
- fIngame = 0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/amarrDroneSpecialization.py b/eos/tests/typeTests/skills/drones/amarrDroneSpecialization.py
deleted file mode 100755
index a3888a782..000000000
--- a/eos/tests/typeTests/skills/drones/amarrDroneSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Amarr Drone Specialization"
-
- # 2% bonus to advanced Amarr drone damage per level.
-
- def test_damageMultiplier_droneWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Acolyte II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_droneCombatNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Acolyte I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/caldariDroneSpecialization.py b/eos/tests/typeTests/skills/drones/caldariDroneSpecialization.py
deleted file mode 100755
index 16cef6704..000000000
--- a/eos/tests/typeTests/skills/drones/caldariDroneSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Caldari Drone Specialization"
-
- # 2% bonus to advanced Caldari drone damage per level.
-
- def test_damageMultiplier_droneWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Hornet II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_droneCombatNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Hornet I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/combatDroneOperation.py b/eos/tests/typeTests/skills/drones/combatDroneOperation.py
deleted file mode 100755
index ca68daadc..000000000
--- a/eos/tests/typeTests/skills/drones/combatDroneOperation.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Combat Drone Operation"
-
- # 5% Bonus to drone damage of light and medium drones per level.
-
- def test_damageMultiplier_droneWithScoutSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Warrior I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_droneCombatOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Bouncer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/droneDurability.py b/eos/tests/typeTests/skills/drones/droneDurability.py
deleted file mode 100755
index 2462c02e2..000000000
--- a/eos/tests/typeTests/skills/drones/droneDurability.py
+++ /dev/null
@@ -1,121 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Drone Durability"
- self.layers = ("shieldCapacity", "armorHP", "hp")
-
- # 5% bonus to drone shield, armor and hull hit points per level.
-
- def test_hp_droneCombat(self):
- self.buildTested = 0
- item = "Berserker I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = 0
- fEos = 0
- for layer in self.layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl))
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_hp_droneLogistic(self):
- self.buildTested = 0
- item = "Heavy Shield Maintenance Bot II"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = 0
- fEos = 0
- for layer in self.layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl))
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_hp_droneEwar(self):
- self.buildTested = 0
- item = "Wasp EC-900"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = 0
- fEos = 0
- for layer in self.layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl))
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_hp_droneCapDrain(self):
- self.buildTested = 0
- item = "Praetor EV-900"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = 0
- fEos = 0
- for layer in self.layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl))
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_hp_droneWeb(self):
- self.buildTested = 0
- item = "Berserker SW-900"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = 0
- fEos = 0
- for layer in self.layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl))
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_hp_droneMining(self):
- self.buildTested = 0
- item = "Mining Drone I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in self.layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl))
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_hp_droneOther(self):
- self.buildTested = 0
- item = "Einherji"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = 0
- fEos = 0
- for layer in self.layers:
- iEos += self.getItemAttr(layer, item, skill=(self.skill, iLvl))
- fEos += self.getItemAttr(layer, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/droneInterfacing.py b/eos/tests/typeTests/skills/drones/droneInterfacing.py
deleted file mode 100755
index 6437c5132..000000000
--- a/eos/tests/typeTests/skills/drones/droneInterfacing.py
+++ /dev/null
@@ -1,66 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Drone Interfacing"
-
- # 20% bonus to drone damage per level
-
- def test_damageMultiplier_droneCombatWithDroneSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Hobgoblin II"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_droneCombatNoDroneSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Einherji"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 20% bonus to drone mining yield per level
-
- def test_miningAmount_droneMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Harvester Mining Drone"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_other(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner II"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/droneNavigation.py b/eos/tests/typeTests/skills/drones/droneNavigation.py
deleted file mode 100755
index ac949ec77..000000000
--- a/eos/tests/typeTests/skills/drones/droneNavigation.py
+++ /dev/null
@@ -1,106 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Drone Navigation"
-
- # 5% increase in drone MicroWarpdrive speed per level.
-
- def test_maxVelocity_droneCombat(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Warrior II"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_droneLogistic(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Light Armor Maintenance Bot II"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_droneEwar(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hobgoblin SD-300"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_droneCapDrain(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Acolyte EV-300"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_droneWeb(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Berserker SW-900"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_droneMining(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Mining Drone I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_droneOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Cyclops"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/droneSharpshooting.py b/eos/tests/typeTests/skills/drones/droneSharpshooting.py
deleted file mode 100755
index 62c18bf48..000000000
--- a/eos/tests/typeTests/skills/drones/droneSharpshooting.py
+++ /dev/null
@@ -1,106 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Drone Sharpshooting"
-
- # Increases drone optimal range.
-
- def test_maxRange_droneCombat(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Warden II"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_droneLogistic(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Heavy Armor Maintenance Bot I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_droneEwar(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Praetor TD-900"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_droneCapDrain(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Praetor EV-900"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_droneWeb(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Berserker SW-900"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_droneMining(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Mining Drone I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_droneOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Templar"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/drones.py b/eos/tests/typeTests/skills/drones/drones.py
deleted file mode 100755
index 546d89afe..000000000
--- a/eos/tests/typeTests/skills/drones/drones.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Drones"
-
- # Can operate 1 drone per skill level.
-
- def test_maxActiveDrones(self):
- self.buildTested = 0
- attr = "maxActiveDrones"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 4
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/electronicWarfareDroneInterfacing.py b/eos/tests/typeTests/skills/drones/electronicWarfareDroneInterfacing.py
deleted file mode 100755
index b64f905b6..000000000
--- a/eos/tests/typeTests/skills/drones/electronicWarfareDroneInterfacing.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Electronic Warfare Drone Interfacing"
-
- # 3000m drone control range bonus per level.
-
- def test_droneControlRange(self):
- self.buildTested = 0
- attr = "droneControlRange"
- iLvl = 1
- iIngame = 3000
- fLvl = 4
- fIngame = 12000
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/fighterBombers.py b/eos/tests/typeTests/skills/drones/fighterBombers.py
deleted file mode 100755
index 1706bde93..000000000
--- a/eos/tests/typeTests/skills/drones/fighterBombers.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Fighter Bombers"
-
- # 20% increase in fighter bomber damage per level.
-
- def test_damageMultiplier_droneFighterBomber(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Mantis"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_droneOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dragonfly"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/fighters.py b/eos/tests/typeTests/skills/drones/fighters.py
deleted file mode 100755
index 2d54aa82d..000000000
--- a/eos/tests/typeTests/skills/drones/fighters.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Fighters"
-
- # 20% increase in fighter damage per level.
-
- def test_damageMultiplier_droneFighter(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Templar"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_droneOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Praetor II"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/gallenteDroneSpecialization.py b/eos/tests/typeTests/skills/drones/gallenteDroneSpecialization.py
deleted file mode 100755
index 0d61e7863..000000000
--- a/eos/tests/typeTests/skills/drones/gallenteDroneSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Gallente Drone Specialization"
-
- # 2% bonus to advanced Gallente drone damage per level.
-
- def test_damageMultiplier_droneWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Hobgoblin II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_droneCombatNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Hobgoblin I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/heavyDroneOperation.py b/eos/tests/typeTests/skills/drones/heavyDroneOperation.py
deleted file mode 100755
index bb8a55f06..000000000
--- a/eos/tests/typeTests/skills/drones/heavyDroneOperation.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Heavy Drone Operation"
-
- # 5% Bonus to heavy drone damage per level.
-
- def test_damageMultiplier_droneHeavy(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Ogre I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_droneCombatOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Hammerhead I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/miningDroneOperation.py b/eos/tests/typeTests/skills/drones/miningDroneOperation.py
deleted file mode 100755
index 689cfdc76..000000000
--- a/eos/tests/typeTests/skills/drones/miningDroneOperation.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Mining Drone Operation"
-
- # 5% Bonus to mining drone yield per skill level.
-
- def test_miningAmount_droneMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Harvester Mining Drone"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_otherSkillrqMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/minmatarDroneSpecialization.py b/eos/tests/typeTests/skills/drones/minmatarDroneSpecialization.py
deleted file mode 100755
index 2b5e8b1e6..000000000
--- a/eos/tests/typeTests/skills/drones/minmatarDroneSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Minmatar Drone Specialization"
-
- # 2% bonus to advanced Minmatar drone damage per level.
-
- def test_damageMultiplier_droneWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Warrior II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_droneCombatNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Warrior I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/repairDroneOperation.py b/eos/tests/typeTests/skills/drones/repairDroneOperation.py
deleted file mode 100755
index c6fc88c45..000000000
--- a/eos/tests/typeTests/skills/drones/repairDroneOperation.py
+++ /dev/null
@@ -1,64 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Repair Drone Operation"
-
- # 5% increased repair amount per level.
-
- def test_armorDamageAmount_droneLogistic(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Light Armor Maintenance Bot I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_armorDamageAmount_otherSkillrqRemoteArmorRepairSystems(self):
- self.buildTested = 0
- attr = "armorDamageAmount"
- item = "Medium Remote Armor Repair System I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_shieldBonus_droneLogistic(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Light Shield Maintenance Bot I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_shieldBonus_otherSkillrqShieldEmissionSystems(self):
- self.buildTested = 0
- attr = "shieldBonus"
- item = "Medium Shield Transporter I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/scoutDroneOperation.py b/eos/tests/typeTests/skills/drones/scoutDroneOperation.py
deleted file mode 100755
index 8396b8f47..000000000
--- a/eos/tests/typeTests/skills/drones/scoutDroneOperation.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Scout Drone Operation"
-
- # Bonus: drone control range increased by 5000 meters per skill level.
-
- def test_droneControlRange(self):
- self.buildTested = 0
- attr = "droneControlRange"
- iLvl = 1
- iIngame = 5000
- fLvl = 4
- fIngame = 20000
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/drones/sentryDroneInterfacing.py b/eos/tests/typeTests/skills/drones/sentryDroneInterfacing.py
deleted file mode 100755
index 4c2ef41fc..000000000
--- a/eos/tests/typeTests/skills/drones/sentryDroneInterfacing.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Sentry Drone Interfacing"
-
- # 5% bonus to Sentry Drone damage per level.
-
- def test_damageMultiplier_droneSentry(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Garde I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_droneCombatOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Vespa II"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/__init__.py b/eos/tests/typeTests/skills/electronics/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/electronics/cloaking.py b/eos/tests/typeTests/skills/electronics/cloaking.py
deleted file mode 100755
index f6acafdca..000000000
--- a/eos/tests/typeTests/skills/electronics/cloaking.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Cloaking"
-
- # 10% reduction in targeting delay after uncloaking per skill level.
-
- def test_cloakingTargetingDelay_moduleCloakingDevice(self):
- self.buildTested = 0
- attr = "cloakingTargetingDelay"
- item = "Prototype Cloaking Device I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/cynosuralFieldTheory.py b/eos/tests/typeTests/skills/electronics/cynosuralFieldTheory.py
deleted file mode 100755
index 6d57a4916..000000000
--- a/eos/tests/typeTests/skills/electronics/cynosuralFieldTheory.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Cynosural Field Theory"
-
- # 10% reduction in liquid ozone consumption for module activation per skill level.
-
- def test_consumptionQuantity_moduleCynosuralField(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Cynosural Field Generator I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_consumptionQuantity_moduleOther(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Clone Vat Bay I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/electronicWarfare.py b/eos/tests/typeTests/skills/electronics/electronicWarfare.py
deleted file mode 100755
index f145fa578..000000000
--- a/eos/tests/typeTests/skills/electronics/electronicWarfare.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Electronic Warfare"
-
- # 5% less capacitor need for ECM and ECM Burst systems per skill level.
-
- def test_capacitorNeed_moduleEcmSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM - Multispectral Jammer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleEcmBurstSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleOtherSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECCM - Omni I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/electronics.py b/eos/tests/typeTests/skills/electronics/electronics.py
deleted file mode 100755
index 7d28eaa33..000000000
--- a/eos/tests/typeTests/skills/electronics/electronics.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Electronics"
-
- # 5% Bonus to ship CPU output per skill level.
-
- def test_cpuOutput_ship(self):
- self.buildTested = 0
- attr = "cpuOutput"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/electronicsUpgrades.py b/eos/tests/typeTests/skills/electronics/electronicsUpgrades.py
deleted file mode 100755
index 3da96a985..000000000
--- a/eos/tests/typeTests/skills/electronics/electronicsUpgrades.py
+++ /dev/null
@@ -1,64 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Electronics Upgrades"
-
- # 5% reduction of CPU needs for all modules requiring Electronics Upgrades per skill level.
-
- def test_cpu_moduleSensorBackupArraySkillrq(self):
- self.buildTested = 0
- attr = "cpu"
- item = "RADAR Backup Array I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleSensorBackupArrayNoSkillrq(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Basic RADAR Backup Array"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleSignalAmplifierSkillrq(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Signal Amplifier I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleSignalAmplifierNoSkillrq(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Basic Signal Amplifier"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/frequencyModulation.py b/eos/tests/typeTests/skills/electronics/frequencyModulation.py
deleted file mode 100755
index 9cf4a9a78..000000000
--- a/eos/tests/typeTests/skills/electronics/frequencyModulation.py
+++ /dev/null
@@ -1,114 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Frequency Modulation"
-
- # 10% bonus to falloff for ECM per skill level.
-
- def test_falloff_moduleEcm(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECM - Phase Inverter I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Hidden bonus: 10% bonus to falloff for ECM Burst per skill level.
-
- def test_falloff_moduleEcmBurst(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_falloff_moduleOtherSkillrqElectronicWarfare(self):
- self.buildTested = 0
- attr = "falloff"
- item = "ECCM Projector I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 10% bonus to falloff for Remote Sensor Dampeners per skill level.
-
- def test_falloff_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Remote Sensor Dampener I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_falloff_moduleOtherSkillrqSensorLinking(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Remote Sensor Booster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 10% bonus to falloff for Tracking Disruptors per skill level.
-
- def test_falloff_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Tracking Disruptor I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 10% bonus to falloff for Target Painters per skill level.
-
- def test_falloff_moduleTargetPainter(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Target Painter I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/longDistanceJamming.py b/eos/tests/typeTests/skills/electronics/longDistanceJamming.py
deleted file mode 100755
index 9a4606476..000000000
--- a/eos/tests/typeTests/skills/electronics/longDistanceJamming.py
+++ /dev/null
@@ -1,126 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Long Distance Jamming"
-
- # 10% bonus to optimal range of ECM per skill level.
-
- def test_maxRange_moduleEcmSkillrqEwar(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECM - Multispectral Jammer I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_moduleOtherSkillrqEwar(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "ECCM Projector I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_ecmBurstRange_moduleEcmBurst(self):
- self.buildTested = 0
- attr = "ecmBurstRange"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_ecmBurstRange_moduleOther(self):
- self.buildTested = 0
- attr = "ecmBurstRange"
- item = "Remote ECM Burst I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 10% bonus to optimal range of Remote Sensor Dampers per skill level.
-
- def test_maxRange_moduleRemoteSensorDamperSkillrqSenslink(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Remote Sensor Dampener I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_moduleOtherSkillrqSenslink(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Tracking Link I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 10% bonus to optimal range of Tracking Disruptors per skill level.
-
- def test_maxRange_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Tracking Disruptor I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 10% bonus to optimal range of Target Painters per skill level.
-
- def test_maxRange_moduleTargetPainter(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Target Painter I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/longRangeTargeting.py b/eos/tests/typeTests/skills/electronics/longRangeTargeting.py
deleted file mode 100755
index 50e255bad..000000000
--- a/eos/tests/typeTests/skills/electronics/longRangeTargeting.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Long Range Targeting"
-
- # 5% Bonus to targeting range per skill level.
-
- def test_maxTargetRange_ship(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/multitasking.py b/eos/tests/typeTests/skills/electronics/multitasking.py
deleted file mode 100755
index e9a758b12..000000000
--- a/eos/tests/typeTests/skills/electronics/multitasking.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Multitasking"
-
- # +1 extra target per skill level, up to the ship's maximum allowed number of targets locked.
-
- def test_maxTargetsLockedFromSkills(self):
- self.buildTested = 0
- attr = "maxTargetsLockedFromSkills"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 4
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/projectedElectronicCounterMeasures.py b/eos/tests/typeTests/skills/electronics/projectedElectronicCounterMeasures.py
deleted file mode 100755
index af12ad944..000000000
--- a/eos/tests/typeTests/skills/electronics/projectedElectronicCounterMeasures.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Projected Electronic Counter Measures"
-
- # Each skill level gives a 5% reduction in module activation time.
-
- def test_duration_remoteEcmBurst(self):
- self.buildTested = 0
- attr = "duration"
- item = "Remote ECM Burst I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Warp Disruptor I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/propulsionJamming.py b/eos/tests/typeTests/skills/electronics/propulsionJamming.py
deleted file mode 100755
index 8d38c6367..000000000
--- a/eos/tests/typeTests/skills/electronics/propulsionJamming.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Propulsion Jamming"
-
- # 5% Reduction to warp scrambler capacitor need per skill level.
-
- def test_capacitorNeed_moduleWarpDisruptor(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Disruptor I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleWarpDisruptorNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Warp Disruptor"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 5% Reduction to stasis web capacitor need per skill level.
-
- def test_capacitorNeed_moduleStasisWebifier(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Stasis Webifier I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleStasisWebifierNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Stasis Webifier"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleWarpDisruptFieldGenerator(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Warp Disruption Field Generator I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Ice Harvester I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/sensorLinking.py b/eos/tests/typeTests/skills/electronics/sensorLinking.py
deleted file mode 100755
index 5f4481914..000000000
--- a/eos/tests/typeTests/skills/electronics/sensorLinking.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Sensor Linking"
-
- # 5% less capacitor need for sensor link per skill level.
-
- def test_capacitorNeed_moduleRemoteSensorBooster(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Remote Sensor Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Remote Sensor Dampener I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleOtherSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Tracking Link I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/signalDispersion.py b/eos/tests/typeTests/skills/electronics/signalDispersion.py
deleted file mode 100755
index c58175efd..000000000
--- a/eos/tests/typeTests/skills/electronics/signalDispersion.py
+++ /dev/null
@@ -1,56 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Signal Dispersion"
-
- # 5% bonus to strength of all ECM jammers per skill level.
-
- def test_scanSensorStrengthBonus_moduleEcm(self):
- self.buildTested = 0
- sensorTypes = ("Gravimetric", "Ladar", "Magnetometric", "Radar")
- item = "ECM - Multispectral Jammer I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- for type in sensorTypes:
- attr = "scan{0}StrengthBonus".format(type)
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_scanSensorStrengthBonus_moduleEcmBurst(self):
- self.buildTested = 0
- sensorTypes = ("Gravimetric", "Ladar", "Magnetometric", "Radar")
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- for type in sensorTypes:
- attr = "scan{0}StrengthBonus".format(type)
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_scanSensorStrengthBonus_moduleOther(self):
- self.buildTested = 0
- sensorTypes = ("Gravimetric", "Ladar", "Magnetometric", "Radar")
- item = "Remote ECM Burst I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- for type in sensorTypes:
- attr = "scan{0}StrengthBonus".format(type)
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/signalSuppression.py b/eos/tests/typeTests/skills/electronics/signalSuppression.py
deleted file mode 100755
index 55c64b429..000000000
--- a/eos/tests/typeTests/skills/electronics/signalSuppression.py
+++ /dev/null
@@ -1,37 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Signal Suppression"
- self.attrs = ("maxTargetRangeBonus", "scanResolutionBonus")
-
- # 5% bonus to remote sensor dampers' scan resolution and targeting range suppression per skill level.
-
- def test_sensorDamp_moduleRemoteSensorDamper(self):
- self.buildTested = 0
- item = "Remote Sensor Dampener I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- for attr in self.attrs:
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_sensorDamp_moduleOtherSkillrqSenslink(self):
- self.buildTested = 0
- item = "Remote Sensor Booster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- for attr in self.attrs:
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/signatureAnalysis.py b/eos/tests/typeTests/skills/electronics/signatureAnalysis.py
deleted file mode 100755
index f622fad12..000000000
--- a/eos/tests/typeTests/skills/electronics/signatureAnalysis.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Signature Analysis"
-
- # 5% improved targeting speed per skill level.
-
- def test_scanResolution_ship(self):
- self.buildTested = 0
- attr = "scanResolution"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/signatureFocusing.py b/eos/tests/typeTests/skills/electronics/signatureFocusing.py
deleted file mode 100755
index 41815efac..000000000
--- a/eos/tests/typeTests/skills/electronics/signatureFocusing.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Signature Focusing"
-
- # 5% bonus to target painter modules' signature radius multiplier per skill level.
-
- def test_signatureRadiusBonus_moduleTargetPainter(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "Target Painter I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_signatureRadiusBonus_moduleOther(self):
- self.buildTested = 0
- attr = "signatureRadiusBonus"
- item = "1MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/survey.py b/eos/tests/typeTests/skills/electronics/survey.py
deleted file mode 100755
index 216a884d7..000000000
--- a/eos/tests/typeTests/skills/electronics/survey.py
+++ /dev/null
@@ -1,68 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Survey"
-
- # 5% improvement per level in the scan speed of cargo scanner.
-
- def test_duration_moduleCargoScanner(self):
- self.buildTested = 0
- attr = "duration"
- item = "Cargo Scanner I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 5% improvement per level in the scan speed of ship scanner.
-
- def test_duration_moduleShipScanner(self):
- self.buildTested = 0
- attr = "duration"
- item = "Ship Scanner I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 5% improvement per level in the scan speed of survey scanner.
-
- def test_duration_moduleSurveyScanner(self):
- self.buildTested = 0
- attr = "duration"
- item = "Survey Scanner I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Analyzer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/targetPainting.py b/eos/tests/typeTests/skills/electronics/targetPainting.py
deleted file mode 100755
index 066dc98bc..000000000
--- a/eos/tests/typeTests/skills/electronics/targetPainting.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Target Painting"
-
- # 5% less capacitor need for target painters per skill level.
-
- def test_capacitorNeed_moduleTargetPainter(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Target Painter I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Salvager I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/targeting.py b/eos/tests/typeTests/skills/electronics/targeting.py
deleted file mode 100755
index a94bb412b..000000000
--- a/eos/tests/typeTests/skills/electronics/targeting.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Targeting"
-
- # +1 extra target per skill level, up to the ship's maximum allowed number of targets locked.
-
- def test_maxTargetsLockedFromSkills(self):
- self.buildTested = 0
- attr = "maxTargetsLockedFromSkills"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 4
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/turretDestabilization.py b/eos/tests/typeTests/skills/electronics/turretDestabilization.py
deleted file mode 100755
index a001b8f2f..000000000
--- a/eos/tests/typeTests/skills/electronics/turretDestabilization.py
+++ /dev/null
@@ -1,37 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Turret Destabilization"
- self.attrs = ("maxRangeBonus", "falloffBonus", "trackingSpeedBonus")
-
- # 5% bonus to Tracking Disruptor modules' tracking speed, optimal range and falloff disruption per skill level.
-
- def test_turretDisruption_moduleTrackingDisruptor(self):
- self.buildTested = 0
- item = "Tracking Disruptor I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- for attr in self.attrs:
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_turretDisruption_moduleOther(self):
- self.buildTested = 0
- item = "Tracking Link I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- for attr in self.attrs:
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/electronics/weaponDisruption.py b/eos/tests/typeTests/skills/electronics/weaponDisruption.py
deleted file mode 100755
index 80e254930..000000000
--- a/eos/tests/typeTests/skills/electronics/weaponDisruption.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Weapon Disruption"
-
- # 5% less capacitor need for weapon disruptors per skill level.
-
- def test_capacitorNeed_moduleTrackingDisruptor(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Tracking Disruptor I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "ECM Burst I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/__init__.py b/eos/tests/typeTests/skills/engineering/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/engineering/capitalEnergyEmissionSystems.py b/eos/tests/typeTests/skills/engineering/capitalEnergyEmissionSystems.py
deleted file mode 100755
index e4272ac76..000000000
--- a/eos/tests/typeTests/skills/engineering/capitalEnergyEmissionSystems.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Capital Energy Emission Systems"
-
- # 5% reduced capacitor need of capital energy emission systems per skill level.
-
- def test_capacitorNeed_moduleEnergyTransferSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Energy Transfer Array I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleEnergyTransferNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Small Energy Transfer Array I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/capitalShieldEmissionSystems.py b/eos/tests/typeTests/skills/engineering/capitalShieldEmissionSystems.py
deleted file mode 100755
index 12a7d69a0..000000000
--- a/eos/tests/typeTests/skills/engineering/capitalShieldEmissionSystems.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Capital Shield Emission Systems"
-
- # 5% reduced capacitor need for capital shield emission system modules per skill level.
-
- def test_capacitorNeed_moduleShieldTransporterSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Shield Transporter I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleShieldTransporterNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Small Shield Transporter I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/capitalShieldOperation.py b/eos/tests/typeTests/skills/engineering/capitalShieldOperation.py
deleted file mode 100755
index b0c7c2bf2..000000000
--- a/eos/tests/typeTests/skills/engineering/capitalShieldOperation.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Capital Shield Operation"
-
- # 2% reduction in capacitor need for capital shield boosters per skill level.
-
- def test_capacitorNeed_moduleShieldBoosterSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Shield Booster I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleShieldBoosterNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Small Shield Booster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/emShieldCompensation.py b/eos/tests/typeTests/skills/engineering/emShieldCompensation.py
deleted file mode 100755
index 046b170a8..000000000
--- a/eos/tests/typeTests/skills/engineering/emShieldCompensation.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "EM Shield Compensation"
-
- # To passive shield hardeners: 5% bonus per skill level to Shield EM resistance
-
- def test_emDamageResistanceBonus_moduleShieldAmplifierSkillrqShieldUpgrades(self):
- self.buildTested = 0
- attr = "emDamageResistanceBonus"
- item = "Magnetic Scattering Amplifier I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamageResistanceBonus_moduleShieldAmplifierSkillrqEngineering(self):
- self.buildTested = 0
- attr = "emDamageResistanceBonus"
- item = "Basic Magnetic Scattering Amplifier"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "emDamageResistanceBonus"
- item = "Large Anti-EM Pump I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # To active shield hardeners: 3% bonus per skill level to Shield EM resistance when the modules are not active
-
- def test_passiveEmDamageResistanceBonus_moduleShieldHardenerSkillrqTacticalShieldManipulation(self):
- self.buildTested = 0
- attr = "passiveEmDamageResistanceBonus"
- item = "Photon Scattering Field I"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveEmDamageResistanceBonus_moduleShieldHardenerSkillrqEngineering(self):
- self.buildTested = 0
- attr = "passiveEmDamageResistanceBonus"
- item = "Civilian Photon Scattering Field"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveEmDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "passiveEmDamageResistanceBonus"
- item = "Armor EM Hardener I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/energyEmissionSystems.py b/eos/tests/typeTests/skills/engineering/energyEmissionSystems.py
deleted file mode 100755
index 08615c695..000000000
--- a/eos/tests/typeTests/skills/engineering/energyEmissionSystems.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Energy Emission Systems"
-
- # 5% reduced capacitor need of energy emission weapons per skill level.
-
- def test_capacitorNeed_moduleEnergyTransfer(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Energy Transfer Array I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Energy Neutralizer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "200mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/energyGridUpgrades.py b/eos/tests/typeTests/skills/engineering/energyGridUpgrades.py
deleted file mode 100755
index 2adda9c4a..000000000
--- a/eos/tests/typeTests/skills/engineering/energyGridUpgrades.py
+++ /dev/null
@@ -1,148 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Energy Grid Upgrades"
-
- # 5% reduction in CPU needs of modules requiring Energy Grid Upgrades per skill level.
-
- def test_cpu_moduleCapacitorBattery(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Medium Capacitor Battery I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleCapacitorBatteryNoSkillrq(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Micro Capacitor Battery I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleCapacitorFluxCoil(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Capacitor Flux Coil I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleCapacitorPowerRelay(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Capacitor Power Relay I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleCapacitorRecharger(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Cap Recharger I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_modulePowerDiagnosticSystem(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Power Diagnostic System I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleReactorControlUnit(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Reactor Control Unit I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleShieldFluxCoil(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Shield Flux Coil I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleShieldPowerRelay(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Shield Power Relay I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Miner I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/energyManagement.py b/eos/tests/typeTests/skills/engineering/energyManagement.py
deleted file mode 100755
index e72e8ce08..000000000
--- a/eos/tests/typeTests/skills/engineering/energyManagement.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Energy Management"
-
- # 5% bonus to capacitor capacity per skill level.
-
- def test_capacitorCapacity_ship(self):
- self.buildTested = 0
- attr = "capacitorCapacity"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/energyPulseWeapons.py b/eos/tests/typeTests/skills/engineering/energyPulseWeapons.py
deleted file mode 100755
index ade507b41..000000000
--- a/eos/tests/typeTests/skills/engineering/energyPulseWeapons.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Energy Pulse Weapons"
-
- # 5% decrease in smartbomb duration per skill level.
-
- def test_duration_moduleSmartBomb(self):
- self.buildTested = 0
- attr = "duration"
- item = "Medium EMP Smartbomb I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Ice Harvester I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/energySystemsOperation.py b/eos/tests/typeTests/skills/engineering/energySystemsOperation.py
deleted file mode 100755
index ed484e4f8..000000000
--- a/eos/tests/typeTests/skills/engineering/energySystemsOperation.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Energy Systems Operation"
-
- # 5% reduction in capacitor recharge time per skill level.
-
- def test_rechargeRate_ship(self):
- self.buildTested = 0
- attr = "rechargeRate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/engineering.py b/eos/tests/typeTests/skills/engineering/engineering.py
deleted file mode 100755
index 7ef84a71f..000000000
--- a/eos/tests/typeTests/skills/engineering/engineering.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Engineering"
-
- # 5% Bonus to ship's powergrid output per skill level.
-
- def test_powerOutput_ship(self):
- self.buildTested = 0
- attr = "powerOutput"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/explosiveShieldCompensation.py b/eos/tests/typeTests/skills/engineering/explosiveShieldCompensation.py
deleted file mode 100755
index 96fc29e22..000000000
--- a/eos/tests/typeTests/skills/engineering/explosiveShieldCompensation.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Explosive Shield Compensation"
-
- # To passive shield hardeners: 5% bonus per skill level to Shield Explosive resistance
-
- def test_explosiveDamageResistanceBonus_moduleShieldAmplifierSkillrqShieldUpgrades(self):
- self.buildTested = 0
- attr = "explosiveDamageResistanceBonus"
- item = "Explosion Dampening Amplifier I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamageResistanceBonus_moduleShieldAmplifierSkillrqEngineering(self):
- self.buildTested = 0
- attr = "explosiveDamageResistanceBonus"
- item = "Basic Explosion Dampening Amplifier"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "explosiveDamageResistanceBonus"
- item = "Small Anti-Explosive Screen Reinforcer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # To active shield hardeners: 3% bonus per skill level to Shield Explosive resistance when the modules are not active
-
- def test_passiveExplosiveDamageResistanceBonus_moduleShieldHardenerSkillrqTacticalShieldManipulation(self):
- self.buildTested = 0
- attr = "passiveExplosiveDamageResistanceBonus"
- item = "Explosion Dampening Field I"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveExplosiveDamageResistanceBonus_moduleShieldHardenerSkillrqEngineering(self):
- self.buildTested = 0
- attr = "passiveExplosiveDamageResistanceBonus"
- item = "Civilian Explosion Dampening Field"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveExplosiveDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "passiveExplosiveDamageResistanceBonus"
- item = "Armor Explosive Hardener I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/kineticShieldCompensation.py b/eos/tests/typeTests/skills/engineering/kineticShieldCompensation.py
deleted file mode 100755
index 44e1ba042..000000000
--- a/eos/tests/typeTests/skills/engineering/kineticShieldCompensation.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Kinetic Shield Compensation"
-
- # To passive shield hardeners: 5% bonus per skill level to Shield Kinetic resistance
-
- def test_kineticDamageResistanceBonus_moduleShieldAmplifierSkillrqShieldUpgrades(self):
- self.buildTested = 0
- attr = "kineticDamageResistanceBonus"
- item = "Kinetic Deflection Amplifier I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamageResistanceBonus_moduleShieldAmplifierSkillrqEngineering(self):
- self.buildTested = 0
- attr = "kineticDamageResistanceBonus"
- item = "Basic Kinetic Deflection Amplifier"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "kineticDamageResistanceBonus"
- item = "Medium Anti-Kinetic Screen Reinforcer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # To active shield hardeners: 3% bonus per skill level to Shield Kinetic resistance when the modules are not active
-
- def test_passiveKineticDamageResistanceBonus_moduleShieldHardenerSkillrqTacticalShieldManipulation(self):
- self.buildTested = 0
- attr = "passiveKineticDamageResistanceBonus"
- item = "Ballistic Deflection Field I"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveKineticDamageResistanceBonus_moduleShieldHardenerSkillrqEngineering(self):
- self.buildTested = 0
- attr = "passiveKineticDamageResistanceBonus"
- item = "Civilian Ballistic Deflection Field"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveKineticDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "passiveKineticDamageResistanceBonus"
- item = "Armor Kinetic Hardener I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/shieldCompensation.py b/eos/tests/typeTests/skills/engineering/shieldCompensation.py
deleted file mode 100755
index 3a337473f..000000000
--- a/eos/tests/typeTests/skills/engineering/shieldCompensation.py
+++ /dev/null
@@ -1,64 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Shield Compensation"
-
- # 2% less capacitor need for shield boosters per skill level.
-
- def test_capacitorNeed_moduleShieldBoosterSkillrqShieldOperation(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Large Shield Booster I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleShieldBoosterSkillrqCapitalShieldOperation(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Shield Booster I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleShieldBoosterSkillrqNone(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Shield Booster I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Proton Smartbomb I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/shieldEmissionSystems.py b/eos/tests/typeTests/skills/engineering/shieldEmissionSystems.py
deleted file mode 100755
index 804c0d233..000000000
--- a/eos/tests/typeTests/skills/engineering/shieldEmissionSystems.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Shield Emission Systems"
-
- # 5% reduced capacitor need for shield emission system modules per skill level.
-
- def test_capacitorNeed_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Large Shield Transporter I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleShieldTransporterNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Remote Shield Transporter"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/shieldManagement.py b/eos/tests/typeTests/skills/engineering/shieldManagement.py
deleted file mode 100755
index ad5564358..000000000
--- a/eos/tests/typeTests/skills/engineering/shieldManagement.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Shield Management"
-
- # 5% bonus to shield capacity per skill level.
-
- def test_shieldCapacity_ship(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/shieldOperation.py b/eos/tests/typeTests/skills/engineering/shieldOperation.py
deleted file mode 100755
index b950426ef..000000000
--- a/eos/tests/typeTests/skills/engineering/shieldOperation.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Shield Operation"
-
- # 5% reduction in shield recharge time per skill level.
-
- def test_shieldRechargeRate_ship(self):
- self.buildTested = 0
- attr = "shieldRechargeRate"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/shieldUpgrades.py b/eos/tests/typeTests/skills/engineering/shieldUpgrades.py
deleted file mode 100755
index 4eec760d9..000000000
--- a/eos/tests/typeTests/skills/engineering/shieldUpgrades.py
+++ /dev/null
@@ -1,79 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Shield Upgrades"
-
- # 5% reduction in shield upgrade powergrid needs.
-
- def test_power_moduleShieldAmplifier(self):
- self.buildTested = 0
- attr = "power"
- item = "Magnetic Scattering Amplifier I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleShieldExtender(self):
- self.buildTested = 0
- attr = "power"
- item = "Large Shield Extender I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleShieldExtenderNoSkillrq(self):
- self.buildTested = 0
- attr = "power"
- item = "Micro Shield Extender I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
-
- def test_power_moduleShieldRecharger(self):
- self.buildTested = 0
- attr = "power"
- item = "Shield Recharger I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleOther(self):
- self.buildTested = 0
- attr = "power"
- item = "Large EMP Smartbomb I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/tacticalShieldManipulation.py b/eos/tests/typeTests/skills/engineering/tacticalShieldManipulation.py
deleted file mode 100755
index 0a0d315f6..000000000
--- a/eos/tests/typeTests/skills/engineering/tacticalShieldManipulation.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Tactical Shield Manipulation"
-
- # Reduces the chance of damage penetrating the shield when it falls below 25% by 5% per skill level, with 0% chance at level 5.
-
- def test_shieldUniformity(self):
- self.buildTested = 0
- attr = "shieldUniformity"
- iLvl = 1
- iIngame = 0.8
- fLvl = 4
- fIngame = 0.95
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/engineering/thermicShieldCompensation.py b/eos/tests/typeTests/skills/engineering/thermicShieldCompensation.py
deleted file mode 100755
index c25c47d41..000000000
--- a/eos/tests/typeTests/skills/engineering/thermicShieldCompensation.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Thermic Shield Compensation"
-
- # To passive shield hardeners: 5% bonus per skill level to Shield Thermal resistance
-
- def test_thermalDamageResistanceBonus_moduleShieldAmplifierSkillrqShieldUpgrades(self):
- self.buildTested = 0
- attr = "thermalDamageResistanceBonus"
- item = "Heat Dissipation Amplifier I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamageResistanceBonus_moduleShieldAmplifierSkillrqEngineering(self):
- self.buildTested = 0
- attr = "thermalDamageResistanceBonus"
- item = "Basic Heat Dissipation Amplifier"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "thermalDamageResistanceBonus"
- item = "Small Anti-Thermic Pump I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # To active shield hardeners: 3% bonus per skill level to Shield Thermal resistance when the modules are not active
-
- def test_passiveThermicDamageResistanceBonus_moduleShieldHardenerSkillrqTacticalShieldManipulation(self):
- self.buildTested = 0
- attr = "passiveThermicDamageResistanceBonus"
- item = "Heat Dissipation Field I"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveThermicDamageResistanceBonus_moduleShieldHardenerSkillrqEngineering(self):
- self.buildTested = 0
- attr = "passiveThermicDamageResistanceBonus"
- item = "Civilian Heat Dissipation Field"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveThermicDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "passiveThermicDamageResistanceBonus"
- item = "Armor Thermic Hardener I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/__init__.py b/eos/tests/typeTests/skills/gunnery/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/gunnery/advancedWeaponUpgrades.py b/eos/tests/typeTests/skills/gunnery/advancedWeaponUpgrades.py
deleted file mode 100755
index 19344355f..000000000
--- a/eos/tests/typeTests/skills/gunnery/advancedWeaponUpgrades.py
+++ /dev/null
@@ -1,206 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Advanced Weapon Upgrades"
-
- # Reduces the powergrid needs of weapon turrets by 2% per skill level.
-
- def test_power_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "power"
- item = "Dual Light Beam Laser I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "power"
- item = "250mm Railgun I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "power"
- item = "1400mm Howitzer Artillery I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # Reduces the powergrid needs of launchers by 2% per skill level.
-
- def test_power_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "power"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleMissileLauncherStandardNoSkillrqMissileLauncherOperation(self):
- self.buildTested = 0
- attr = "power"
- item = "Civilian Standard Missile Launcher"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "power"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "power"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "power"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "power"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "power"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "power"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "power"
- item = "Citadel Cruise Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleMissileLauncherBomb(self):
- self.buildTested = 0
- attr = "power"
- item = "Bomb Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_power_moduleOther(self):
- self.buildTested = 0
- attr = "power"
- item = "Large Hull Repairer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/capitalEnergyTurret.py b/eos/tests/typeTests/skills/gunnery/capitalEnergyTurret.py
deleted file mode 100755
index b27dd27d7..000000000
--- a/eos/tests/typeTests/skills/gunnery/capitalEnergyTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Capital Energy Turret"
-
- # 5% Bonus to capital energy turret damage per level.
-
- def test_damageMultiplier_moduleEnergyWeaponCapital(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Giga Beam Laser I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Gatling Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/capitalHybridTurret.py b/eos/tests/typeTests/skills/gunnery/capitalHybridTurret.py
deleted file mode 100755
index 99d794ba5..000000000
--- a/eos/tests/typeTests/skills/gunnery/capitalHybridTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Capital Hybrid Turret"
-
- # 5% Bonus to capital hybrid turret damage per level.
-
- def test_damageMultiplier_moduleHybridWeaponCapital(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Ion Siege Blaster Cannon I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Electron Blaster Cannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/capitalProjectileTurret.py b/eos/tests/typeTests/skills/gunnery/capitalProjectileTurret.py
deleted file mode 100755
index 97bf5e546..000000000
--- a/eos/tests/typeTests/skills/gunnery/capitalProjectileTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Capital Projectile Turret"
-
- # 5% Bonus to capital projectile turret damage per level.
-
- def test_damageMultiplier_moduleProjectileWeaponCapital(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "6x2500mm Repeating Artillery I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "125mm Gatling AutoCannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/controlledBursts.py b/eos/tests/typeTests/skills/gunnery/controlledBursts.py
deleted file mode 100755
index dc1828ee4..000000000
--- a/eos/tests/typeTests/skills/gunnery/controlledBursts.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Controlled Bursts"
-
- # 5% reduction in capacitor need of weapon turrets per skill level.
-
- def test_capacitorNeed_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Quad Light Beam Laser I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "200mm Railgun I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Armor EM Hardener I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/gunnery.py b/eos/tests/typeTests/skills/gunnery/gunnery.py
deleted file mode 100755
index e1dd7dc1b..000000000
--- a/eos/tests/typeTests/skills/gunnery/gunnery.py
+++ /dev/null
@@ -1,64 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Gunnery"
-
- # 2% Bonus to weapon turrets' rate of fire per skill level.
-
- def test_speed_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual Light Beam Laser I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 150mm Railgun I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "speed"
- item = "150mm Light AutoCannon I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/largeAtrillerySpecialization.py b/eos/tests/typeTests/skills/gunnery/largeAtrillerySpecialization.py
deleted file mode 100755
index d4edecc2f..000000000
--- a/eos/tests/typeTests/skills/gunnery/largeAtrillerySpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Large Artillery Specialization"
-
- # 2% bonus per skill level to the damage of large turrets requiring Large Artillery Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "1400mm Howitzer Artillery II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "1400mm Howitzer Artillery I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/largeAutocannonSpecialization.py b/eos/tests/typeTests/skills/gunnery/largeAutocannonSpecialization.py
deleted file mode 100755
index deb0148d0..000000000
--- a/eos/tests/typeTests/skills/gunnery/largeAutocannonSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Large Autocannon Specialization"
-
- # 2% Bonus per skill level to the damage of large turrets requiring Large Autocannon Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "800mm Repeating Artillery II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "800mm Repeating Artillery I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/largeBeamLaserSpecialization.py b/eos/tests/typeTests/skills/gunnery/largeBeamLaserSpecialization.py
deleted file mode 100755
index 8246b131e..000000000
--- a/eos/tests/typeTests/skills/gunnery/largeBeamLaserSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Large Beam Laser Specialization"
-
- # 2% Bonus per skill level to the damage of large turrets requiring Large Beam Laser Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Tachyon Beam Laser II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Tachyon Beam Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/largeBlasterSpecialization.py b/eos/tests/typeTests/skills/gunnery/largeBlasterSpecialization.py
deleted file mode 100755
index 08922195f..000000000
--- a/eos/tests/typeTests/skills/gunnery/largeBlasterSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Large Blaster Specialization"
-
- # 2% Bonus per skill level to the damage of large turrets requiring Large Blaster Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Neutron Blaster Cannon II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Neutron Blaster Cannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/largeEnergyTurret.py b/eos/tests/typeTests/skills/gunnery/largeEnergyTurret.py
deleted file mode 100755
index be143a533..000000000
--- a/eos/tests/typeTests/skills/gunnery/largeEnergyTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Large Energy Turret"
-
- # 5% Bonus to large energy turret damage per level.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Heavy Beam Laser I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Quad Light Beam Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/largeHybridTurret.py b/eos/tests/typeTests/skills/gunnery/largeHybridTurret.py
deleted file mode 100755
index 19f883b8b..000000000
--- a/eos/tests/typeTests/skills/gunnery/largeHybridTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Large Hybrid Turret"
-
- # 5% Bonus to large hybrid turret damage per level.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Electron Blaster Cannon I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/largeProjectileTurret.py b/eos/tests/typeTests/skills/gunnery/largeProjectileTurret.py
deleted file mode 100755
index 1d559b72e..000000000
--- a/eos/tests/typeTests/skills/gunnery/largeProjectileTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Large Projectile Turret"
-
- # 5% Bonus to large projectile turret damage per level.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 425mm AutoCannon I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm AutoCannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/largePulseLaserSpecialization.py b/eos/tests/typeTests/skills/gunnery/largePulseLaserSpecialization.py
deleted file mode 100755
index 52016589a..000000000
--- a/eos/tests/typeTests/skills/gunnery/largePulseLaserSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Large Pulse Laser Specialization"
-
- # 2% bonus per skill level to the damage of large turrets requiring Large Pulse Laser Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Mega Pulse Laser II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Mega Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/largeRailgunSpecialization.py b/eos/tests/typeTests/skills/gunnery/largeRailgunSpecialization.py
deleted file mode 100755
index 1cb52f6d6..000000000
--- a/eos/tests/typeTests/skills/gunnery/largeRailgunSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Large Railgun Specialization"
-
- # 2% bonus per skill level to the damage of large turrets requiring Large Railgun Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm Railgun II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/mediumAtrillerySpecialization.py b/eos/tests/typeTests/skills/gunnery/mediumAtrillerySpecialization.py
deleted file mode 100755
index 97bc01f3d..000000000
--- a/eos/tests/typeTests/skills/gunnery/mediumAtrillerySpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Medium Artillery Specialization"
-
- # 2% bonus per skill level to the damage of medium turrets requiring Medium Artillery Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "720mm Howitzer Artillery II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "720mm Howitzer Artillery I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/mediumAutocannonSpecialization.py b/eos/tests/typeTests/skills/gunnery/mediumAutocannonSpecialization.py
deleted file mode 100755
index 7d4eed8d9..000000000
--- a/eos/tests/typeTests/skills/gunnery/mediumAutocannonSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Medium Autocannon Specialization"
-
- # 2% bonus per skill level to the damage of medium turrets requiring Medium Autocannon Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm AutoCannon II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm AutoCannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/mediumBeamLaserSpecialization.py b/eos/tests/typeTests/skills/gunnery/mediumBeamLaserSpecialization.py
deleted file mode 100755
index 9df0903e2..000000000
--- a/eos/tests/typeTests/skills/gunnery/mediumBeamLaserSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Medium Beam Laser Specialization"
-
- # 2% bonus per skill level to the damage of medium turrets requiring Medium Beam Laser Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Beam Laser II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Beam Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/mediumBlasterSpecialization.py b/eos/tests/typeTests/skills/gunnery/mediumBlasterSpecialization.py
deleted file mode 100755
index 99d82c575..000000000
--- a/eos/tests/typeTests/skills/gunnery/mediumBlasterSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Medium Blaster Specialization"
-
- # 2% bonus per skill level to the damage of medium turrets requiring Medium Blaster Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Neutron Blaster II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Neutron Blaster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/mediumEnergyTurret.py b/eos/tests/typeTests/skills/gunnery/mediumEnergyTurret.py
deleted file mode 100755
index fe5897517..000000000
--- a/eos/tests/typeTests/skills/gunnery/mediumEnergyTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Medium Energy Turret"
-
- # 5% Bonus to medium energy turret damage per level.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Gatling Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/mediumHybridTurret.py b/eos/tests/typeTests/skills/gunnery/mediumHybridTurret.py
deleted file mode 100755
index ad0209c78..000000000
--- a/eos/tests/typeTests/skills/gunnery/mediumHybridTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Medium Hybrid Turret"
-
- # 5% Bonus to medium hybrid turret damage per level.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm Railgun II"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "425mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/mediumProjectileTurret.py b/eos/tests/typeTests/skills/gunnery/mediumProjectileTurret.py
deleted file mode 100755
index 1ad80bf6e..000000000
--- a/eos/tests/typeTests/skills/gunnery/mediumProjectileTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Medium Projectile Turret"
-
- # 5% Bonus to medium projectile turret damage per level.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "650mm Artillery Cannon I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm AutoCannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/mediumPulseLaserSpecialization.py b/eos/tests/typeTests/skills/gunnery/mediumPulseLaserSpecialization.py
deleted file mode 100755
index 0eae0358b..000000000
--- a/eos/tests/typeTests/skills/gunnery/mediumPulseLaserSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Medium Pulse Laser Specialization"
-
- # 2% bonus per skill level to the damage of medium turrets requiring Medium Pulse Laser Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/mediumRailgunSpecialization.py b/eos/tests/typeTests/skills/gunnery/mediumRailgunSpecialization.py
deleted file mode 100755
index 2324454e6..000000000
--- a/eos/tests/typeTests/skills/gunnery/mediumRailgunSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Medium Railgun Specialization"
-
- # 2% bonus per skill level to the damage of medium turrets requiring Medium Railgun Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Railgun II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "250mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/motionPrediction.py b/eos/tests/typeTests/skills/gunnery/motionPrediction.py
deleted file mode 100755
index 06c8eae6c..000000000
--- a/eos/tests/typeTests/skills/gunnery/motionPrediction.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Motion Prediction"
-
- # 5% bonus per skill level to weapon turret tracking speeds.
-
- def test_trackingSpeed_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "Dual Heavy Beam Laser I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_trackingSpeed_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "250mm Railgun I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_trackingSpeed_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "trackingSpeed"
- item = "150mm Light AutoCannon I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/rapidFiring.py b/eos/tests/typeTests/skills/gunnery/rapidFiring.py
deleted file mode 100755
index 70a63db25..000000000
--- a/eos/tests/typeTests/skills/gunnery/rapidFiring.py
+++ /dev/null
@@ -1,64 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Rapid Firing"
-
- # 4% bonus per skill level to weapon turret rate of fire.
-
- def test_speed_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "speed"
- item = "Medium Pulse Laser I"
- iLvl = 1
- iIngame = 0.96
- fLvl = 4
- fIngame = 0.84
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Neutron Blaster I"
- iLvl = 1
- iIngame = 0.96
- fLvl = 4
- fIngame = 0.84
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "speed"
- item = "220mm Vulcan AutoCannon I"
- iLvl = 1
- iIngame = 0.96
- fLvl = 4
- fIngame = 0.84
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/sharpshooter.py b/eos/tests/typeTests/skills/gunnery/sharpshooter.py
deleted file mode 100755
index 36b553af4..000000000
--- a/eos/tests/typeTests/skills/gunnery/sharpshooter.py
+++ /dev/null
@@ -1,64 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Sharpshooter"
-
- # 5% bonus to weapon turret optimal range per skill level.
-
- def test_maxRange_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Focused Medium Beam Laser I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Dual 1000mm Railgun I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "425mm AutoCannon I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxRange_moduleOther(self):
- self.buildTested = 0
- attr = "maxRange"
- item = "Miner I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/smallAtrillerySpecialization.py b/eos/tests/typeTests/skills/gunnery/smallAtrillerySpecialization.py
deleted file mode 100755
index 5688489ed..000000000
--- a/eos/tests/typeTests/skills/gunnery/smallAtrillerySpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Small Artillery Specialization"
-
- # 2% bonus per skill level to the damage of small turrets requiring Small Artillery Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "280mm Howitzer Artillery II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "280mm Howitzer Artillery I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/smallAutocannonSpecialization.py b/eos/tests/typeTests/skills/gunnery/smallAutocannonSpecialization.py
deleted file mode 100755
index 997995914..000000000
--- a/eos/tests/typeTests/skills/gunnery/smallAutocannonSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Small Autocannon Specialization"
-
- # 2% bonus per skill level to the damage of small turrets requiring Small Autocannon Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm AutoCannon II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "200mm AutoCannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/smallBeamLaserSpecialization.py b/eos/tests/typeTests/skills/gunnery/smallBeamLaserSpecialization.py
deleted file mode 100755
index 1e9635296..000000000
--- a/eos/tests/typeTests/skills/gunnery/smallBeamLaserSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Small Beam Laser Specialization"
-
- # 2% bonus per skill level to the damage of small turrets requiring Small Beam Laser Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Beam Laser II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Beam Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/smallBlasterSpecialization.py b/eos/tests/typeTests/skills/gunnery/smallBlasterSpecialization.py
deleted file mode 100755
index 3370cb85c..000000000
--- a/eos/tests/typeTests/skills/gunnery/smallBlasterSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Small Blaster Specialization"
-
- # 2% bonus per skill level to the damage of small turrets requiring Small Blaster Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Light Neutron Blaster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/smallEnergyTurret.py b/eos/tests/typeTests/skills/gunnery/smallEnergyTurret.py
deleted file mode 100755
index a1e9f05be..000000000
--- a/eos/tests/typeTests/skills/gunnery/smallEnergyTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Small Energy Turret"
-
- # 5% Bonus to small energy turret damage per level.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual Light Pulse Laser I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heavy Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/smallHybridTurret.py b/eos/tests/typeTests/skills/gunnery/smallHybridTurret.py
deleted file mode 100755
index bc5598317..000000000
--- a/eos/tests/typeTests/skills/gunnery/smallHybridTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Small Hybrid Turret"
-
- # 5% Bonus to small hybrid turret damage per level.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Railgun I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Ion Blaster Cannon I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/smallProjectileTurret.py b/eos/tests/typeTests/skills/gunnery/smallProjectileTurret.py
deleted file mode 100755
index f35e4b359..000000000
--- a/eos/tests/typeTests/skills/gunnery/smallProjectileTurret.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Small Projectile Turret"
-
- # 5% Bonus to small projectile turret damage per level.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "280mm Howitzer Artillery I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "720mm Howitzer Artillery I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/smallPulseLaserSpecialization.py b/eos/tests/typeTests/skills/gunnery/smallPulseLaserSpecialization.py
deleted file mode 100755
index e6745ebad..000000000
--- a/eos/tests/typeTests/skills/gunnery/smallPulseLaserSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Small Pulse Laser Specialization"
-
- # 2% bonus per skill level to the damage of small turrets requiring Small Pulse Laser Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Pulse Laser II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Medium Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/smallRailgunSpecialization.py b/eos/tests/typeTests/skills/gunnery/smallRailgunSpecialization.py
deleted file mode 100755
index 219139d21..000000000
--- a/eos/tests/typeTests/skills/gunnery/smallRailgunSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Small Railgun Specialization"
-
- # 2% bonus per skill level to the damage of small turrets requiring Small Railgun Specialization.
-
- def test_damageMultiplier_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Railgun II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "150mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/surgicalStrike.py b/eos/tests/typeTests/skills/gunnery/surgicalStrike.py
deleted file mode 100755
index ecb705f85..000000000
--- a/eos/tests/typeTests/skills/gunnery/surgicalStrike.py
+++ /dev/null
@@ -1,64 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Surgical Strike"
-
- # 3% bonus per skill level to the damage of all weapon turrets.
-
- def test_damageMultiplier_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Mega Beam Laser I"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Dual 150mm Railgun I"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Quad 3500mm Siege Artillery I"
- iLvl = 1
- iIngame = 1.03
- fLvl = 4
- fIngame = 1.12
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_damageMultiplier_moduleOther(self):
- self.buildTested = 0
- attr = "damageMultiplier"
- item = "Heat Sink I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/tacticalWeaponReconfiguration.py b/eos/tests/typeTests/skills/gunnery/tacticalWeaponReconfiguration.py
deleted file mode 100755
index 4e4d34738..000000000
--- a/eos/tests/typeTests/skills/gunnery/tacticalWeaponReconfiguration.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Tactical Weapon Reconfiguration"
-
- # 25-unit reduction in strontium clathrate consumption amount for siege module activation per skill level.
-
- def test_consumptionQuantity_moduleSiegeModuleSkillrq(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Siege Module I"
- iLvl = 1
- iIngame = 225
- fLvl = 4
- fIngame = 150
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_consumptionQuantity_moduleSiegeModuleNoSkillrq(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Triage Module I"
- iLvl = 1
- iIngame = 500
- fLvl = 4
- fIngame = 500
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_consumptionQuantity_moduleOther(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Jump Portal Generator I"
- iLvl = 1
- iIngame = 500
- fLvl = 4
- fIngame = 500
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/trajectoryAnalysis.py b/eos/tests/typeTests/skills/gunnery/trajectoryAnalysis.py
deleted file mode 100755
index c4f522511..000000000
--- a/eos/tests/typeTests/skills/gunnery/trajectoryAnalysis.py
+++ /dev/null
@@ -1,64 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Trajectory Analysis"
-
- # 5% bonus per skill level to weapon turret accuracy falloff.
-
- def test_falloff_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Heavy Beam Laser I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_falloff_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "falloff"
- item = "75mm Gatling Rail I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_falloff_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "falloff"
- item = "650mm Artillery Cannon I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_falloff_moduleOther(self):
- self.buildTested = 0
- attr = "falloff"
- item = "Cargo Scanner I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/gunnery/weaponUpgrades.py b/eos/tests/typeTests/skills/gunnery/weaponUpgrades.py
deleted file mode 100755
index a5e1c0eaf..000000000
--- a/eos/tests/typeTests/skills/gunnery/weaponUpgrades.py
+++ /dev/null
@@ -1,222 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Weapon Upgrades"
-
- # 5% reduction per skill level in the CPU needs of weapon turrets.
-
- def test_cpu_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Focused Medium Pulse Laser I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "cpu"
- item = "350mm Railgun I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "cpu"
- item = "425mm AutoCannon I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 5% reduction per skill level in the CPU needs of launchers.
-
- def test_cpu_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleMissileLauncherStandardNoSkillrqMissileLauncherOperation(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Civilian Standard Missile Launcher"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Citadel Cruise Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleMissileLauncherBomb(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Bomb Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # 5% reduction per skill level in the CPU needs of smartbombs.
-
- def test_cpu_moduleSmartBomb(self):
- self.buildTested = 0
- attr = "cpu"
- item = "Medium EMP Smartbomb I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_cpu_moduleOther(self):
- self.buildTested = 0
- attr = "cpu"
- item = "100MN Afterburner I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/industry/__init__.py b/eos/tests/typeTests/skills/industry/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/industry/deepCoreMining.py b/eos/tests/typeTests/skills/industry/deepCoreMining.py
deleted file mode 100755
index a549a6435..000000000
--- a/eos/tests/typeTests/skills/industry/deepCoreMining.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Deep Core Mining"
-
- # 20% reduction per skill level in the chance of a damage cloud forming while mining Mercoxit.
-
- def test_damageCloudChance_moduleDeepCoreMiner(self):
- self.buildTested = 0
- attr = "damageCloudChance"
- item = "Deep Core Mining Laser I"
- iLvl = 1
- iIngame = 0.8
- fLvl = 4
- fIngame = 0.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/industry/gasCloudHarvesting.py b/eos/tests/typeTests/skills/industry/gasCloudHarvesting.py
deleted file mode 100755
index 22f7bedb1..000000000
--- a/eos/tests/typeTests/skills/industry/gasCloudHarvesting.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Gas Cloud Harvesting"
-
- # Allows use of one gas cloud harvester per level.
-
- def test_maxGroupActive_moduleGasCloudHarvester(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "Gas Cloud Harvester I"
- iLvl = 1
- iIngame = 1
- fLvl = 4
- fIngame = 4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxGroupActive_moduleOther(self):
- self.buildTested = 0
- attr = "maxGroupActive"
- item = "10MN Afterburner I"
- iLvl = 1
- iIngame = 0
- fLvl = 4
- fIngame = 0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/industry/iceHarvesting.py b/eos/tests/typeTests/skills/industry/iceHarvesting.py
deleted file mode 100755
index 17cf61cb1..000000000
--- a/eos/tests/typeTests/skills/industry/iceHarvesting.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Ice Harvesting"
-
- # 5% reduction per skill level to the cycle time of ice harvesters.
-
- def test_duration_moduleStripMinerSkillrq(self):
- self.buildTested = 0
- attr = "duration"
- item = "Ice Harvester I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleStripMinerNoSkillrq(self):
- self.buildTested = 0
- attr = "duration"
- item = "Strip Miner I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Heavy Capacitor Booster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/industry/industrialReconfiguration.py b/eos/tests/typeTests/skills/industry/industrialReconfiguration.py
deleted file mode 100755
index 450beb8a6..000000000
--- a/eos/tests/typeTests/skills/industry/industrialReconfiguration.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Industrial Reconfiguration"
-
- # 50-unit reduction in heavy water consumption amount for industrial core module activation per skill level.
-
- def test_consumptionQuantity_moduleSiegeModuleSkillrq(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Industrial Core I"
- iLvl = 1
- iIngame = 450
- fLvl = 4
- fIngame = 300
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_consumptionQuantity_moduleSiegeModuleNoSkillrq(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Siege Module I"
- iLvl = 1
- iIngame = 500
- fLvl = 4
- fIngame = 500
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_consumptionQuantity_moduleOther(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Cynosural Field Generator I"
- iLvl = 1
- iIngame = 500
- fLvl = 4
- fIngame = 500
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/industry/mining.py b/eos/tests/typeTests/skills/industry/mining.py
deleted file mode 100755
index f3bb58868..000000000
--- a/eos/tests/typeTests/skills/industry/mining.py
+++ /dev/null
@@ -1,92 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Mining"
-
- # 5% bonus to mining turret yield per skill level.
-
- def test_miningAmount_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_moduleFrequencyMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Modulated Strip Miner II"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_moduleStripMiner(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_moduleStripMinerNoSkillrq(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_droneMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/industry/miningUpgrades.py b/eos/tests/typeTests/skills/industry/miningUpgrades.py
deleted file mode 100755
index d10590a44..000000000
--- a/eos/tests/typeTests/skills/industry/miningUpgrades.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Mining Upgrades"
-
- # 5% reduction per skill level in CPU penalty of mining upgrade modules.
-
- def test_cpuPenaltyPercent_moduleMiningUpgrade(self):
- self.buildTested = 0
- attr = "cpuPenaltyPercent"
- item = "Mining Laser Upgrade I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/__init__.py b/eos/tests/typeTests/skills/leadership/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/leadership/armoredWarfare.py b/eos/tests/typeTests/skills/leadership/armoredWarfare.py
deleted file mode 100755
index 49a0322ec..000000000
--- a/eos/tests/typeTests/skills/leadership/armoredWarfare.py
+++ /dev/null
@@ -1,35 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Armored Warfare"
-
- # Grants a 2% bonus to fleet members' armor hit points per skill level.
-
- def test_armorHP_fleetShip(self):
- self.buildTested = 0
- attr = "armorHP"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), gang=True)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_armorHP_fleetChargeBomb(self):
- self.buildTested = 0
- attr = "armorHP"
- item = "Shrapnel Bomb"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/armoredWarfareSpecialist.py b/eos/tests/typeTests/skills/leadership/armoredWarfareSpecialist.py
deleted file mode 100755
index 340a50d17..000000000
--- a/eos/tests/typeTests/skills/leadership/armoredWarfareSpecialist.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Armored Warfare Specialist"
-
- # Multiplies the effectiveness of armored warfare link modules by 100% per skill level after level 2 is trained.
-
- def test_commandBonus_moduleGangCoordinatorSkillrq(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Armored Warfare Link - Passive Defense I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 4.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonus_moduleGangCoordinatorNoSkillrq(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Mining Foreman Link - Harvester Capacitor Efficiency I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/informationWarfare.py b/eos/tests/typeTests/skills/leadership/informationWarfare.py
deleted file mode 100755
index 5150d65ea..000000000
--- a/eos/tests/typeTests/skills/leadership/informationWarfare.py
+++ /dev/null
@@ -1,35 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Information Warfare"
-
- # Grants a 2% bonus to fleet members' targeting range per skill level.
-
- def test_maxTargetRange_fleetShip(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), gang=True)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxTargetRange_fleetSubsystem(self):
- self.buildTested = 0
- attr = "maxTargetRange"
- item = "Loki Electronics - Emergent Locus Analyzer"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/informationWarfareSpecialist.py b/eos/tests/typeTests/skills/leadership/informationWarfareSpecialist.py
deleted file mode 100755
index b3067715a..000000000
--- a/eos/tests/typeTests/skills/leadership/informationWarfareSpecialist.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Information Warfare Specialist"
-
- # Multiplies the effectiveness of information warfare link modules by 100% per skill level after level 2 is trained.
-
- def test_commandBonus_moduleGangCoordinatorSkillrq(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Information Warfare Link - Sensor Integrity I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 4.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonus_moduleGangCoordinatorNoSkillrq(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Siege Warfare Link - Shield Efficiency I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonusHidden_moduleGangCoordinatorSkillrq(self):
- self.buildTested = 0
- attr = "commandBonusHidden"
- item = "Information Warfare Link - Electronic Superiority I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 4.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/leadership.py b/eos/tests/typeTests/skills/leadership/leadership.py
deleted file mode 100755
index f1dade83e..000000000
--- a/eos/tests/typeTests/skills/leadership/leadership.py
+++ /dev/null
@@ -1,35 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Leadership"
-
- # Grants a 2% bonus to fleet members' targeting speed per skill level.
-
- def test_scanResolution_fleetShip(self):
- self.buildTested = 0
- attr = "scanResolution"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), gang=True)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_scanResolution_fleetSubsystem(self):
- self.buildTested = 0
- attr = "scanResolution"
- item = "Legion Electronics - Energy Parasitic Complex"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/miningDirector.py b/eos/tests/typeTests/skills/leadership/miningDirector.py
deleted file mode 100755
index d996a3f2a..000000000
--- a/eos/tests/typeTests/skills/leadership/miningDirector.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Mining Director"
-
- # 100% bonus to effectiveness of Mining Foreman link modules per level after level 2 is trained.
-
- def test_commandBonus_moduleGangCoordinatorSkillrq(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Mining Foreman Link - Mining Laser Field Enhancement I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 4.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonus_moduleGangCoordinatorNoSkillrq(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Information Warfare Link - Recon Operation I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/miningForeman.py b/eos/tests/typeTests/skills/leadership/miningForeman.py
deleted file mode 100755
index 5bccf1932..000000000
--- a/eos/tests/typeTests/skills/leadership/miningForeman.py
+++ /dev/null
@@ -1,92 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Mining Foreman"
-
- # Grants a 2% bonus to fleet members' mining yield per level.
-
- def test_miningAmount_fleetModuleMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_fleetModuleFrequencyMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Modulated Deep Core Strip Miner II"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_fleetModuleStripMiner(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_fleetModuleStripMinerNoSkillrq(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_fleetModuleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_fleetDroneMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Harvester Mining Drone"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/siegeWarfare.py b/eos/tests/typeTests/skills/leadership/siegeWarfare.py
deleted file mode 100755
index 4d45546a5..000000000
--- a/eos/tests/typeTests/skills/leadership/siegeWarfare.py
+++ /dev/null
@@ -1,35 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Siege Warfare"
-
- # Grants a 2% bonus to fleet members' shield capacity per skill level.
-
- def test_shieldCapacity_fleetShip(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), gang=True)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_shieldCapacity_fleetSubsystem(self):
- self.buildTested = 0
- attr = "shieldCapacity"
- item = "Loki Defensive - Amplification Node"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/siegeWarfareSpecialist.py b/eos/tests/typeTests/skills/leadership/siegeWarfareSpecialist.py
deleted file mode 100755
index e2b9b79f4..000000000
--- a/eos/tests/typeTests/skills/leadership/siegeWarfareSpecialist.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Siege Warfare Specialist"
-
- # Multiplies the effectiveness of siege warfare link modules by 100% per skill level after level 2 is trained.
-
- def test_commandBonus_moduleGangCoordinatorSkillrq(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Siege Warfare Link - Shield Harmonizing I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 4.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonus_moduleGangCoordinatorNoSkillrq(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Armored Warfare Link - Damage Control I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/skirmishWarfare.py b/eos/tests/typeTests/skills/leadership/skirmishWarfare.py
deleted file mode 100755
index d4ca49829..000000000
--- a/eos/tests/typeTests/skills/leadership/skirmishWarfare.py
+++ /dev/null
@@ -1,35 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Skirmish Warfare"
-
- # Grants a 2% bonus to fleet members' agility per skill level.
-
- def test_agility_fleetShip(self):
- self.buildTested = 0
- attr = "agility"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), gang=True)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_agility_fleetSubsystem(self):
- self.buildTested = 0
- attr = "agility"
- item = "Tengu Propulsion - Gravitational Capacitor"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl), gang=True)
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl), gang=True)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/skirmishWarfareSpecialist.py b/eos/tests/typeTests/skills/leadership/skirmishWarfareSpecialist.py
deleted file mode 100755
index 8e62585af..000000000
--- a/eos/tests/typeTests/skills/leadership/skirmishWarfareSpecialist.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Skirmish Warfare Specialist"
-
- # Multiplies the effectiveness of skirmish warfare link modules by 100% per skill level after level 2 is trained.
-
- def test_commandBonus_moduleGangCoordinatorSkillrq(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Skirmish Warfare Link - Interdiction Maneuvers I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 4.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonus_moduleGangCoordinatorNoSkillrq(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Siege Warfare Link - Active Shielding I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/leadership/warfareLinkSpecialist.py b/eos/tests/typeTests/skills/leadership/warfareLinkSpecialist.py
deleted file mode 100755
index 3531aa4cf..000000000
--- a/eos/tests/typeTests/skills/leadership/warfareLinkSpecialist.py
+++ /dev/null
@@ -1,92 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Warfare Link Specialist"
-
- # Boosts effectiveness of all warfare link and mining foreman modules by 10% per level.
-
- def test_commandBonus_moduleGangCoordinatorSkillrqArmored(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Armored Warfare Link - Passive Defense I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonus_moduleGangCoordinatorSkillrqInformation(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Information Warfare Link - Recon Operation I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonus_moduleGangCoordinatorSkillrqMining(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Mining Foreman Link - Laser Optimization I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonus_moduleGangCoordinatorSkillrqSiege(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Siege Warfare Link - Shield Efficiency I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonus_moduleGangCoordinatorSkillrqSkirmish(self):
- self.buildTested = 0
- attr = "commandBonus"
- item = "Skirmish Warfare Link - Evasive Maneuvers I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_commandBonusHidden_moduleGangCoordinatorSkillrqInformation(self):
- self.buildTested = 0
- attr = "commandBonusHidden"
- item = "Information Warfare Link - Electronic Superiority I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/__init__.py b/eos/tests/typeTests/skills/mechanic/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/mechanic/armorRigging.py b/eos/tests/typeTests/skills/mechanic/armorRigging.py
deleted file mode 100755
index 9bfce1618..000000000
--- a/eos/tests/typeTests/skills/mechanic/armorRigging.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Armor Rigging"
-
- # 10% reduction in Armor Rig drawbacks per level.
-
- def test_drawback_moduleRigArmor(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Medium Anti-Thermic Pump I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_drawback_moduleRigOther(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Large Energy Locus Coordinator I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/astronauticsRigging.py b/eos/tests/typeTests/skills/mechanic/astronauticsRigging.py
deleted file mode 100755
index 9d946917d..000000000
--- a/eos/tests/typeTests/skills/mechanic/astronauticsRigging.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Astronautics Rigging"
-
- # 10% reduction in Astronautics Rig drawbacks per level.
-
- def test_drawback_moduleRigAstronautics(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Small Polycarbon Engine Housing I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_drawback_moduleRigOther(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Medium Anti-EM Pump I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/capitalRemoteArmorRepairSystems.py b/eos/tests/typeTests/skills/mechanic/capitalRemoteArmorRepairSystems.py
deleted file mode 100755
index 7d289c55f..000000000
--- a/eos/tests/typeTests/skills/mechanic/capitalRemoteArmorRepairSystems.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Capital Remote Armor Repair Systems"
-
- # 5% reduced capacitor need for capital remote armor repair system modules per skill level.
-
- def test_capacitorNeed_moduleArmorRepairProjectorSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Remote Armor Repair System I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleArmorRepairProjectorNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Medium Remote Armor Repair System I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/capitalRemoteHullRepairSystems.py b/eos/tests/typeTests/skills/mechanic/capitalRemoteHullRepairSystems.py
deleted file mode 100755
index 2c04f7098..000000000
--- a/eos/tests/typeTests/skills/mechanic/capitalRemoteHullRepairSystems.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Capital Remote Hull Repair Systems"
-
- # 5% reduced capacitor need for capital class remote hull repair system modules per skill level.
-
- def test_capacitorNeed_moduleRemoteHullRepairerSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Capital Remote Hull Repair System I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleRemoteHullRepairerNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Large Remote Hull Repair System I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/capitalRepairSystems.py b/eos/tests/typeTests/skills/mechanic/capitalRepairSystems.py
deleted file mode 100755
index d8573b44a..000000000
--- a/eos/tests/typeTests/skills/mechanic/capitalRepairSystems.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Capital Repair Systems"
-
- # 5% reduction in capital repair systems duration per skill level.
-
- def test_duration_moduleArmorRepairerSkillrq(self):
- self.buildTested = 0
- attr = "duration"
- item = "Capital Armor Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleArmorRepairerNoSkillrq(self):
- self.buildTested = 0
- attr = "duration"
- item = "Medium Armor Repairer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/dronesRigging.py b/eos/tests/typeTests/skills/mechanic/dronesRigging.py
deleted file mode 100755
index c3512a64b..000000000
--- a/eos/tests/typeTests/skills/mechanic/dronesRigging.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Drones Rigging"
-
- # 10% reduction in Drone Rig drawbacks per level.
-
- def test_drawback_moduleRigDrones(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Large Stasis Drone Augmentor I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_drawback_moduleRigOther(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Large Hybrid Ambit Extension I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/electronicSuperiorityRigging.py b/eos/tests/typeTests/skills/mechanic/electronicSuperiorityRigging.py
deleted file mode 100755
index 2456e7b2e..000000000
--- a/eos/tests/typeTests/skills/mechanic/electronicSuperiorityRigging.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Electronic Superiority Rigging"
-
- # 10% reduction in Electronic Superiority Rig drawbacks per level.
-
- def test_drawback_moduleRigElectronicSuperiority(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Medium Targeting System Subcontroller I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_drawback_moduleRigOther(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Medium Hybrid Metastasis Adjuster I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/emArmorCompensation.py b/eos/tests/typeTests/skills/mechanic/emArmorCompensation.py
deleted file mode 100755
index 5585aff31..000000000
--- a/eos/tests/typeTests/skills/mechanic/emArmorCompensation.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "EM Armor Compensation"
-
- # To passive armor hardeners: 5% bonus per skill level to Armor EM resistance
-
- def test_emDamageResistanceBonus_moduleArmorCoatingSkillrqHullUpgrades(self):
- self.buildTested = 0
- attr = "emDamageResistanceBonus"
- item = "Reflective Plating I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamageResistanceBonus_moduleArmorCoatingSkillrqMechanic(self):
- self.buildTested = 0
- attr = "emDamageResistanceBonus"
- item = "Basic Reflective Plating"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamageResistanceBonus_moduleArmorPlatinEnergized(self):
- self.buildTested = 0
- attr = "emDamageResistanceBonus"
- item = "Energized Reflective Membrane I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamageResistanceBonus_moduleOtherSkillrqHullUpgrades(self):
- self.buildTested = 0
- attr = "emDamageResistanceBonus"
- item = "Armor EM Hardener I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # To active armor hardeners: 3% bonus per skill level to Armor EM resistance when the modules are not active
-
- def test_passiveEmDamageResistanceBonus_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "passiveEmDamageResistanceBonus"
- item = "Armor EM Hardener I"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveEmDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "passiveEmDamageResistanceBonus"
- item = "Photon Scattering Field I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/energyWeaponRigging.py b/eos/tests/typeTests/skills/mechanic/energyWeaponRigging.py
deleted file mode 100755
index f8bce05d7..000000000
--- a/eos/tests/typeTests/skills/mechanic/energyWeaponRigging.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Energy Weapon Rigging"
-
- # 10% reduction in Energy Weapon Rig drawbacks per level.
-
- def test_drawback_moduleRigEnergyWeapon(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Medium Energy Burst Aerator I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_drawback_moduleRigOther(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Small Salvage Tackle I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/explosiveArmorCompensation.py b/eos/tests/typeTests/skills/mechanic/explosiveArmorCompensation.py
deleted file mode 100755
index cd3efccc6..000000000
--- a/eos/tests/typeTests/skills/mechanic/explosiveArmorCompensation.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Explosive Armor Compensation"
-
- # To passive armor hardeners: 5% bonus per skill level to Armor Explosive resistance
-
- def test_explosiveDamageResistanceBonus_moduleArmorCoatingSkillrqHullUpgrades(self):
- self.buildTested = 0
- attr = "explosiveDamageResistanceBonus"
- item = "Reactive Plating I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamageResistanceBonus_moduleArmorCoatingSkillrqMechanic(self):
- self.buildTested = 0
- attr = "explosiveDamageResistanceBonus"
- item = "Basic Reactive Plating"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamageResistanceBonus_moduleArmorPlatinEnergized(self):
- self.buildTested = 0
- attr = "explosiveDamageResistanceBonus"
- item = "Energized Reactive Membrane I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamageResistanceBonus_moduleOtherSkillrqHullUpgrades(self):
- self.buildTested = 0
- attr = "explosiveDamageResistanceBonus"
- item = "Armor Explosive Hardener I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # To active armor hardeners: 3% bonus per skill level to Armor Explosive resistance when the modules are not active
-
- def test_passiveExplosiveDamageResistanceBonus_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "passiveExplosiveDamageResistanceBonus"
- item = "Armor Explosive Hardener I"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveExplosiveDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "passiveExplosiveDamageResistanceBonus"
- item = "Explosion Dampening Field I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/hullUpgrades.py b/eos/tests/typeTests/skills/mechanic/hullUpgrades.py
deleted file mode 100755
index b957d5072..000000000
--- a/eos/tests/typeTests/skills/mechanic/hullUpgrades.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Hull Upgrades"
-
- # Grants a 5% bonus to armor hit points per skill level.
-
- def test_armorHP_ship(self):
- self.buildTested = 0
- attr = "armorHP"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/hybridWeaponRigging.py b/eos/tests/typeTests/skills/mechanic/hybridWeaponRigging.py
deleted file mode 100755
index 6a70e6bbb..000000000
--- a/eos/tests/typeTests/skills/mechanic/hybridWeaponRigging.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Hybrid Weapon Rigging"
-
- # 10% reduction in Hybrid Weapon Rig drawbacks per level.
-
- def test_drawback_moduleRigHybridWeapon(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Small Algid Hybrid Administrations Unit I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_drawback_moduleRigOther(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Medium Engine Thermal Shielding I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/kineticArmorCompensation.py b/eos/tests/typeTests/skills/mechanic/kineticArmorCompensation.py
deleted file mode 100755
index 51441d100..000000000
--- a/eos/tests/typeTests/skills/mechanic/kineticArmorCompensation.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Kinetic Armor Compensation"
-
- # To passive armor hardeners: 5% bonus per skill level to Armor Kinetic resistance
-
- def test_kineticDamageResistanceBonus_moduleArmorCoatingSkillrqHullUpgrades(self):
- self.buildTested = 0
- attr = "kineticDamageResistanceBonus"
- item = "Magnetic Plating I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamageResistanceBonus_moduleArmorCoatingSkillrqMechanic(self):
- self.buildTested = 0
- attr = "kineticDamageResistanceBonus"
- item = "Basic Magnetic Plating"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamageResistanceBonus_moduleArmorPlatinEnergized(self):
- self.buildTested = 0
- attr = "kineticDamageResistanceBonus"
- item = "Energized Magnetic Membrane I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamageResistanceBonus_moduleOtherSkillrqHullUpgrades(self):
- self.buildTested = 0
- attr = "kineticDamageResistanceBonus"
- item = "Armor Kinetic Hardener I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # To active armor hardeners: 3% bonus per skill level to Armor Kinetic resistance when the modules are not active
-
- def test_passiveKineticDamageResistanceBonus_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "passiveKineticDamageResistanceBonus"
- item = "Armor Kinetic Hardener I"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveKineticDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "passiveKineticDamageResistanceBonus"
- item = "Ballistic Deflection Field I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/launcherRigging.py b/eos/tests/typeTests/skills/mechanic/launcherRigging.py
deleted file mode 100755
index 9d7b6b10f..000000000
--- a/eos/tests/typeTests/skills/mechanic/launcherRigging.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Launcher Rigging"
-
- # 10% reduction in Launcher Rig drawbacks per level.
-
- def test_drawback_moduleRigLauncher(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Small Warhead Rigor Catalyst I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_drawback_moduleRigOther(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Medium Drone Speed Augmentor I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/mechanic.py b/eos/tests/typeTests/skills/mechanic/mechanic.py
deleted file mode 100755
index 9ca6d7cfe..000000000
--- a/eos/tests/typeTests/skills/mechanic/mechanic.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Mechanics"
-
- # 5% bonus to structure hit points per skill level.
-
- def test_hp_ship(self):
- self.buildTested = 0
- attr = "hp"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/projectileWeaponRigging.py b/eos/tests/typeTests/skills/mechanic/projectileWeaponRigging.py
deleted file mode 100755
index 672b3eebf..000000000
--- a/eos/tests/typeTests/skills/mechanic/projectileWeaponRigging.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Projectile Weapon Rigging"
-
- # 10% reduction in Projectile Weapon Rig drawbacks per level.
-
- def test_drawback_moduleRigProjectileWeapon(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Large Projectile Ambit Extension I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_drawback_moduleRigOther(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Medium Core Defence Field Purger I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/remoteArmorRepairSystems.py b/eos/tests/typeTests/skills/mechanic/remoteArmorRepairSystems.py
deleted file mode 100755
index b27074f03..000000000
--- a/eos/tests/typeTests/skills/mechanic/remoteArmorRepairSystems.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Remote Armor Repair Systems"
-
- # 5% reduced capacitor need for remote armor repair system modules per skill level.
-
- def test_capacitorNeed_moduleArmorRepairerSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Large Remote Armor Repair System I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleArmorRepairerNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Remote Armor Repair System"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Gatling Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/remoteHullRepairSystems.py b/eos/tests/typeTests/skills/mechanic/remoteHullRepairSystems.py
deleted file mode 100755
index fe75a1bf8..000000000
--- a/eos/tests/typeTests/skills/mechanic/remoteHullRepairSystems.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Remote Hull Repair Systems"
-
- # 5% reduced capacitor need for remote hull repair system modules per skill level.
-
- def test_capacitorNeed_moduleRemoteHullRepairer(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Large Remote Hull Repair System I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleOther(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Ship Scanner I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/repairSystems.py b/eos/tests/typeTests/skills/mechanic/repairSystems.py
deleted file mode 100755
index 9e3f5ca75..000000000
--- a/eos/tests/typeTests/skills/mechanic/repairSystems.py
+++ /dev/null
@@ -1,78 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Repair Systems"
-
- # 5% reduction in repair systems duration per skill level.
-
- def test_duration_moduleArmorRepairerSkillrq(self):
- self.buildTested = 0
- attr = "duration"
- item = "Medium Armor Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleArmorRepairerNoSkillrqCapital(self):
- self.buildTested = 0
- attr = "duration"
- item = "Capital Armor Repairer I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleArmorRepairerNoSkillrqCivilian(self):
- self.buildTested = 0
- attr = "duration"
- item = "Civilian Armor Repairer"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleHullRepairer(self):
- self.buildTested = 0
- attr = "duration"
- item = "Small Hull Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleOther(self):
- self.buildTested = 0
- attr = "duration"
- item = "Damage Control I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/salvaging.py b/eos/tests/typeTests/skills/mechanic/salvaging.py
deleted file mode 100755
index d12c7276e..000000000
--- a/eos/tests/typeTests/skills/mechanic/salvaging.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Salvaging"
-
- # 5% increase in chance of salvage retrieval per level.
-
- def test_accessDifficultyBonus_moduleDataMinerSkillrq(self):
- self.buildTested = 0
- attr = "accessDifficultyBonus"
- item = "Salvager I"
- iLvl = 1
- iIngame = 5.0
- fLvl = 4
- fIngame = 20.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_accessDifficultyBonus_moduleDataMinerNoSkillrq(self):
- self.buildTested = 0
- attr = "accessDifficultyBonus"
- item = "Analyzer I"
- iLvl = 1
- iIngame = 5.0
- fLvl = 4
- fIngame = 5.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/shieldRigging.py b/eos/tests/typeTests/skills/mechanic/shieldRigging.py
deleted file mode 100755
index 2f06441ff..000000000
--- a/eos/tests/typeTests/skills/mechanic/shieldRigging.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Shield Rigging"
-
- # 10% reduction in Shield Rig drawbacks per level.
-
- def test_drawback_moduleRigShield(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Medium Anti-Kinetic Screen Reinforcer I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_drawback_moduleRigOther(self):
- self.buildTested = 0
- attr = "drawback"
- item = "Small Anti-EM Pump I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/tacticalLogisticsReconfiguration.py b/eos/tests/typeTests/skills/mechanic/tacticalLogisticsReconfiguration.py
deleted file mode 100755
index 234478f7a..000000000
--- a/eos/tests/typeTests/skills/mechanic/tacticalLogisticsReconfiguration.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Tactical Logistics Reconfiguration"
-
- # 25-unit reduction in strontium clathrate consumption amount for triage module activation per skill level.
-
- def test_consumptionQuantity_moduleSiegeModuleSkillrq(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Triage Module I"
- iLvl = 1
- iIngame = 225
- fLvl = 4
- fIngame = 150
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_consumptionQuantity_moduleSiegeModuleNoSkillrq(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Industrial Core I"
- iLvl = 1
- iIngame = 500
- fLvl = 4
- fIngame = 500
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_consumptionQuantity_moduleOther(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Covert Cynosural Field Generator I"
- iLvl = 1
- iIngame = 500
- fLvl = 4
- fIngame = 500
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/mechanic/thermicArmorCompensation.py b/eos/tests/typeTests/skills/mechanic/thermicArmorCompensation.py
deleted file mode 100755
index 0b1edaf0a..000000000
--- a/eos/tests/typeTests/skills/mechanic/thermicArmorCompensation.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Thermic Armor Compensation"
-
- # To passive armor hardeners: 5% bonus per skill level to Armor Thermal resistance
-
- def test_thermalDamageResistanceBonus_moduleArmorCoatingSkillrqHullUpgrades(self):
- self.buildTested = 0
- attr = "thermalDamageResistanceBonus"
- item = "Thermic Plating I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamageResistanceBonus_moduleArmorCoatingSkillrqMechanic(self):
- self.buildTested = 0
- attr = "thermalDamageResistanceBonus"
- item = "Basic Thermic Plating"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamageResistanceBonus_moduleArmorPlatinEnergized(self):
- self.buildTested = 0
- attr = "thermalDamageResistanceBonus"
- item = "Energized Thermic Membrane I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamageResistanceBonus_moduleOtherSkillrqHullUpgrades(self):
- self.buildTested = 0
- attr = "thermalDamageResistanceBonus"
- item = "Armor Thermic Hardener I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- # To active armor hardeners: 3% bonus per skill level to Armor Thermal resistance when the modules are not active
-
- def test_passiveThermicDamageResistanceBonus_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "passiveThermicDamageResistanceBonus"
- item = "Armor Thermic Hardener I"
- iLvl = 1
- iIngame = 3.0
- fLvl = 4
- fIngame = 12.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_passiveThermicDamageResistanceBonus_moduleOther(self):
- self.buildTested = 0
- attr = "passiveThermicDamageResistanceBonus"
- item = "Heat Dissipation Field I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/__init__.py b/eos/tests/typeTests/skills/missileLauncherOperation/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/bombDeployment.py b/eos/tests/typeTests/skills/missileLauncherOperation/bombDeployment.py
deleted file mode 100755
index 326a64410..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/bombDeployment.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Bomb Deployment"
-
- # 5% reduction of Bomb Launcher reactivation delay per skill level.
-
- def test_moduleReactivationDelay_moduleLauncherBomb(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Bomb Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_moduleReactivationDelay_moduleOther(self):
- self.buildTested = 0
- attr = "moduleReactivationDelay"
- item = "Cynosural Field Generator I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/citadelCruiseMissiles.py b/eos/tests/typeTests/skills/missileLauncherOperation/citadelCruiseMissiles.py
deleted file mode 100755
index e4105f273..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/citadelCruiseMissiles.py
+++ /dev/null
@@ -1,120 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Citadel Cruise Missiles"
-
- # 5% bonus to Citadel Cruise Missile damage per skill level.
-
- def test_emDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunar Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Catastrophe Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Sol Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/citadelTorpedoes.py b/eos/tests/typeTests/skills/missileLauncherOperation/citadelTorpedoes.py
deleted file mode 100755
index e785aa4b4..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/citadelTorpedoes.py
+++ /dev/null
@@ -1,120 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Citadel Torpedoes"
-
- # 5% bonus to citadel torpedo damage per skill level.
-
- def test_emDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thor Citadel Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Doom Citadel Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Purgatory Citadel Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Heavy Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/cruiseMissileSpecialization.py b/eos/tests/typeTests/skills/missileLauncherOperation/cruiseMissileSpecialization.py
deleted file mode 100755
index e5b33694c..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/cruiseMissileSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Cruise Missile Specialization"
-
- # 2% bonus per level to the rate of fire of modules requiring Cruise Missile Specialization.
-
- def test_speed_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher II"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/cruiseMissiles.py b/eos/tests/typeTests/skills/missileLauncherOperation/cruiseMissiles.py
deleted file mode 100755
index b8ad31141..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/cruiseMissiles.py
+++ /dev/null
@@ -1,232 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Cruise Missiles"
-
- # 5% bonus to cruise missile damage per skill level.
-
- def test_emDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Precision Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Hunter F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Fury Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Obliterator F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Precision Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Fury Cruise Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Phoenix F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/defenderMissiles.py b/eos/tests/typeTests/skills/missileLauncherOperation/defenderMissiles.py
deleted file mode 100755
index e6dbb3518..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/defenderMissiles.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Defender Missiles"
-
- # 5% bonus to defender missile max velocity per skill level.
-
- def test_maxVelocity_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Defender I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Phalanx Rocket"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/fofMissiles.py b/eos/tests/typeTests/skills/missileLauncherOperation/fofMissiles.py
deleted file mode 100755
index 606de1f03..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/fofMissiles.py
+++ /dev/null
@@ -1,232 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "FoF Missiles"
-
- # 5% bonus to F.O.F (light, heavy and cruise) damage per skill level.
-
- def test_emDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Seeker F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Stalker F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Hunter F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Cruise Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Exterminator F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Eradicator F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Obliterator F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Firefly F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellhound F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Phoenix F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Purgatory Citadel Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/guidedMissilePrecision.py b/eos/tests/typeTests/skills/missileLauncherOperation/guidedMissilePrecision.py
deleted file mode 100755
index af873460d..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/guidedMissilePrecision.py
+++ /dev/null
@@ -1,176 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Guided Missile Precision"
-
- # 5% decreased factor of signature radius for light, heavy and cruise missile explosions per level of skill.
-
- def test_aoeCloudSize_chargeMissileLight(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Flameburst Light Missile"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Civilian Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Piranha Precision Light Missile"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Seeker F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Scourge Heavy Missile"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Thunderbolt Precision Heavy Missile"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Hydra F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Devastator Cruise Missile"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Wrath Fury Cruise Missile"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Hunter F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Rajas Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeCloudSize_chargeOther(self):
- self.buildTested = 0
- attr = "aoeCloudSize"
- item = "Terror Assault Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/heavyAssaultMissileSpecialization.py b/eos/tests/typeTests/skills/missileLauncherOperation/heavyAssaultMissileSpecialization.py
deleted file mode 100755
index 0f4ecb815..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/heavyAssaultMissileSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Heavy Assault Missile Specialization"
-
- # 2% bonus per level to the rate of fire of modules requiring Heavy Assault Missile Specialization.
-
- def test_speed_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher II"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/heavyAssaultMissiles.py b/eos/tests/typeTests/skills/missileLauncherOperation/heavyAssaultMissiles.py
deleted file mode 100755
index 7f0938049..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/heavyAssaultMissiles.py
+++ /dev/null
@@ -1,176 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Heavy Assault Missiles"
-
- # 5% bonus to heavy assault missile damage per skill level.
-
- def test_emDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Rage Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Javelin Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Rage Assault Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Heavy Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/heavyMissileSpecialization.py b/eos/tests/typeTests/skills/missileLauncherOperation/heavyMissileSpecialization.py
deleted file mode 100755
index e5ca246b2..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/heavyMissileSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Heavy Missile Specialization"
-
- # 2% bonus per level to the rate of fire of modules requiring Heavy Missile Specialization.
-
- def test_speed_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher II"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/heavyMissiles.py b/eos/tests/typeTests/skills/missileLauncherOperation/heavyMissiles.py
deleted file mode 100755
index 38147054e..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/heavyMissiles.py
+++ /dev/null
@@ -1,232 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Heavy Missiles"
-
- # 5% bonus to heavy missile damage per skill level.
-
- def test_emDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Heavy Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Precision Heavy Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Stalker F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Cruise Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Heavy Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Fury Heavy Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Eradicator F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Doom Citadel Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Fury Heavy Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Heavy Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Precision Heavy Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellhound F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/missileBombardment.py b/eos/tests/typeTests/skills/missileLauncherOperation/missileBombardment.py
deleted file mode 100755
index dcc81d458..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/missileBombardment.py
+++ /dev/null
@@ -1,288 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Missile Bombardment"
-
- # 10% bonus to all missiles' maximum flight time per level.
-
- def test_explosionDelay_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Foxfire Rocket"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Gremlin Rage Rocket"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileLight(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Civilian Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Sabretooth Fury Light Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Firefly F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Torrent Assault Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Terror Javelin Assault Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Havoc Heavy Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Scourge Fury Heavy Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Hellhound F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Inferno Torpedo"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Mjolnir Javelin Torpedo"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Cataclysm Cruise Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Devastator Precision Cruise Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Hunter F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Rift Citadel Torpedo"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Sol Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Defender I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosionDelay_chargeOther(self):
- self.buildTested = 0
- attr = "explosionDelay"
- item = "Electron Bomb"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/missileLauncherOperation.py b/eos/tests/typeTests/skills/missileLauncherOperation/missileLauncherOperation.py
deleted file mode 100755
index 7c3aacc60..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/missileLauncherOperation.py
+++ /dev/null
@@ -1,148 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Missile Launcher Operation"
-
- # 2% Bonus to missile launcher rate of fire per skill level.
-
- def test_speed_moduleLauncherMissileRocket(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileStandard(self):
- self.buildTested = 0
- attr = "speed"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileStandardNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "speed"
- item = "Civilian Standard Missile Launcher"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileCruise(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileCitadel(self):
- self.buildTested = 0
- attr = "speed"
- item = "Citadel Cruise Launcher I"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Mega Pulse Laser I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/missileProjection.py b/eos/tests/typeTests/skills/missileLauncherOperation/missileProjection.py
deleted file mode 100755
index 7e0856cf5..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/missileProjection.py
+++ /dev/null
@@ -1,288 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Missile Projection"
-
- # 10% bonus to all missiles' maximum velocity per level.
-
- def test_maxVelocity_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Phalanx Rocket"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thorn Javelin Rocket"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Piranha Light Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Civilian Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Flameburst Precision Light Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Exterminator F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Fulmination Assault Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Hellfire Javelin Assault Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Widowmaker Heavy Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Havoc Fury Heavy Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Stalker F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Mjolnir Torpedo"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Juggernaut Javelin Torpedo"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Wrath Cruise Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Devastator Fury Cruise Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Dragon F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thor Citadel Torpedo"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Thunar Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Defender I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_chargeOther(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Lockbreaker Bomb"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/rapidLaunch.py b/eos/tests/typeTests/skills/missileLauncherOperation/rapidLaunch.py
deleted file mode 100755
index 3c9becbdb..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/rapidLaunch.py
+++ /dev/null
@@ -1,148 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Rapid Launch"
-
- # 3% bonus to missile launcher rate of fire per level.
-
- def test_speed_moduleLauncherMissileRocket(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 0.97
- fLvl = 4
- fIngame = 0.88
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileStandard(self):
- self.buildTested = 0
- attr = "speed"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 0.97
- fLvl = 4
- fIngame = 0.88
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileStandardNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "speed"
- item = "Civilian Standard Missile Launcher"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.97
- fLvl = 4
- fIngame = 0.88
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileHeavyAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.97
- fLvl = 4
- fIngame = 0.88
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileHeavy(self):
- self.buildTested = 0
- attr = "speed"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.97
- fLvl = 4
- fIngame = 0.88
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileSiege(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 0.97
- fLvl = 4
- fIngame = 0.88
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileCruise(self):
- self.buildTested = 0
- attr = "speed"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 0.97
- fLvl = 4
- fIngame = 0.88
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleLauncherMissileCitadel(self):
- self.buildTested = 0
- attr = "speed"
- item = "Citadel Torpedo Launcher I"
- iLvl = 1
- iIngame = 0.97
- fLvl = 4
- fIngame = 0.88
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleOther(self):
- self.buildTested = 0
- attr = "speed"
- item = "Dual 150mm Railgun I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/rocketSpecialization.py b/eos/tests/typeTests/skills/missileLauncherOperation/rocketSpecialization.py
deleted file mode 100755
index c9a6943f3..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/rocketSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Rocket Specialization"
-
- # 2% bonus per level to the rate of fire of modules requiring Rocket Specialization.
-
- def test_speed_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher II"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "speed"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/rockets.py b/eos/tests/typeTests/skills/missileLauncherOperation/rockets.py
deleted file mode 100755
index 727f1d3cb..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/rockets.py
+++ /dev/null
@@ -1,176 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Rockets"
-
- # 5% bonus to rocket damage per skill level.
-
- def test_emDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rage Rocket"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rage Rocket"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Javelin Rocket"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Javelin Rocket"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/standardMissileSpecialization.py b/eos/tests/typeTests/skills/missileLauncherOperation/standardMissileSpecialization.py
deleted file mode 100755
index d27dba219..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/standardMissileSpecialization.py
+++ /dev/null
@@ -1,64 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Standard Missile Specialization"
-
- # 2% bonus per level to the rate of fire of modules requiring Standard Missile Specialization.
-
- def test_speed_moduleWithSkillrqStandard(self):
- self.buildTested = 0
- attr = "speed"
- item = "Standard Missile Launcher II"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleNoSkillrqStandard(self):
- self.buildTested = 0
- attr = "speed"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleWithSkillrqAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher II"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleNoSkillrqAssault(self):
- self.buildTested = 0
- attr = "speed"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/standardMissiles.py b/eos/tests/typeTests/skills/missileLauncherOperation/standardMissiles.py
deleted file mode 100755
index 1b506fbae..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/standardMissiles.py
+++ /dev/null
@@ -1,246 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Standard Missiles"
-
- # 5% Bonus to light missile damage per skill level.
-
- def test_emDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Fury Light Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Seeker F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Light Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Precision Light Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Exterminator F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Heavy Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Fury Light Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Light Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Fury Light Missile"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Firefly F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Sol Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/targetNavigationPrediction.py b/eos/tests/typeTests/skills/missileLauncherOperation/targetNavigationPrediction.py
deleted file mode 100755
index c5a0cd6c2..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/targetNavigationPrediction.py
+++ /dev/null
@@ -1,260 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Target Navigation Prediction"
-
- # 10% decrease per level in factor of target's velocity for all missiles.
-
- def test_aoeVelocity_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Gremlin Rocket"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Phalanx Javelin Rocket"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileLight(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Civilian Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Piranha Fury Light Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Seeker F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Hellfire Assault Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Fulmination Rage Assault Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Havoc Heavy Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Scourge Precision Heavy Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Hydra F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Bane Torpedo"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Juggernaut Rage Torpedo"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Paradise Cruise Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Paradise Fury Cruise Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Phoenix F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Purgatory Citadel Torpedo"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_aoeVelocity_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "aoeVelocity"
- item = "Catastrophe Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/torpedoSpecialization.py b/eos/tests/typeTests/skills/missileLauncherOperation/torpedoSpecialization.py
deleted file mode 100755
index a6bdf2585..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/torpedoSpecialization.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Torpedo Specialization"
-
- # 2% bonus per level to the rate of fire of modules requiring Torpedo Specialization.
-
- def test_speed_moduleWithSkillrq(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher II"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speed_moduleNoSkillrq(self):
- self.buildTested = 0
- attr = "speed"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/torpedoes.py b/eos/tests/typeTests/skills/missileLauncherOperation/torpedoes.py
deleted file mode 100755
index 8b7397455..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/torpedoes.py
+++ /dev/null
@@ -1,176 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Torpedoes"
-
- # 5% bonus to torpedo damage per skill level.
-
- def test_emDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Javelin Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Rage Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Catastrophe Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Javelin Torpedo"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Cruise Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/missileLauncherOperation/warheadUpgrades.py b/eos/tests/typeTests/skills/missileLauncherOperation/warheadUpgrades.py
deleted file mode 100755
index 9b1fed991..000000000
--- a/eos/tests/typeTests/skills/missileLauncherOperation/warheadUpgrades.py
+++ /dev/null
@@ -1,1044 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Warhead Upgrades"
-
- # 2% bonus to all missile damage per skill level.
-
- def test_emDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Rocket"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Gremlin Javelin Rocket"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Light Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Sabretooth Fury Light Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Seeker F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Assault Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Torrent Javelin Assault Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Heavy Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunderbolt Fury Heavy Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Stalker F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Mjolnir Javelin Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Paradise Fury Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Hunter F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thor Citadel Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Thunar Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_chargeOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Aurora S"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Rocket"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Phalanx Javelin Rocket"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Light Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Piranha Fury Light Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Exterminator F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Assault Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fulmination Rage Assault Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Heavy Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Havoc Fury Heavy Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Eradicator F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Bane Rage Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Devastator Precision Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Obliterator F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Doom Citadel Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Catastrophe Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeMissileDefender(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Defender I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_chargeOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Fusion S"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rocket"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Thorn Rage Rocket"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Bloodclaw Precision Light Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Serpent F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Assault Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Terror Rage Assault Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Heavy Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Scourge Precision Heavy Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Hydra F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Juggernaut Rage Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Wrath Fury Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Dragon F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rift Citadel Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Rajas Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeMissileLightNoSkillrqMissileOp(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Civilian Bloodclaw Light Missile"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_chargeOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Antimatter Charge L"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileRocket(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Rocket"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileRocketAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Foxfire Javelin Rocket"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileLight(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Light Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileLightAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Flameburst Fury Light Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileLightFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Firefly F.O.F. Light Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileAssault(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Assault Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileAssaultAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellfire Javelin Assault Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileHeavy(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Heavy Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileHeavyAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Widowmaker Precision Heavy Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileHeavyFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Hellhound F.O.F. Heavy Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileTorpedoAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Inferno Rage Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCruiseAdvanced(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Cataclysm Precision Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCruiseFof(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Phoenix F.O.F. Cruise Missile I"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCitadelTorpedo(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Purgatory Citadel Torpedo"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeMissileCitadelCruise(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Sol Citadel Cruise Missile"
- iLvl = 1
- iIngame = 1.02
- fLvl = 4
- fIngame = 1.08
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_chargeOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Scorch Bomb"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/navigation/__init__.py b/eos/tests/typeTests/skills/navigation/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/navigation/accelerationControl.py b/eos/tests/typeTests/skills/navigation/accelerationControl.py
deleted file mode 100755
index 107ae81c7..000000000
--- a/eos/tests/typeTests/skills/navigation/accelerationControl.py
+++ /dev/null
@@ -1,64 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Acceleration Control"
-
- # 5% Bonus to Afterburner and MicroWarpdrive speed boost per skill level.
-
- def test_speedFactor_moduleAfterburnerSkillrqAfterburner(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "1MN Afterburner I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speedFactor_moduleAfterburnerSkillrqHighSpeedManeuvering(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "1MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speedFactor_moduleAfterburnerNoSkillrq(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Civilian Afterburner"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_speedFactor_moduleOther(self):
- self.buildTested = 0
- attr = "speedFactor"
- item = "Stasis Webifier I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/navigation/afterburner.py b/eos/tests/typeTests/skills/navigation/afterburner.py
deleted file mode 100755
index 6842eefd2..000000000
--- a/eos/tests/typeTests/skills/navigation/afterburner.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Afterburner"
-
- # 10% bonus to Afterburner duration per skill level.
-
- def test_duration_moduleAfterburnerSkillrq(self):
- self.buildTested = 0
- attr = "duration"
- item = "1MN Afterburner I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleAfterburnerNoSkillrq(self):
- self.buildTested = 0
- attr = "duration"
- item = "10MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_duration_moduleAfterburnerNoSkillrqCivilian(self):
- self.buildTested = 0
- attr = "duration"
- item = "Civilian Afterburner"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/navigation/evasiveManeuvering.py b/eos/tests/typeTests/skills/navigation/evasiveManeuvering.py
deleted file mode 100755
index 5f75d9267..000000000
--- a/eos/tests/typeTests/skills/navigation/evasiveManeuvering.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Evasive Maneuvering"
-
- # 5% improved ship agility for all ships per skill level.
-
- def test_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/navigation/fuelConservation.py b/eos/tests/typeTests/skills/navigation/fuelConservation.py
deleted file mode 100755
index f96860fc6..000000000
--- a/eos/tests/typeTests/skills/navigation/fuelConservation.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Fuel Conservation"
-
- # 10% reduction in afterburner capacitor needs per skill level.
-
- def test_capacitorNeed_moduleAfterburnerSkillrqAfterburner(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "100MN Afterburner I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleAfterburnerNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "100MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleAfterburnerNoSkillrqCivilian(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "Civilian Afterburner"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/navigation/highSpeedManeuvering.py b/eos/tests/typeTests/skills/navigation/highSpeedManeuvering.py
deleted file mode 100755
index f0a3486d7..000000000
--- a/eos/tests/typeTests/skills/navigation/highSpeedManeuvering.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "High Speed Maneuvering"
-
- # 5% reduction in MicroWarpdrive capacitor usage per skill level.
-
- def test_capacitorNeed_moduleAfterburnerSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "10MN MicroWarpdrive I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_capacitorNeed_moduleAfterburnerNoSkillrq(self):
- self.buildTested = 0
- attr = "capacitorNeed"
- item = "1MN Afterburner I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/navigation/jumpDriveCalibration.py b/eos/tests/typeTests/skills/navigation/jumpDriveCalibration.py
deleted file mode 100755
index 1043deb7b..000000000
--- a/eos/tests/typeTests/skills/navigation/jumpDriveCalibration.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Jump Drive Calibration"
-
- # Each skill level grants a 25% increase in maximum jump range.
-
- def test_jumpDriveRange_ship(self):
- self.buildTested = 0
- attr = "jumpDriveRange"
- ship = "Archon"
- iLvl = 1
- iIngame = 1.25
- fLvl = 4
- fIngame = 2.0
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/navigation/jumpDriveOperation.py b/eos/tests/typeTests/skills/navigation/jumpDriveOperation.py
deleted file mode 100755
index d3259120c..000000000
--- a/eos/tests/typeTests/skills/navigation/jumpDriveOperation.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Jump Drive Operation"
-
- # Each skill level reduces the capacitor need of initiating a jump by 5%.
-
- def test_jumpDriveCapacitorNeed_ship(self):
- self.buildTested = 0
- attr = "jumpDriveCapacitorNeed"
- ship = "Revelation"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/navigation/jumpFuelConservation.py b/eos/tests/typeTests/skills/navigation/jumpFuelConservation.py
deleted file mode 100755
index 5a1277540..000000000
--- a/eos/tests/typeTests/skills/navigation/jumpFuelConservation.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Jump Fuel Conservation"
-
- # 10% reduction in ice consumption amount for jump drive operation per light year per skill level.
-
- def test_jumpDriveConsumptionAmount_ship(self):
- self.buildTested = 0
- attr = "jumpDriveConsumptionAmount"
- ship = "Thanatos"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/navigation/navigation.py b/eos/tests/typeTests/skills/navigation/navigation.py
deleted file mode 100755
index a061fd1de..000000000
--- a/eos/tests/typeTests/skills/navigation/navigation.py
+++ /dev/null
@@ -1,35 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Navigation"
-
- # 5% bonus to sub-warp ship velocity per skill level.
-
- def test_maxVelocity_ship(self):
- self.buildTested = 0
- attr = "maxVelocity"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxVelocity_subsystem(self):
- self.buildTested = 0
- attr = "maxVelocity"
- item = "Proteus Propulsion - Wake Limiter"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/navigation/warpDriveOperation.py b/eos/tests/typeTests/skills/navigation/warpDriveOperation.py
deleted file mode 100755
index 16f285d54..000000000
--- a/eos/tests/typeTests/skills/navigation/warpDriveOperation.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Warp Drive Operation"
-
- # Each skill level reduces the capacitor need of initiating warp by 10%.
-
- def test_warpCapacitorNeed_ship(self):
- self.buildTested = 0
- attr = "warpCapacitorNeed"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/__init__.py b/eos/tests/typeTests/skills/science/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/science/archaeology.py b/eos/tests/typeTests/skills/science/archaeology.py
deleted file mode 100755
index 245e70d79..000000000
--- a/eos/tests/typeTests/skills/science/archaeology.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Archaeology"
-
- # 5% increase in chance of archaeological find per level.
-
- def test_accessDifficultyBonus_moduleDataMinerSkillrq(self):
- self.buildTested = 0
- attr = "accessDifficultyBonus"
- item = "Analyzer I"
- iLvl = 1
- iIngame = 5.0
- fLvl = 4
- fIngame = 20.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_accessDifficultyBonus_moduleDataMinerNoSkillrq(self):
- self.buildTested = 0
- attr = "accessDifficultyBonus"
- item = "Codebreaker I"
- iLvl = 1
- iIngame = 5.0
- fLvl = 4
- fIngame = 5.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/astrogeology.py b/eos/tests/typeTests/skills/science/astrogeology.py
deleted file mode 100755
index d545499a5..000000000
--- a/eos/tests/typeTests/skills/science/astrogeology.py
+++ /dev/null
@@ -1,92 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Astrogeology"
-
- # 5% bonus to mining turret yield per skill level.
-
- def test_miningAmount_moduleMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Modulated Deep Core Miner II"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_moduleFrequencyMiningLaser(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Miner I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_moduleStripMiner(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Strip Miner I"
- iLvl = 1
- iIngame = 1.05
- fLvl = 4
- fIngame = 1.2
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_moduleStripMinerNoSkillrq(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Ice Harvester I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_moduleOther(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Gas Cloud Harvester I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_miningAmount_droneMining(self):
- self.buildTested = 0
- attr = "miningAmount"
- item = "Mining Drone I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/astrometricPinpointing.py b/eos/tests/typeTests/skills/science/astrometricPinpointing.py
deleted file mode 100755
index 9e089592f..000000000
--- a/eos/tests/typeTests/skills/science/astrometricPinpointing.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Astrometric Pinpointing"
-
- # Reduces maximum scan deviation by 10% per level.
-
- def test_baseMaxScanDeviation_chargeScanProbe(self):
- self.buildTested = 0
- attr = "baseMaxScanDeviation"
- item = "Core Scanner Probe I"
- iLvl = 1
- iIngame = 0.9
- fLvl = 4
- fIngame = 0.6
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/astrometricRangefinding.py b/eos/tests/typeTests/skills/science/astrometricRangefinding.py
deleted file mode 100755
index 282c7462d..000000000
--- a/eos/tests/typeTests/skills/science/astrometricRangefinding.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Astrometric Rangefinding"
-
- # 10% increase to scan probe strength per level.
-
- def test_baseSensorStrength_chargeScanProbe(self):
- self.buildTested = 0
- attr = "baseSensorStrength"
- item = "Combat Scanner Probe I"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/biology.py b/eos/tests/typeTests/skills/science/biology.py
deleted file mode 100755
index c432a2fc1..000000000
--- a/eos/tests/typeTests/skills/science/biology.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Biology"
-
- # 20% Bonus to attribute booster duration per skill level.
-
- def test_boosterDuration_booster(self):
- self.buildTested = 0
- attr = "boosterDuration"
- item = "Synth Crash Booster"
- iLvl = 1
- iIngame = 1.2
- fLvl = 4
- fIngame = 1.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/cloningFacilityOperation.py b/eos/tests/typeTests/skills/science/cloningFacilityOperation.py
deleted file mode 100755
index e9d2df8ef..000000000
--- a/eos/tests/typeTests/skills/science/cloningFacilityOperation.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Cloning Facility Operation"
-
- # Increases a Clone Vat Bay's maximum clone capacity by 15% per skill level.
-
- def test_maxJumpClones_shipTitan(self):
- self.buildTested = 0
- attr = "maxJumpClones"
- ship = "Erebus"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_maxJumpClones_shipCapitalIndustrial(self):
- self.buildTested = 0
- attr = "maxJumpClones"
- ship = "Rorqual"
- iLvl = 1
- iIngame = 1.15
- fLvl = 4
- fIngame = 1.6
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/doomsdayOperation.py b/eos/tests/typeTests/skills/science/doomsdayOperation.py
deleted file mode 100755
index 75d8a9f20..000000000
--- a/eos/tests/typeTests/skills/science/doomsdayOperation.py
+++ /dev/null
@@ -1,120 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Doomsday Operation"
-
- # 10% increased damage per level.
-
- def test_emDamage_moduleSuperWeapon(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Judgement"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_emDamage_moduleOther(self):
- self.buildTested = 0
- attr = "emDamage"
- item = "Medium EMP Smartbomb I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_moduleSuperWeapon(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Gjallarhorn"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_explosiveDamage_moduleOther(self):
- self.buildTested = 0
- attr = "explosiveDamage"
- item = "Medium Proton Smartbomb I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_moduleSuperWeapon(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Oblivion"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_kineticDamage_moduleOther(self):
- self.buildTested = 0
- attr = "kineticDamage"
- item = "Medium Graviton Smartbomb I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_moduleSuperWeapon(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Aurora Ominae"
- iLvl = 1
- iIngame = 1.1
- fLvl = 4
- fIngame = 1.4
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_thermalDamage_moduleOther(self):
- self.buildTested = 0
- attr = "thermalDamage"
- item = "Medium Plasma Smartbomb I"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/hacking.py b/eos/tests/typeTests/skills/science/hacking.py
deleted file mode 100755
index a65613c76..000000000
--- a/eos/tests/typeTests/skills/science/hacking.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Hacking"
-
- # 5% increase in chance of data retrieval per level.
-
- def test_accessDifficultyBonus_moduleDataMinerSkillrq(self):
- self.buildTested = 0
- attr = "accessDifficultyBonus"
- item = "Codebreaker I"
- iLvl = 1
- iIngame = 5.0
- fLvl = 4
- fIngame = 20.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_accessDifficultyBonus_moduleDataMinerNoSkillrq(self):
- self.buildTested = 0
- attr = "accessDifficultyBonus"
- item = "Salvager I"
- iLvl = 1
- iIngame = 5.0
- fLvl = 4
- fIngame = 5.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame - iIngame
- dEos = fEos - iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/jumpPortalGeneration.py b/eos/tests/typeTests/skills/science/jumpPortalGeneration.py
deleted file mode 100755
index 502d1361c..000000000
--- a/eos/tests/typeTests/skills/science/jumpPortalGeneration.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Jump Portal Generation"
-
- # 10% reduced material cost for jump portal activation per level.
-
- def test_consumptionQuantity_moduleJumpPortalGenerator(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Jump Portal Generator I"
- iLvl = 1
- iIngame = 450.0
- fLvl = 4
- fIngame = 300.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_consumptionQuantity_moduleOther(self):
- self.buildTested = 0
- attr = "consumptionQuantity"
- item = "Cynosural Field Generator I"
- iLvl = 1
- iIngame = 500.0
- fLvl = 4
- fIngame = 500.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/naniteControl.py b/eos/tests/typeTests/skills/science/naniteControl.py
deleted file mode 100755
index 6b107482e..000000000
--- a/eos/tests/typeTests/skills/science/naniteControl.py
+++ /dev/null
@@ -1,205 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Nanite Control"
-
- # No ingame description.
- # Reduces severity of booster side-effects by 5% per level.
-
- def test_boosterAOEVelocityPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterAOEVelocityPenalty"
- item = "Standard Blue Pill Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterArmorHPPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterArmorHPPenalty"
- item = "Standard Exile Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterArmorRepairAmountPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterArmorRepairAmountPenalty"
- item = "Improved Sooth Sayer Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterCapacitorCapacityPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterCapacitorCapacityPenalty"
- item = "Strong Blue Pill Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterMaxVelocityPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterMaxVelocityPenalty"
- item = "Improved Sooth Sayer Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterMissileAOECloudPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterMissileAOECloudPenalty"
- item = "Standard Mindflood Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterMissileVelocityPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterMissileVelocityPenalty"
- item = "Strong Crash Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterShieldBoostAmountPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterShieldBoostAmountPenalty"
- item = "Standard Frentix Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterShieldCapacityPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterShieldCapacityPenalty"
- item = "Improved Drop Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterTurretFalloffPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterTurretFalloffPenalty"
- item = "Standard X-Instinct Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterTurretOptimalRange_booster(self):
- self.buildTested = 0
- attr = "boosterTurretOptimalRange"
- item = "Improved Sooth Sayer Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterTurretTrackingPenalty_booster(self):
- self.buildTested = 0
- attr = "boosterTurretTrackingPenalty"
- item = "Improved Frentix Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_shieldBoostMultiplier_boosterPenalty(self):
- self.buildTested = 0
- attr = "shieldBoostMultiplier"
- item = "Improved Mindflood Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_shieldBoostMultiplier_boosterBonus(self):
- self.buildTested = 0
- attr = "shieldBoostMultiplier"
- item = "Strong Blue Pill Booster"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/neurotoxinRecovery.py b/eos/tests/typeTests/skills/science/neurotoxinRecovery.py
deleted file mode 100755
index c2ad0b8c8..000000000
--- a/eos/tests/typeTests/skills/science/neurotoxinRecovery.py
+++ /dev/null
@@ -1,79 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Neurotoxin Recovery"
-
- # No ingame description.
- # Reduces chance of getting booster side-effects by 5% per level.
-
- def test_boosterEffectChance1_booster(self):
- self.buildTested = 0
- attr = "boosterEffectChance1"
- item = "Standard Blue Pill Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterEffectChance2_booster(self):
- self.buildTested = 0
- attr = "boosterEffectChance2"
- item = "Improved Frentix Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterEffectChance3_booster(self):
- self.buildTested = 0
- attr = "boosterEffectChance3"
- item = "Strong Exile Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterEffectChance4_booster(self):
- self.buildTested = 0
- attr = "boosterEffectChance4"
- item = "Standard Mindflood Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_boosterEffectChance5_booster(self):
- self.buildTested = 0
- attr = "boosterEffectChance5"
- item = "Improved Drop Booster"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/science/thermodynamics.py b/eos/tests/typeTests/skills/science/thermodynamics.py
deleted file mode 100755
index 2726d2af5..000000000
--- a/eos/tests/typeTests/skills/science/thermodynamics.py
+++ /dev/null
@@ -1,386 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Thermodynamics"
-
- # Reduces heat damage by 5% per level.
-
- def test_heatDamage_moduleAfterburner(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "100MN Afterburner I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleArmorHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Armor EM Hardener I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleArmorRepairProjector(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Remote Armor Repair System I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleArmorRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Civilian Armor Repairer"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleCapacitorBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Capacitor Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleECCM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECCM - Ladar I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleECM(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "ECM - Multispectral Jammer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleEnergyDestabilizer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Energy Neutralizer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleEnergyTransferArray(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Large Energy Transfer Array I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleEnergyVampire(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Nosferatu I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleEnergyWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Pulse Laser I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleHullRepairer(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Hull Repairer I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleHybridWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual 250mm Railgun II"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleMissileLauncherAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleMissileLauncherCitadel(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Citadel Torpedo Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleMissileLauncherCruise(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Cruise Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleMissileLauncherHeavy(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleMissileLauncherHeavyAssault(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Heavy Assault Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleMissileLauncherRocket(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Rocket Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleMissileLauncherSiege(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Siege Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleMissileLauncherStandard(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Standard Missile Launcher I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleProjectileWeapon(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Dual 425mm AutoCannon I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleShieldBooster(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Small Shield Booster I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleShieldHardener(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Photon Scattering Field I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleShieldTransporter(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Medium Shield Transporter I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleStasisWeb(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Stasis Webifier I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_heatDamage_moduleWarpScrambler(self):
- self.buildTested = 0
- attr = "heatDamage"
- item = "Warp Disruptor I"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getItemAttr(attr, item, skill=(self.skill, iLvl))
- fEos = self.getItemAttr(attr, item, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/spaceshipCommand/__init__.py b/eos/tests/typeTests/skills/spaceshipCommand/__init__.py
deleted file mode 100755
index e69de29bb..000000000
diff --git a/eos/tests/typeTests/skills/spaceshipCommand/advancedSpaceshipCommand.py b/eos/tests/typeTests/skills/spaceshipCommand/advancedSpaceshipCommand.py
deleted file mode 100755
index f6bc88eac..000000000
--- a/eos/tests/typeTests/skills/spaceshipCommand/advancedSpaceshipCommand.py
+++ /dev/null
@@ -1,6 +0,0 @@
-"""
-All bonuses are applied through shipAdvancedSpaceshipCommandAgilityBonus effect,
-which is assigned to certain ships, not skill, so skill's effect is actually not used
-and range of affected ships broader than just t1 freighters (they're only with direct
-skill requirement). All tests are loccated in specific ship test suites.
-"""
diff --git a/eos/tests/typeTests/skills/spaceshipCommand/capitalShips.py b/eos/tests/typeTests/skills/spaceshipCommand/capitalShips.py
deleted file mode 100755
index 8c16a7467..000000000
--- a/eos/tests/typeTests/skills/spaceshipCommand/capitalShips.py
+++ /dev/null
@@ -1,92 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Capital Ships"
-
- # Grants a 5% bonus per skill level to the agility of ships requiring the Capital Ships skill.
-
- def test_agility_shipCarrierSkillrq(self):
- self.buildTested = 0
- attr = "agility"
- ship = "Archon"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_agility_shipDreadnoughtSkillrq(self):
- self.buildTested = 0
- attr = "agility"
- ship = "Phoenix"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_agility_shipSupercarrierSkillrq(self):
- self.buildTested = 0
- attr = "agility"
- ship = "Aeon"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_agility_shipTitanSkillrq(self):
- self.buildTested = 0
- attr = "agility"
- ship = "Leviathan"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_agility_shipCapitalIndustrialSkillrq(self):
- self.buildTested = 0
- attr = "agility"
- ship = "Rorqual"
- iLvl = 1
- iIngame = 0.95
- fLvl = 4
- fIngame = 0.8
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
-
- def test_agility_shipNoSkillrq(self):
- self.buildTested = 0
- attr = "agility"
- ship = "Obelisk"
- iLvl = 1
- iIngame = 1.0
- fLvl = 4
- fIngame = 1.0
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl), ship=ship)
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl), ship=ship)
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)
diff --git a/eos/tests/typeTests/skills/spaceshipCommand/spaceshipCommand.py b/eos/tests/typeTests/skills/spaceshipCommand/spaceshipCommand.py
deleted file mode 100755
index 8dedd2612..000000000
--- a/eos/tests/typeTests/skills/spaceshipCommand/spaceshipCommand.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from eos.tests import TestBase
-
-class Test(TestBase):
- def setUp(self):
- TestBase.setUp(self)
- self.skill = "Spaceship Command"
-
- # 2% improved ship agility for all ships per skill level.
-
- def test_agility_ship(self):
- self.buildTested = 0
- attr = "agility"
- iLvl = 1
- iIngame = 0.98
- fLvl = 4
- fIngame = 0.92
- iEos = self.getShipAttr(attr, skill=(self.skill, iLvl))
- fEos = self.getShipAttr(attr, skill=(self.skill, fLvl))
- dIngame = fIngame / iIngame
- dEos = fEos / iEos
- self.assertAlmostEquals(dEos, dIngame)