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

    def test_engine_can_start(self):
        self.assertEqual("Vrrrmmm!", self.engine.start())
예제 #5
0
파일: main.py 프로젝트: Arnaud290/OC_P2
"""Program launch module"""
from classes.engine import Engine

if __name__ == "__main__":
    Engine()
예제 #6
0
파일: main.py 프로젝트: kevinniel/monopoly
# coding: utf-8

from classes.engine import Engine

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

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

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