delete 'mines_models/tests.py'
This commit is contained in:
parent
1ccb1277fc
commit
11cd98fbbc
@ -1,21 +0,0 @@
|
|||||||
import time_mine as tm
|
|
||||||
import chained_mine as cm
|
|
||||||
import standard_mine as sm
|
|
||||||
|
|
||||||
mine1 = tm.TimeMine((1, 2), "time", 3)
|
|
||||||
mine2 = cm.ChainedMine((3, 4))
|
|
||||||
mine3 = cm.ChainedMine((0, 6), "chained", mine2)
|
|
||||||
mine4 = sm.StandardMine((1, 2), "standard")
|
|
||||||
|
|
||||||
mines = [mine1, mine2, mine3, mine4]
|
|
||||||
|
|
||||||
for mine in mines:
|
|
||||||
print(mine.position)
|
|
||||||
print(mine.active)
|
|
||||||
|
|
||||||
print(mine2.predecessor)
|
|
||||||
print(mine3.predecessor)
|
|
||||||
|
|
||||||
mine4.disarm()
|
|
||||||
|
|
||||||
mine5 = cm.ChainedMine()
|
|
Loading…
Reference in New Issue
Block a user