Example #1
0
 def setUp(self):
     self.engine = Engine()
Example #2
0
def main():
    """Call the engine to run the software."""
    engine = Engine()
    engine.launch()
Example #3
0
 def setUp(self):
     self.engine = Engine()
     self.motorbike = Motorbike("Yamaha", "FZR1000", self.engine)
Example #4
0
class TestEngine(unittest.TestCase):
    def setUp(self):
        self.engine = Engine()

    def test_engine_can_start(self):
        self.assertEqual("Vrrrmmm!", self.engine.start())
Example #5
0
"""Program launch module"""
from classes.engine import Engine

if __name__ == "__main__":
    Engine()
Example #6
0
# coding: utf-8

from classes.engine import Engine

e = Engine()
Example #7
0
from classes.engine import Engine

if __name__ == "__main__":
    # Boucle du jeu
    engine = Engine()
    engine.run()
Example #8
0
from classes.engine import Engine
from datas.words import WORDS

e = Engine(WORDS)
Example #9
0
 def setUp(self):
     self.engine = Engine()
     self.gearbox = Gearbox("manual", 5)
     self.car = Car("Ford", "Escort", self.engine, self.gearbox)