(tests): Add test for default limit value
This commit is contained in:
parent
1e33cac5d1
commit
3d1eb4d872
4 changed files with 4 additions and 0 deletions
1
olympics/testdata/tests/top-athletes-in-sport/30/in.json
vendored
Normal file
1
olympics/testdata/tests/top-athletes-in-sport/30/in.json
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"sport": "Biathlon"}
|
1
olympics/testdata/tests/top-athletes-in-sport/30/out.json
vendored
Normal file
1
olympics/testdata/tests/top-athletes-in-sport/30/out.json
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
[{"athlete":"Ole Einar Bjørndalen","country":"Norway","medals":{"gold":5,"silver":3,"bronze":1,"total":9},"medals_by_year":{"2002":{"gold":4,"silver":0,"bronze":0,"total":4},"2006":{"gold":0,"silver":2,"bronze":1,"total":3},"2010":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Kati Wilhelm","country":"Germany","medals":{"gold":3,"silver":3,"bronze":1,"total":7},"medals_by_year":{"2002":{"gold":2,"silver":1,"bronze":0,"total":3},"2006":{"gold":1,"silver":2,"bronze":0,"total":3},"2010":{"gold":0,"silver":0,"bronze":1,"total":1}}},{"athlete":"Michael Greis","country":"Germany","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2006":{"gold":3,"silver":0,"bronze":0,"total":3}}}]
|
1
olympics/testdata/tests/top-countries-in-year/30/in.json
vendored
Normal file
1
olympics/testdata/tests/top-countries-in-year/30/in.json
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"year": 2000}
|
1
olympics/testdata/tests/top-countries-in-year/30/out.json
vendored
Normal file
1
olympics/testdata/tests/top-countries-in-year/30/out.json
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
[{"country":"United States","gold":130,"silver":61,"bronze":52,"total":243},{"country":"Russia","gold":66,"silver":67,"bronze":54,"total":187},{"country":"Australia","gold":60,"silver":69,"bronze":54,"total":183}]
|
Loading…
Reference in a new issue