some class

This commit is contained in:
sidya82
2014-12-05 15:54:04 +01:00
parent d71d4f3309
commit 21e97f5362
18 changed files with 147 additions and 13 deletions

20
src/v/Borne.py Normal file
View File

@@ -0,0 +1,20 @@
__author__ = 'sidya'
class Borne:
def __init__(self):
pass
def delivrerTicket(self, client):
pass
def proposerService(self):
pass
def proposerAbonnement(self):
pass
def recupererInfosCarte(self):
pass
def proposerTypePaiement(self):
pass

7
src/v/Camera.py Normal file
View File

@@ -0,0 +1,7 @@
__author__ = 'sidya'
class Camera:
def __init__(self):
pass

8
src/v/Panneau.py Normal file
View File

@@ -0,0 +1,8 @@
__author__ = 'sidya'
class Panneau:
def __init__(self):
pass
def afficherNbPlaceDisponible(self, parking):
pass

1
src/v/test/TestBorne.py Normal file
View File

@@ -0,0 +1 @@
__author__ = 'sidya'

14
src/v/test/TestCamera.py Normal file
View File

@@ -0,0 +1,14 @@
from src.m.camera import Camera
__author__ = 'sidya'
from nose.tools import assert_equal
from nose.tools import assert_not_equal
from nose.tools import assert_raises
from nose.tools import raises
class testCamera:
def test_TailleMax(self):
c = Camera()
assert_equal(c.capturerHauteur()<2.5)

View File

@@ -0,0 +1,4 @@
__author__ = 'sidya'
class TestPanneau:
pass

1
src/v/test/__init__.py Normal file
View File

@@ -0,0 +1 @@
__author__ = 'sidya'