Romain Ame
/
Timer71pt
Fork de Timer après le match à 61 points
Fork of Timer by
tests.cpp@84:b54822c913b0, 2016-05-06 (annotated)
- Committer:
- IceTeam
- Date:
- Fri May 06 07:43:02 2016 +0000
- Revision:
- 84:b54822c913b0
- Parent:
- 81:e7b03e81b025
Plateforme test Ok ! Choix des couleurs Ok ! et testey
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
IceTeam | 81:e7b03e81b025 | 1 | #include "entete.h" |
IceTeam | 81:e7b03e81b025 | 2 | |
IceTeam | 81:e7b03e81b025 | 3 | void wait_start() { |
IceTeam | 84:b54822c913b0 | 4 | while (CAMP != 0) ; |
IceTeam | 81:e7b03e81b025 | 5 | } |
IceTeam | 81:e7b03e81b025 | 6 | |
IceTeam | 81:e7b03e81b025 | 7 | void TestDist3(float start, float pas) { |
IceTeam | 81:e7b03e81b025 | 8 | GotoDist(start); |
IceTeam | 81:e7b03e81b025 | 9 | wait_start(); |
IceTeam | 81:e7b03e81b025 | 10 | GotoDist(start + pas); |
IceTeam | 81:e7b03e81b025 | 11 | wait_start(); |
IceTeam | 81:e7b03e81b025 | 12 | GotoDist(start + 2 * pas); |
IceTeam | 81:e7b03e81b025 | 13 | } |
IceTeam | 81:e7b03e81b025 | 14 | |
IceTeam | 81:e7b03e81b025 | 15 | void TestThet3(float start, float pas) { |
IceTeam | 81:e7b03e81b025 | 16 | GotoThet(start, GAUCHE); |
IceTeam | 81:e7b03e81b025 | 17 | wait_start(); |
IceTeam | 81:e7b03e81b025 | 18 | GotoThet(start + pas, GAUCHE); |
IceTeam | 81:e7b03e81b025 | 19 | wait_start(); |
IceTeam | 81:e7b03e81b025 | 20 | GotoThet(start + 2 * pas, GAUCHE); |
IceTeam | 81:e7b03e81b025 | 21 | } |
IceTeam | 81:e7b03e81b025 | 22 | |
IceTeam | 81:e7b03e81b025 | 23 | void compareThet(float start) { |
IceTeam | 81:e7b03e81b025 | 24 | GotoThet(start, DROITE); |
IceTeam | 81:e7b03e81b025 | 25 | wait_start(); |
IceTeam | 81:e7b03e81b025 | 26 | GotoThet(start, GAUCHE); |
IceTeam | 81:e7b03e81b025 | 27 | } |