Skip to content

Commit

Permalink
Carpeta con rutinas de prueba agregadas
Browse files Browse the repository at this point in the history
  • Loading branch information
agusmgarcia committed Jun 9, 2018
1 parent 5860694 commit dacd626
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
56 changes: 56 additions & 0 deletions resources/routine1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"name" : "rutina inicial",
"playerCount" : 1,
"numberOfNodes": 1,
"totalTimeOut": 0,
"steps": [
{
"expression": "0",
"timeOut": 0,
"stopOnTimeout": false,
"nodesConfigurations": [
{
"id": 0,
"delay": 500,
"color": {
"red": 15,
"green": 0,
"blue": 0
}
}
]
},
{
"expression": "0",
"timeOut": 2000,
"stopOnTimeout": false,
"nodesConfigurations": [
{
"id": 0,
"delay": 500,
"color": {
"red": 15,
"green": 15,
"blue": 0
}
}
]
},
{
"expression": "0",
"timeOut": 2000,
"stopOnTimeout": false,
"nodesConfigurations": [
{
"id": 0,
"delay": 500,
"color": {
"red": 15,
"green": 0,
"blue": 0
}
}
]
}
]
}
2 changes: 1 addition & 1 deletion src/test/TerminalTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public final class TerminalTest {
// }
// routine = new Routine(2, 2, 0, steps, "Prueba");
try {
routine = RoutineManager.loadRoutine("/Users/agus/eclipse-workspace/desktop/resources/routine1.json");
routine = RoutineManager.loadRoutine("resources/routine1.json");
RoutineManager.validateRoutine(routine);
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
Expand Down

0 comments on commit dacd626

Please sign in to comment.