Skip to content

Commit

Permalink
Use snapshots testing
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-boudry committed May 5, 2024
1 parent ef8e8e1 commit dfef268
Show file tree
Hide file tree
Showing 10 changed files with 638 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"tally": [
[
{
"from": "B",
"to": "D",
"win": 33,
"minority": 12,
"margin": 21
}
],
[
{
"from": "E",
"to": "D",
"win": 31,
"minority": 14,
"margin": 17
}
],
[
{
"from": "A",
"to": "D",
"win": 30,
"minority": 15,
"margin": 15
}
],
[
{
"from": "C",
"to": "B",
"win": 29,
"minority": 16,
"margin": 13
}
],
[
{
"from": "D",
"to": "C",
"win": 28,
"minority": 17,
"margin": 11
}
],
[
{
"from": "E",
"to": "B",
"win": 27,
"minority": 18,
"margin": 9
}
],
[
{
"from": "A",
"to": "C",
"win": 26,
"minority": 19,
"margin": 7
}
],
[
{
"from": "B",
"to": "A",
"win": 25,
"minority": 20,
"margin": 5
}
],
[
{
"from": "C",
"to": "E",
"win": 24,
"minority": 21,
"margin": 3
}
],
[
{
"from": "E",
"to": "A",
"win": 23,
"minority": 22,
"margin": 1
}
]
],
"arcs": [
{
"from": "B",
"to": "D"
},
{
"from": "E",
"to": "D"
},
{
"from": "A",
"to": "D"
},
{
"from": "C",
"to": "B"
},
{
"from": "E",
"to": "B"
},
{
"from": "A",
"to": "C"
},
{
"from": "C",
"to": "E"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"tally": [
[
{
"from": "B",
"to": "D",
"win": 33,
"minority": 12,
"margin": 21
}
],
[
{
"from": "E",
"to": "D",
"win": 31,
"minority": 14,
"margin": 17
}
],
[
{
"from": "A",
"to": "D",
"win": 30,
"minority": 15,
"margin": 15
}
],
[
{
"from": "C",
"to": "B",
"win": 29,
"minority": 16,
"margin": 13
}
],
[
{
"from": "D",
"to": "C",
"win": 28,
"minority": 17,
"margin": 11
}
],
[
{
"from": "E",
"to": "B",
"win": 27,
"minority": 18,
"margin": 9
}
],
[
{
"from": "A",
"to": "C",
"win": 26,
"minority": 19,
"margin": 7
}
],
[
{
"from": "B",
"to": "A",
"win": 25,
"minority": 20,
"margin": 5
}
],
[
{
"from": "C",
"to": "E",
"win": 24,
"minority": 21,
"margin": 3
}
],
[
{
"from": "E",
"to": "A",
"win": 23,
"minority": 22,
"margin": 1
}
]
],
"arcs": [
{
"from": "B",
"to": "D"
},
{
"from": "E",
"to": "D"
},
{
"from": "A",
"to": "D"
},
{
"from": "C",
"to": "B"
},
{
"from": "E",
"to": "B"
},
{
"from": "A",
"to": "C"
},
{
"from": "C",
"to": "E"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"tally": [
[
{
"from": "Chattanooga",
"to": "Knoxville",
"win": 83,
"minority": 17,
"margin": 66
}
],
[
{
"from": "Nashville",
"to": "Knoxville",
"win": 68,
"minority": 32,
"margin": 36
},
{
"from": "Nashville",
"to": "Chattanooga",
"win": 68,
"minority": 32,
"margin": 36
}
],
[
{
"from": "Nashville",
"to": "Memphis",
"win": 58,
"minority": 42,
"margin": 16
},
{
"from": "Knoxville",
"to": "Memphis",
"win": 58,
"minority": 42,
"margin": 16
},
{
"from": "Chattanooga",
"to": "Memphis",
"win": 58,
"minority": 42,
"margin": 16
}
]
],
"arcs": [
{
"from": "Chattanooga",
"to": "Knoxville"
},
{
"from": "Nashville",
"to": "Knoxville"
},
{
"from": "Nashville",
"to": "Chattanooga"
},
{
"from": "Nashville",
"to": "Memphis"
},
{
"from": "Knoxville",
"to": "Memphis"
},
{
"from": "Chattanooga",
"to": "Memphis"
}
]
}
Loading

0 comments on commit dfef268

Please sign in to comment.