Skip to content

Commit

Permalink
test: commit examples for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Net-Mist committed Jan 11, 2024
1 parent 117d7c7 commit 19b4488
Show file tree
Hide file tree
Showing 11 changed files with 86 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
target
old
*.db
*.json
.cargo
3 changes: 3 additions & 0 deletions examples/example1/answer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"odds": 0.0
}
17 changes: 17 additions & 0 deletions examples/example1/empire.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"countdown": 7,
"bounty_hunters": [
{
"planet": "Hoth",
"day": 6
},
{
"planet": "Hoth",
"day": 7
},
{
"planet": "Hoth",
"day": 8
}
]
}
3 changes: 3 additions & 0 deletions examples/example2/answer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"odds": 0.81
}
17 changes: 17 additions & 0 deletions examples/example2/empire.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"countdown": 8,
"bounty_hunters": [
{
"planet": "Hoth",
"day": 6
},
{
"planet": "Hoth",
"day": 7
},
{
"planet": "Hoth",
"day": 8
}
]
}
3 changes: 3 additions & 0 deletions examples/example3/answer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"odds": 0.9
}
17 changes: 17 additions & 0 deletions examples/example3/empire.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"countdown": 9,
"bounty_hunters": [
{
"planet": "Hoth",
"day": 6
},
{
"planet": "Hoth",
"day": 7
},
{
"planet": "Hoth",
"day": 8
}
]
}
3 changes: 3 additions & 0 deletions examples/example4/answer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"odds": 1.0
}
17 changes: 17 additions & 0 deletions examples/example4/empire.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"countdown": 10,
"bounty_hunters": [
{
"planet": "Hoth",
"day": 6
},
{
"planet": "Hoth",
"day": 7
},
{
"planet": "Hoth",
"day": 8
}
]
}
6 changes: 6 additions & 0 deletions examples/millennium-falcon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"autonomy": 6,
"departure": "Tatooine",
"arrival": "Endor",
"routes_db": "universe.db"
}
Binary file added examples/universe.db
Binary file not shown.

0 comments on commit 19b4488

Please sign in to comment.