From c8e7a80e9753397d56b1765f47d838136fabfb1a Mon Sep 17 00:00:00 2001 From: Arseny Balobanov Date: Thu, 20 Feb 2020 12:26:09 +0300 Subject: [PATCH] http-olympics: adding generated response-request tests. --- olympics/testdata/tests/athlete-info/0_in.json | 1 + olympics/testdata/tests/athlete-info/0_out.json | 1 + olympics/testdata/tests/athlete-info/10_in.json | 1 + olympics/testdata/tests/athlete-info/10_out.json | 1 + olympics/testdata/tests/athlete-info/11_in.json | 1 + olympics/testdata/tests/athlete-info/11_out.json | 1 + olympics/testdata/tests/athlete-info/12_in.json | 1 + olympics/testdata/tests/athlete-info/12_out.json | 1 + olympics/testdata/tests/athlete-info/13_in.json | 1 + olympics/testdata/tests/athlete-info/13_out.json | 1 + olympics/testdata/tests/athlete-info/14_in.json | 1 + olympics/testdata/tests/athlete-info/14_out.json | 1 + olympics/testdata/tests/athlete-info/15_in.json | 1 + olympics/testdata/tests/athlete-info/15_out.json | 1 + olympics/testdata/tests/athlete-info/16_in.json | 1 + olympics/testdata/tests/athlete-info/16_out.json | 1 + olympics/testdata/tests/athlete-info/17_in.json | 1 + olympics/testdata/tests/athlete-info/17_out.json | 1 + olympics/testdata/tests/athlete-info/18_in.json | 1 + olympics/testdata/tests/athlete-info/18_out.json | 1 + olympics/testdata/tests/athlete-info/19_in.json | 1 + olympics/testdata/tests/athlete-info/19_out.json | 1 + olympics/testdata/tests/athlete-info/1_in.json | 1 + olympics/testdata/tests/athlete-info/1_out.json | 1 + olympics/testdata/tests/athlete-info/20_in.json | 1 + olympics/testdata/tests/athlete-info/20_out.json | 1 + olympics/testdata/tests/athlete-info/21_in.json | 1 + olympics/testdata/tests/athlete-info/21_out.json | 1 + olympics/testdata/tests/athlete-info/22_in.json | 1 + olympics/testdata/tests/athlete-info/22_out.json | 1 + olympics/testdata/tests/athlete-info/23_in.json | 1 + olympics/testdata/tests/athlete-info/23_out.json | 1 + olympics/testdata/tests/athlete-info/24_in.json | 1 + olympics/testdata/tests/athlete-info/24_out.json | 1 + olympics/testdata/tests/athlete-info/25_in.json | 1 + olympics/testdata/tests/athlete-info/25_out.json | 1 + olympics/testdata/tests/athlete-info/26_in.json | 1 + olympics/testdata/tests/athlete-info/26_out.json | 1 + olympics/testdata/tests/athlete-info/27_in.json | 1 + olympics/testdata/tests/athlete-info/27_out.json | 1 + olympics/testdata/tests/athlete-info/28_in.json | 1 + olympics/testdata/tests/athlete-info/28_out.json | 1 + olympics/testdata/tests/athlete-info/29_in.json | 1 + olympics/testdata/tests/athlete-info/29_out.json | 1 + olympics/testdata/tests/athlete-info/2_in.json | 1 + olympics/testdata/tests/athlete-info/2_out.json | 1 + olympics/testdata/tests/athlete-info/3_in.json | 1 + olympics/testdata/tests/athlete-info/3_out.json | 1 + olympics/testdata/tests/athlete-info/4_in.json | 1 + olympics/testdata/tests/athlete-info/4_out.json | 1 + olympics/testdata/tests/athlete-info/5_in.json | 1 + olympics/testdata/tests/athlete-info/5_out.json | 1 + olympics/testdata/tests/athlete-info/6_in.json | 1 + olympics/testdata/tests/athlete-info/6_out.json | 1 + olympics/testdata/tests/athlete-info/7_in.json | 1 + olympics/testdata/tests/athlete-info/7_out.json | 1 + olympics/testdata/tests/athlete-info/8_in.json | 1 + olympics/testdata/tests/athlete-info/8_out.json | 1 + olympics/testdata/tests/athlete-info/9_in.json | 1 + olympics/testdata/tests/athlete-info/9_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/0_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/0_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/10_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/10_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/11_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/11_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/12_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/12_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/13_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/13_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/14_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/14_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/15_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/15_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/16_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/16_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/17_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/17_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/18_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/18_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/19_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/19_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/1_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/1_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/20_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/20_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/21_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/21_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/22_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/22_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/23_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/23_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/24_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/24_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/25_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/25_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/26_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/26_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/27_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/27_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/28_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/28_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/29_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/29_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/2_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/2_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/3_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/3_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/4_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/4_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/5_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/5_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/6_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/6_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/7_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/7_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/8_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/8_out.json | 1 + olympics/testdata/tests/top-athletes-in-sport/9_in.json | 1 + olympics/testdata/tests/top-athletes-in-sport/9_out.json | 1 + olympics/testdata/tests/top-countries-in-year/0_in.json | 1 + olympics/testdata/tests/top-countries-in-year/0_out.json | 1 + olympics/testdata/tests/top-countries-in-year/10_in.json | 1 + olympics/testdata/tests/top-countries-in-year/10_out.json | 1 + olympics/testdata/tests/top-countries-in-year/11_in.json | 1 + olympics/testdata/tests/top-countries-in-year/11_out.json | 1 + olympics/testdata/tests/top-countries-in-year/12_in.json | 1 + olympics/testdata/tests/top-countries-in-year/12_out.json | 1 + olympics/testdata/tests/top-countries-in-year/13_in.json | 1 + olympics/testdata/tests/top-countries-in-year/13_out.json | 1 + olympics/testdata/tests/top-countries-in-year/14_in.json | 1 + olympics/testdata/tests/top-countries-in-year/14_out.json | 1 + olympics/testdata/tests/top-countries-in-year/15_in.json | 1 + olympics/testdata/tests/top-countries-in-year/15_out.json | 1 + olympics/testdata/tests/top-countries-in-year/16_in.json | 1 + olympics/testdata/tests/top-countries-in-year/16_out.json | 1 + olympics/testdata/tests/top-countries-in-year/17_in.json | 1 + olympics/testdata/tests/top-countries-in-year/17_out.json | 1 + olympics/testdata/tests/top-countries-in-year/18_in.json | 1 + olympics/testdata/tests/top-countries-in-year/18_out.json | 1 + olympics/testdata/tests/top-countries-in-year/19_in.json | 1 + olympics/testdata/tests/top-countries-in-year/19_out.json | 1 + olympics/testdata/tests/top-countries-in-year/1_in.json | 1 + olympics/testdata/tests/top-countries-in-year/1_out.json | 1 + olympics/testdata/tests/top-countries-in-year/20_in.json | 1 + olympics/testdata/tests/top-countries-in-year/20_out.json | 1 + olympics/testdata/tests/top-countries-in-year/21_in.json | 1 + olympics/testdata/tests/top-countries-in-year/21_out.json | 1 + olympics/testdata/tests/top-countries-in-year/22_in.json | 1 + olympics/testdata/tests/top-countries-in-year/22_out.json | 1 + olympics/testdata/tests/top-countries-in-year/23_in.json | 1 + olympics/testdata/tests/top-countries-in-year/23_out.json | 1 + olympics/testdata/tests/top-countries-in-year/24_in.json | 1 + olympics/testdata/tests/top-countries-in-year/24_out.json | 1 + olympics/testdata/tests/top-countries-in-year/25_in.json | 1 + olympics/testdata/tests/top-countries-in-year/25_out.json | 1 + olympics/testdata/tests/top-countries-in-year/26_in.json | 1 + olympics/testdata/tests/top-countries-in-year/26_out.json | 1 + olympics/testdata/tests/top-countries-in-year/27_in.json | 1 + olympics/testdata/tests/top-countries-in-year/27_out.json | 1 + olympics/testdata/tests/top-countries-in-year/28_in.json | 1 + olympics/testdata/tests/top-countries-in-year/28_out.json | 1 + olympics/testdata/tests/top-countries-in-year/29_in.json | 1 + olympics/testdata/tests/top-countries-in-year/29_out.json | 1 + olympics/testdata/tests/top-countries-in-year/2_in.json | 1 + olympics/testdata/tests/top-countries-in-year/2_out.json | 1 + olympics/testdata/tests/top-countries-in-year/3_in.json | 1 + olympics/testdata/tests/top-countries-in-year/3_out.json | 1 + olympics/testdata/tests/top-countries-in-year/4_in.json | 1 + olympics/testdata/tests/top-countries-in-year/4_out.json | 1 + olympics/testdata/tests/top-countries-in-year/5_in.json | 1 + olympics/testdata/tests/top-countries-in-year/5_out.json | 1 + olympics/testdata/tests/top-countries-in-year/6_in.json | 1 + olympics/testdata/tests/top-countries-in-year/6_out.json | 1 + olympics/testdata/tests/top-countries-in-year/7_in.json | 1 + olympics/testdata/tests/top-countries-in-year/7_out.json | 1 + olympics/testdata/tests/top-countries-in-year/8_in.json | 1 + olympics/testdata/tests/top-countries-in-year/8_out.json | 1 + olympics/testdata/tests/top-countries-in-year/9_in.json | 1 + olympics/testdata/tests/top-countries-in-year/9_out.json | 1 + 180 files changed, 180 insertions(+) create mode 100644 olympics/testdata/tests/athlete-info/0_in.json create mode 100644 olympics/testdata/tests/athlete-info/0_out.json create mode 100644 olympics/testdata/tests/athlete-info/10_in.json create mode 100644 olympics/testdata/tests/athlete-info/10_out.json create mode 100644 olympics/testdata/tests/athlete-info/11_in.json create mode 100644 olympics/testdata/tests/athlete-info/11_out.json create mode 100644 olympics/testdata/tests/athlete-info/12_in.json create mode 100644 olympics/testdata/tests/athlete-info/12_out.json create mode 100644 olympics/testdata/tests/athlete-info/13_in.json create mode 100644 olympics/testdata/tests/athlete-info/13_out.json create mode 100644 olympics/testdata/tests/athlete-info/14_in.json create mode 100644 olympics/testdata/tests/athlete-info/14_out.json create mode 100644 olympics/testdata/tests/athlete-info/15_in.json create mode 100644 olympics/testdata/tests/athlete-info/15_out.json create mode 100644 olympics/testdata/tests/athlete-info/16_in.json create mode 100644 olympics/testdata/tests/athlete-info/16_out.json create mode 100644 olympics/testdata/tests/athlete-info/17_in.json create mode 100644 olympics/testdata/tests/athlete-info/17_out.json create mode 100644 olympics/testdata/tests/athlete-info/18_in.json create mode 100644 olympics/testdata/tests/athlete-info/18_out.json create mode 100644 olympics/testdata/tests/athlete-info/19_in.json create mode 100644 olympics/testdata/tests/athlete-info/19_out.json create mode 100644 olympics/testdata/tests/athlete-info/1_in.json create mode 100644 olympics/testdata/tests/athlete-info/1_out.json create mode 100644 olympics/testdata/tests/athlete-info/20_in.json create mode 100644 olympics/testdata/tests/athlete-info/20_out.json create mode 100644 olympics/testdata/tests/athlete-info/21_in.json create mode 100644 olympics/testdata/tests/athlete-info/21_out.json create mode 100644 olympics/testdata/tests/athlete-info/22_in.json create mode 100644 olympics/testdata/tests/athlete-info/22_out.json create mode 100644 olympics/testdata/tests/athlete-info/23_in.json create mode 100644 olympics/testdata/tests/athlete-info/23_out.json create mode 100644 olympics/testdata/tests/athlete-info/24_in.json create mode 100644 olympics/testdata/tests/athlete-info/24_out.json create mode 100644 olympics/testdata/tests/athlete-info/25_in.json create mode 100644 olympics/testdata/tests/athlete-info/25_out.json create mode 100644 olympics/testdata/tests/athlete-info/26_in.json create mode 100644 olympics/testdata/tests/athlete-info/26_out.json create mode 100644 olympics/testdata/tests/athlete-info/27_in.json create mode 100644 olympics/testdata/tests/athlete-info/27_out.json create mode 100644 olympics/testdata/tests/athlete-info/28_in.json create mode 100644 olympics/testdata/tests/athlete-info/28_out.json create mode 100644 olympics/testdata/tests/athlete-info/29_in.json create mode 100644 olympics/testdata/tests/athlete-info/29_out.json create mode 100644 olympics/testdata/tests/athlete-info/2_in.json create mode 100644 olympics/testdata/tests/athlete-info/2_out.json create mode 100644 olympics/testdata/tests/athlete-info/3_in.json create mode 100644 olympics/testdata/tests/athlete-info/3_out.json create mode 100644 olympics/testdata/tests/athlete-info/4_in.json create mode 100644 olympics/testdata/tests/athlete-info/4_out.json create mode 100644 olympics/testdata/tests/athlete-info/5_in.json create mode 100644 olympics/testdata/tests/athlete-info/5_out.json create mode 100644 olympics/testdata/tests/athlete-info/6_in.json create mode 100644 olympics/testdata/tests/athlete-info/6_out.json create mode 100644 olympics/testdata/tests/athlete-info/7_in.json create mode 100644 olympics/testdata/tests/athlete-info/7_out.json create mode 100644 olympics/testdata/tests/athlete-info/8_in.json create mode 100644 olympics/testdata/tests/athlete-info/8_out.json create mode 100644 olympics/testdata/tests/athlete-info/9_in.json create mode 100644 olympics/testdata/tests/athlete-info/9_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/0_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/0_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/10_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/10_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/11_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/11_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/12_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/12_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/13_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/13_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/14_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/14_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/15_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/15_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/16_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/16_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/17_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/17_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/18_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/18_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/19_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/19_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/1_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/1_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/20_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/20_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/21_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/21_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/22_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/22_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/23_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/23_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/24_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/24_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/25_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/25_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/26_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/26_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/27_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/27_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/28_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/28_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/29_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/29_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/2_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/2_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/3_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/3_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/4_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/4_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/5_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/5_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/6_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/6_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/7_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/7_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/8_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/8_out.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/9_in.json create mode 100644 olympics/testdata/tests/top-athletes-in-sport/9_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/0_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/0_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/10_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/10_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/11_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/11_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/12_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/12_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/13_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/13_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/14_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/14_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/15_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/15_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/16_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/16_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/17_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/17_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/18_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/18_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/19_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/19_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/1_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/1_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/20_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/20_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/21_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/21_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/22_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/22_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/23_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/23_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/24_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/24_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/25_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/25_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/26_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/26_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/27_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/27_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/28_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/28_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/29_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/29_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/2_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/2_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/3_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/3_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/4_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/4_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/5_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/5_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/6_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/6_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/7_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/7_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/8_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/8_out.json create mode 100644 olympics/testdata/tests/top-countries-in-year/9_in.json create mode 100644 olympics/testdata/tests/top-countries-in-year/9_out.json diff --git a/olympics/testdata/tests/athlete-info/0_in.json b/olympics/testdata/tests/athlete-info/0_in.json new file mode 100644 index 0000000..b6b23ef --- /dev/null +++ b/olympics/testdata/tests/athlete-info/0_in.json @@ -0,0 +1 @@ +{"name": "Kh\u00e9dafi Djelkhir"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/0_out.json b/olympics/testdata/tests/athlete-info/0_out.json new file mode 100644 index 0000000..2900a15 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/0_out.json @@ -0,0 +1 @@ +{"athlete":"Khédafi Djelkhir","country":"France","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/10_in.json b/olympics/testdata/tests/athlete-info/10_in.json new file mode 100644 index 0000000..1197ccd --- /dev/null +++ b/olympics/testdata/tests/athlete-info/10_in.json @@ -0,0 +1 @@ +{"name": "Timo We\u00df"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/10_out.json b/olympics/testdata/tests/athlete-info/10_out.json new file mode 100644 index 0000000..56c11f7 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/10_out.json @@ -0,0 +1 @@ +{"athlete":"Timo Weß","country":"Germany","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/11_in.json b/olympics/testdata/tests/athlete-info/11_in.json new file mode 100644 index 0000000..6f5bc72 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/11_in.json @@ -0,0 +1 @@ +{"name": "Jang So-Hui"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/11_out.json b/olympics/testdata/tests/athlete-info/11_out.json new file mode 100644 index 0000000..d0da554 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/11_out.json @@ -0,0 +1 @@ +{"athlete":"Jang So-Hui","country":"South Korea","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2004":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/12_in.json b/olympics/testdata/tests/athlete-info/12_in.json new file mode 100644 index 0000000..7ed92a1 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/12_in.json @@ -0,0 +1 @@ +{"name": "Misty May-Treanor"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/12_out.json b/olympics/testdata/tests/athlete-info/12_out.json new file mode 100644 index 0000000..1ada12a --- /dev/null +++ b/olympics/testdata/tests/athlete-info/12_out.json @@ -0,0 +1 @@ +{"athlete":"Misty May-Treanor","country":"United States","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/13_in.json b/olympics/testdata/tests/athlete-info/13_in.json new file mode 100644 index 0000000..acce6e7 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/13_in.json @@ -0,0 +1 @@ +{"name": "Bj\u00f6rgvin Gustavsson"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/13_out.json b/olympics/testdata/tests/athlete-info/13_out.json new file mode 100644 index 0000000..d557767 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/13_out.json @@ -0,0 +1 @@ +{"athlete":"Björgvin Gustavsson","country":"Iceland","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/14_in.json b/olympics/testdata/tests/athlete-info/14_in.json new file mode 100644 index 0000000..9bb18aa --- /dev/null +++ b/olympics/testdata/tests/athlete-info/14_in.json @@ -0,0 +1 @@ +{"name": "Darren Bundock"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/14_out.json b/olympics/testdata/tests/athlete-info/14_out.json new file mode 100644 index 0000000..d0a4c3e --- /dev/null +++ b/olympics/testdata/tests/athlete-info/14_out.json @@ -0,0 +1 @@ +{"athlete":"Darren Bundock","country":"Australia","medals":{"gold":0,"silver":2,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/15_in.json b/olympics/testdata/tests/athlete-info/15_in.json new file mode 100644 index 0000000..c2e97de --- /dev/null +++ b/olympics/testdata/tests/athlete-info/15_in.json @@ -0,0 +1 @@ +{"name": "Kenny Brokenburr"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/15_out.json b/olympics/testdata/tests/athlete-info/15_out.json new file mode 100644 index 0000000..8c257f8 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/15_out.json @@ -0,0 +1 @@ +{"athlete":"Kenny Brokenburr","country":"United States","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/16_in.json b/olympics/testdata/tests/athlete-info/16_in.json new file mode 100644 index 0000000..963161f --- /dev/null +++ b/olympics/testdata/tests/athlete-info/16_in.json @@ -0,0 +1 @@ +{"name": "Ma Jin"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/16_out.json b/olympics/testdata/tests/athlete-info/16_out.json new file mode 100644 index 0000000..ae0e9e1 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/16_out.json @@ -0,0 +1 @@ +{"athlete":"Ma Jin","country":"China","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/17_in.json b/olympics/testdata/tests/athlete-info/17_in.json new file mode 100644 index 0000000..f559ad5 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/17_in.json @@ -0,0 +1 @@ +{"name": "Lyudmila Postnova"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/17_out.json b/olympics/testdata/tests/athlete-info/17_out.json new file mode 100644 index 0000000..f5ca021 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/17_out.json @@ -0,0 +1 @@ +{"athlete":"Lyudmila Postnova","country":"Russia","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/18_in.json b/olympics/testdata/tests/athlete-info/18_in.json new file mode 100644 index 0000000..e9692d4 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/18_in.json @@ -0,0 +1 @@ +{"name": "Carolyn Darbyshire-McRory"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/18_out.json b/olympics/testdata/tests/athlete-info/18_out.json new file mode 100644 index 0000000..daeec33 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/18_out.json @@ -0,0 +1 @@ +{"athlete":"Carolyn Darbyshire-McRory","country":"Canada","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2010":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/19_in.json b/olympics/testdata/tests/athlete-info/19_in.json new file mode 100644 index 0000000..5ed99a7 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/19_in.json @@ -0,0 +1 @@ +{"name": "Tamer Salah"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/19_out.json b/olympics/testdata/tests/athlete-info/19_out.json new file mode 100644 index 0000000..df6e9fc --- /dev/null +++ b/olympics/testdata/tests/athlete-info/19_out.json @@ -0,0 +1 @@ +{"athlete":"Tamer Salah","country":"Egypt","medals":{"gold":0,"silver":0,"bronze":1,"total":1},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/1_in.json b/olympics/testdata/tests/athlete-info/1_in.json new file mode 100644 index 0000000..5bb20b9 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/1_in.json @@ -0,0 +1 @@ +{"name": "Radoslav \u017didek"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/1_out.json b/olympics/testdata/tests/athlete-info/1_out.json new file mode 100644 index 0000000..523da4e --- /dev/null +++ b/olympics/testdata/tests/athlete-info/1_out.json @@ -0,0 +1 @@ +{"athlete":"Radoslav Židek","country":"Slovakia","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2006":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/20_in.json b/olympics/testdata/tests/athlete-info/20_in.json new file mode 100644 index 0000000..3f0d48c --- /dev/null +++ b/olympics/testdata/tests/athlete-info/20_in.json @@ -0,0 +1 @@ +{"name": "Egil Gjelland"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/20_out.json b/olympics/testdata/tests/athlete-info/20_out.json new file mode 100644 index 0000000..b6eeb49 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/20_out.json @@ -0,0 +1 @@ +{"athlete":"Egil Gjelland","country":"Norway","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2002":{"gold":1,"silver":0,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/21_in.json b/olympics/testdata/tests/athlete-info/21_in.json new file mode 100644 index 0000000..0e7eb57 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/21_in.json @@ -0,0 +1 @@ +{"name": "Cammi Granato"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/21_out.json b/olympics/testdata/tests/athlete-info/21_out.json new file mode 100644 index 0000000..2e6b8e0 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/21_out.json @@ -0,0 +1 @@ +{"athlete":"Cammi Granato","country":"United States","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2002":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/22_in.json b/olympics/testdata/tests/athlete-info/22_in.json new file mode 100644 index 0000000..b6ba802 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/22_in.json @@ -0,0 +1 @@ +{"name": "Kely"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/22_out.json b/olympics/testdata/tests/athlete-info/22_out.json new file mode 100644 index 0000000..023e286 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/22_out.json @@ -0,0 +1 @@ +{"athlete":"Kely","country":"Brazil","medals":{"gold":0,"silver":0,"bronze":1,"total":1},"medals_by_year":{"2000":{"gold":0,"silver":0,"bronze":1,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/23_in.json b/olympics/testdata/tests/athlete-info/23_in.json new file mode 100644 index 0000000..643231e --- /dev/null +++ b/olympics/testdata/tests/athlete-info/23_in.json @@ -0,0 +1 @@ +{"name": "Bart Brentjens"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/23_out.json b/olympics/testdata/tests/athlete-info/23_out.json new file mode 100644 index 0000000..9636fbd --- /dev/null +++ b/olympics/testdata/tests/athlete-info/23_out.json @@ -0,0 +1 @@ +{"athlete":"Bart Brentjens","country":"Netherlands","medals":{"gold":0,"silver":0,"bronze":1,"total":1},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/24_in.json b/olympics/testdata/tests/athlete-info/24_in.json new file mode 100644 index 0000000..2608bd2 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/24_in.json @@ -0,0 +1 @@ +{"name": "Hirotoshi Ishii"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/24_out.json b/olympics/testdata/tests/athlete-info/24_out.json new file mode 100644 index 0000000..beab506 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/24_out.json @@ -0,0 +1 @@ +{"athlete":"Hirotoshi Ishii","country":"Japan","medals":{"gold":0,"silver":0,"bronze":1,"total":1},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/25_in.json b/olympics/testdata/tests/athlete-info/25_in.json new file mode 100644 index 0000000..7068ea5 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/25_in.json @@ -0,0 +1 @@ +{"name": "Jon Drummond"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/25_out.json b/olympics/testdata/tests/athlete-info/25_out.json new file mode 100644 index 0000000..e0730d4 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/25_out.json @@ -0,0 +1 @@ +{"athlete":"Jon Drummond","country":"United States","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/26_in.json b/olympics/testdata/tests/athlete-info/26_in.json new file mode 100644 index 0000000..ff90e98 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/26_in.json @@ -0,0 +1 @@ +{"name": "Lin Qingfeng"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/26_out.json b/olympics/testdata/tests/athlete-info/26_out.json new file mode 100644 index 0000000..2cce256 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/26_out.json @@ -0,0 +1 @@ +{"athlete":"Lin Qingfeng","country":"China","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/27_in.json b/olympics/testdata/tests/athlete-info/27_in.json new file mode 100644 index 0000000..fdbc608 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/27_in.json @@ -0,0 +1 @@ +{"name": "Adam Pine"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/27_out.json b/olympics/testdata/tests/athlete-info/27_out.json new file mode 100644 index 0000000..f0a1aea --- /dev/null +++ b/olympics/testdata/tests/athlete-info/27_out.json @@ -0,0 +1 @@ +{"athlete":"Adam Pine","country":"Australia","medals":{"gold":1,"silver":2,"bronze":0,"total":3},"medals_by_year":{"2000":{"gold":1,"silver":1,"bronze":0,"total":2},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/28_in.json b/olympics/testdata/tests/athlete-info/28_in.json new file mode 100644 index 0000000..b68261a --- /dev/null +++ b/olympics/testdata/tests/athlete-info/28_in.json @@ -0,0 +1 @@ +{"name": "Jevgenijs Sapronenko"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/28_out.json b/olympics/testdata/tests/athlete-info/28_out.json new file mode 100644 index 0000000..8477a84 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/28_out.json @@ -0,0 +1 @@ +{"athlete":"Jevgenijs Sapronenko","country":"Latvia","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2004":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/29_in.json b/olympics/testdata/tests/athlete-info/29_in.json new file mode 100644 index 0000000..b70b3bb --- /dev/null +++ b/olympics/testdata/tests/athlete-info/29_in.json @@ -0,0 +1 @@ +{"name": "Matt Schnobrich"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/29_out.json b/olympics/testdata/tests/athlete-info/29_out.json new file mode 100644 index 0000000..24aa107 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/29_out.json @@ -0,0 +1 @@ +{"athlete":"Matt Schnobrich","country":"United States","medals":{"gold":0,"silver":0,"bronze":1,"total":1},"medals_by_year":{"2008":{"gold":0,"silver":0,"bronze":1,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/2_in.json b/olympics/testdata/tests/athlete-info/2_in.json new file mode 100644 index 0000000..ce729df --- /dev/null +++ b/olympics/testdata/tests/athlete-info/2_in.json @@ -0,0 +1 @@ +{"name": "Sonja Barjaktarovic"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/2_out.json b/olympics/testdata/tests/athlete-info/2_out.json new file mode 100644 index 0000000..9f1ccfc --- /dev/null +++ b/olympics/testdata/tests/athlete-info/2_out.json @@ -0,0 +1 @@ +{"athlete":"Sonja Barjaktarovic","country":"Montenegro","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/3_in.json b/olympics/testdata/tests/athlete-info/3_in.json new file mode 100644 index 0000000..3638772 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/3_in.json @@ -0,0 +1 @@ +{"name": "Karolina Naja"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/3_out.json b/olympics/testdata/tests/athlete-info/3_out.json new file mode 100644 index 0000000..5fb59e6 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/3_out.json @@ -0,0 +1 @@ +{"athlete":"Karolina Naja","country":"Poland","medals":{"gold":0,"silver":0,"bronze":1,"total":1},"medals_by_year":{"2012":{"gold":0,"silver":0,"bronze":1,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/4_in.json b/olympics/testdata/tests/athlete-info/4_in.json new file mode 100644 index 0000000..ccb69fa --- /dev/null +++ b/olympics/testdata/tests/athlete-info/4_in.json @@ -0,0 +1 @@ +{"name": "Josh West"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/4_out.json b/olympics/testdata/tests/athlete-info/4_out.json new file mode 100644 index 0000000..afac8d7 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/4_out.json @@ -0,0 +1 @@ +{"athlete":"Josh West","country":"Great Britain","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/5_in.json b/olympics/testdata/tests/athlete-info/5_in.json new file mode 100644 index 0000000..6955ef6 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/5_in.json @@ -0,0 +1 @@ +{"name": "Kiyofumi Nagai"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/5_out.json b/olympics/testdata/tests/athlete-info/5_out.json new file mode 100644 index 0000000..1a9f4e7 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/5_out.json @@ -0,0 +1 @@ +{"athlete":"Kiyofumi Nagai","country":"Japan","medals":{"gold":0,"silver":0,"bronze":1,"total":1},"medals_by_year":{"2008":{"gold":0,"silver":0,"bronze":1,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/6_in.json b/olympics/testdata/tests/athlete-info/6_in.json new file mode 100644 index 0000000..35d18da --- /dev/null +++ b/olympics/testdata/tests/athlete-info/6_in.json @@ -0,0 +1 @@ +{"name": "Bridgitte Hartley"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/6_out.json b/olympics/testdata/tests/athlete-info/6_out.json new file mode 100644 index 0000000..5a271e9 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/6_out.json @@ -0,0 +1 @@ +{"athlete":"Bridgitte Hartley","country":"South Africa","medals":{"gold":0,"silver":0,"bronze":1,"total":1},"medals_by_year":{"2012":{"gold":0,"silver":0,"bronze":1,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/7_in.json b/olympics/testdata/tests/athlete-info/7_in.json new file mode 100644 index 0000000..84215d4 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/7_in.json @@ -0,0 +1 @@ +{"name": "D\u00e1niel Varga"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/7_out.json b/olympics/testdata/tests/athlete-info/7_out.json new file mode 100644 index 0000000..66166c7 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/7_out.json @@ -0,0 +1 @@ +{"athlete":"Dániel Varga","country":"Hungary","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/8_in.json b/olympics/testdata/tests/athlete-info/8_in.json new file mode 100644 index 0000000..3b39104 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/8_in.json @@ -0,0 +1 @@ +{"name": "C\u00e9dric Grand"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/8_out.json b/olympics/testdata/tests/athlete-info/8_out.json new file mode 100644 index 0000000..53ff578 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/8_out.json @@ -0,0 +1 @@ +{"athlete":"Cédric Grand","country":"Switzerland","medals":{"gold":0,"silver":0,"bronze":1,"total":1},"medals_by_year":{"2006":{"gold":0,"silver":0,"bronze":1,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/9_in.json b/olympics/testdata/tests/athlete-info/9_in.json new file mode 100644 index 0000000..4965a07 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/9_in.json @@ -0,0 +1 @@ +{"name": "Qiu Jian"} \ No newline at end of file diff --git a/olympics/testdata/tests/athlete-info/9_out.json b/olympics/testdata/tests/athlete-info/9_out.json new file mode 100644 index 0000000..eb3f409 --- /dev/null +++ b/olympics/testdata/tests/athlete-info/9_out.json @@ -0,0 +1 @@ +{"athlete":"Qiu Jian","country":"China","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/0_in.json b/olympics/testdata/tests/top-athletes-in-sport/0_in.json new file mode 100644 index 0000000..5077324 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/0_in.json @@ -0,0 +1 @@ +{"sport": "Speed Skating", "limit": 2} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/0_out.json b/olympics/testdata/tests/top-athletes-in-sport/0_out.json new file mode 100644 index 0000000..68ec604 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/0_out.json @@ -0,0 +1 @@ +[{"athlete":"Claudia Pechstein","country":"Germany","medals":{"gold":3,"silver":1,"bronze":0,"total":4},"medals_by_year":{"2002":{"gold":2,"silver":0,"bronze":0,"total":2},"2006":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Anni Friesinger-Postma","country":"Germany","medals":{"gold":3,"silver":0,"bronze":1,"total":4},"medals_by_year":{"2002":{"gold":1,"silver":0,"bronze":0,"total":1},"2006":{"gold":1,"silver":0,"bronze":1,"total":2},"2010":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/10_in.json b/olympics/testdata/tests/top-athletes-in-sport/10_in.json new file mode 100644 index 0000000..6331a21 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/10_in.json @@ -0,0 +1 @@ +{"sport": "Alpine Skiing", "limit": 3} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/10_out.json b/olympics/testdata/tests/top-athletes-in-sport/10_out.json new file mode 100644 index 0000000..68f4592 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/10_out.json @@ -0,0 +1 @@ +[{"athlete":"Janica Kostelic","country":"Croatia","medals":{"gold":4,"silver":2,"bronze":0,"total":6},"medals_by_year":{"2002":{"gold":3,"silver":1,"bronze":0,"total":4},"2006":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Kjetil André Aamodt","country":"Norway","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2002":{"gold":2,"silver":0,"bronze":0,"total":2},"2006":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Benjamin Raich","country":"Austria","medals":{"gold":2,"silver":0,"bronze":2,"total":4},"medals_by_year":{"2002":{"gold":0,"silver":0,"bronze":2,"total":2},"2006":{"gold":2,"silver":0,"bronze":0,"total":2}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/11_in.json b/olympics/testdata/tests/top-athletes-in-sport/11_in.json new file mode 100644 index 0000000..8f7aecd --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/11_in.json @@ -0,0 +1 @@ +{"sport": "Table Tennis", "limit": 8} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/11_out.json b/olympics/testdata/tests/top-athletes-in-sport/11_out.json new file mode 100644 index 0000000..c1c848e --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/11_out.json @@ -0,0 +1 @@ +[{"athlete":"Wang Nan","country":"China","medals":{"gold":4,"silver":1,"bronze":0,"total":5},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Zhang Yining","country":"China","medals":{"gold":4,"silver":0,"bronze":0,"total":4},"medals_by_year":{"2004":{"gold":2,"silver":0,"bronze":0,"total":2},"2008":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Ma Lin","country":"China","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Wang Hao","country":"China","medals":{"gold":2,"silver":3,"bronze":0,"total":5},"medals_by_year":{"2004":{"gold":0,"silver":1,"bronze":0,"total":1},"2008":{"gold":1,"silver":1,"bronze":0,"total":2},"2012":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Guo Yue","country":"China","medals":{"gold":2,"silver":0,"bronze":2,"total":4},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":1,"total":2},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Wang Liqin","country":"China","medals":{"gold":2,"silver":0,"bronze":2,"total":4},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":1,"total":2}}},{"athlete":"Li Xiaoxia","country":"China","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2012":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Zhang Jike","country":"China","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2012":{"gold":2,"silver":0,"bronze":0,"total":2}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/12_in.json b/olympics/testdata/tests/top-athletes-in-sport/12_in.json new file mode 100644 index 0000000..cdbd30f --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/12_in.json @@ -0,0 +1 @@ +{"sport": "Cross Country", "limit": 7} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/12_out.json b/olympics/testdata/tests/top-athletes-in-sport/12_out.json new file mode 100644 index 0000000..64e2c16 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/12_out.json @@ -0,0 +1 @@ +sport 'Cross Country' not found diff --git a/olympics/testdata/tests/top-athletes-in-sport/13_in.json b/olympics/testdata/tests/top-athletes-in-sport/13_in.json new file mode 100644 index 0000000..4c1c9c9 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/13_in.json @@ -0,0 +1 @@ +{"sport": "Weightlifting", "limit": 7} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/13_out.json b/olympics/testdata/tests/top-athletes-in-sport/13_out.json new file mode 100644 index 0000000..83e534a --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/13_out.json @@ -0,0 +1 @@ +[{"athlete":"Chen Yanqing","country":"China","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Liu Chunhong","country":"China","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Hossein Reza Zadeh","country":"Iran","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Ilya Ilyin","country":"Kazakhstan","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Halil Mutlu","country":"Turkey","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Jang Mi-Ran","country":"South Korea","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":0,"silver":1,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Zhang Xiangxiang","country":"China","medals":{"gold":1,"silver":0,"bronze":1,"total":2},"medals_by_year":{"2000":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/14_in.json b/olympics/testdata/tests/top-athletes-in-sport/14_in.json new file mode 100644 index 0000000..b9b8254 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/14_in.json @@ -0,0 +1 @@ +{"sport": "Bobsleigh", "limit": 0} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/14_out.json b/olympics/testdata/tests/top-athletes-in-sport/14_out.json new file mode 100644 index 0000000..ec747fa --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/14_out.json @@ -0,0 +1 @@ +null \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/15_in.json b/olympics/testdata/tests/top-athletes-in-sport/15_in.json new file mode 100644 index 0000000..3b7673f --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/15_in.json @@ -0,0 +1 @@ +{"sport": "Triathlon", "limit": 9} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/15_out.json b/olympics/testdata/tests/top-athletes-in-sport/15_out.json new file mode 100644 index 0000000..a5cf125 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/15_out.json @@ -0,0 +1 @@ +[{"athlete":"Simon Whitfield","country":"Canada","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Emma Snowsill","country":"Australia","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Kate Allen","country":"Austria","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Jan Frodeno","country":"Germany","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Alistair Brownlee","country":"Great Britain","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Hamish Carter","country":"New Zealand","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Brigitte McMahon","country":"Switzerland","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Nicola Spirig","country":"Switzerland","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Bevan Docherty","country":"New Zealand","medals":{"gold":0,"silver":1,"bronze":1,"total":2},"medals_by_year":{"2004":{"gold":0,"silver":1,"bronze":0,"total":1},"2008":{"gold":0,"silver":0,"bronze":1,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/16_in.json b/olympics/testdata/tests/top-athletes-in-sport/16_in.json new file mode 100644 index 0000000..216d202 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/16_in.json @@ -0,0 +1 @@ +{"sport": "Equestrian", "limit": 4} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/16_out.json b/olympics/testdata/tests/top-athletes-in-sport/16_out.json new file mode 100644 index 0000000..deeca5e --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/16_out.json @@ -0,0 +1 @@ +[{"athlete":"Anky van Grunsven","country":"Netherlands","medals":{"gold":3,"silver":2,"bronze":1,"total":6},"medals_by_year":{"2000":{"gold":1,"silver":1,"bronze":0,"total":2},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":1,"bronze":0,"total":2},"2012":{"gold":0,"silver":0,"bronze":1,"total":1}}},{"athlete":"Isabell Werth","country":"Germany","medals":{"gold":2,"silver":2,"bronze":0,"total":4},"medals_by_year":{"2000":{"gold":1,"silver":1,"bronze":0,"total":2},"2008":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Ulla Salzgeber","country":"Germany","medals":{"gold":2,"silver":1,"bronze":1,"total":4},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":1,"total":2},"2004":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Heike Kemmer","country":"Germany","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":1,"total":2}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/17_in.json b/olympics/testdata/tests/top-athletes-in-sport/17_in.json new file mode 100644 index 0000000..1b87096 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/17_in.json @@ -0,0 +1 @@ +{"sport": "Boxing", "limit": 10} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/17_out.json b/olympics/testdata/tests/top-athletes-in-sport/17_out.json new file mode 100644 index 0000000..d448e1d --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/17_out.json @@ -0,0 +1 @@ +[{"athlete":"Zou Shiming","country":"China","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Mario Kindelán","country":"Cuba","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Guillermo Rigondeaux","country":"Cuba","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Aleksey Tishchenko","country":"Russia","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Vasyl Lomachenko","country":"Ukraine","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Roberto Cammarelle","country":"Italy","medals":{"gold":1,"silver":1,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Gaydarbek Gaydarbekov","country":"Russia","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Manus Boonjumnong","country":"Thailand","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Roniel Iglesias","country":"Cuba","medals":{"gold":1,"silver":0,"bronze":1,"total":2},"medals_by_year":{"2008":{"gold":0,"silver":0,"bronze":1,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Oleg Saitov","country":"Russia","medals":{"gold":1,"silver":0,"bronze":1,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":0,"silver":0,"bronze":1,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/18_in.json b/olympics/testdata/tests/top-athletes-in-sport/18_in.json new file mode 100644 index 0000000..10f02e8 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/18_in.json @@ -0,0 +1 @@ +{"sport": "Modern Pentathlon", "limit": 14} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/18_out.json b/olympics/testdata/tests/top-athletes-in-sport/18_out.json new file mode 100644 index 0000000..b0bf56f --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/18_out.json @@ -0,0 +1 @@ +[{"athlete":"Andrey Moiseyev","country":"Russia","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"David Svoboda","country":"Czech Republic","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Lena Schöneborn","country":"Germany","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Steph Cook","country":"Great Britain","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Zsuzsa Voros","country":"Hungary","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Laura Asadauskaite","country":"Lithuania","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Dmitry Svatkovsky","country":"Russia","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Andrejus Zadneprovskis","country":"Lithuania","medals":{"gold":0,"silver":1,"bronze":1,"total":2},"medals_by_year":{"2004":{"gold":0,"silver":1,"bronze":0,"total":1},"2008":{"gold":0,"silver":0,"bronze":1,"total":1}}},{"athlete":"Cao Zhongrong","country":"China","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Samantha Murray","country":"Great Britain","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Heather Fell","country":"Great Britain","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Gábor Balogh","country":"Hungary","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Jelena Rublevska","country":"Latvia","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2004":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Edvinas Krungolcas","country":"Lithuania","medals":{"gold":0,"silver":1,"bronze":0,"total":1},"medals_by_year":{"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/19_in.json b/olympics/testdata/tests/top-athletes-in-sport/19_in.json new file mode 100644 index 0000000..3d95d45 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/19_in.json @@ -0,0 +1 @@ +{"sport": "Tennis", "limit": 8} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/19_out.json b/olympics/testdata/tests/top-athletes-in-sport/19_out.json new file mode 100644 index 0000000..4dea2c5 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/19_out.json @@ -0,0 +1 @@ +[{"athlete":"Serena Williams","country":"United States","medals":{"gold":4,"silver":0,"bronze":0,"total":4},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Venus Williams","country":"United States","medals":{"gold":4,"silver":0,"bronze":0,"total":4},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Nicolás Massú","country":"Chile","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Fernando González","country":"Chile","medals":{"gold":1,"silver":1,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":1,"total":2},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Andy Murray","country":"Great Britain","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2012":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Yelena Dementyeva","country":"Russia","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Roger Federer","country":"Switzerland","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Mike Bryan","country":"United States","medals":{"gold":1,"silver":0,"bronze":2,"total":3},"medals_by_year":{"2008":{"gold":0,"silver":0,"bronze":1,"total":1},"2012":{"gold":1,"silver":0,"bronze":1,"total":2}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/1_in.json b/olympics/testdata/tests/top-athletes-in-sport/1_in.json new file mode 100644 index 0000000..8d35f80 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/1_in.json @@ -0,0 +1 @@ +{"sport": "Volleyball", "limit": 16} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/1_out.json b/olympics/testdata/tests/top-athletes-in-sport/1_out.json new file mode 100644 index 0000000..dbf80a0 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/1_out.json @@ -0,0 +1 @@ +[{"athlete":"Sheilla","country":"Brazil","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Thaísa","country":"Brazil","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Pereira de Carvalho Endres Jaque","country":"Brazil","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Fabi","country":"Brazil","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Paula","country":"Brazil","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Fabiana","country":"Brazil","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Giba","country":"Brazil","medals":{"gold":1,"silver":2,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Dante","country":"Brazil","medals":{"gold":1,"silver":2,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Rodrigão","country":"Brazil","medals":{"gold":1,"silver":2,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Sergey Tetyukhin","country":"Russia","medals":{"gold":1,"silver":1,"bronze":2,"total":4},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":0,"silver":0,"bronze":1,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Gustavo","country":"Brazil","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"André Nascimento","country":"Brazil","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"André Heller","country":"Brazil","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Anderson","country":"Brazil","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Escadinha","country":"Brazil","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Walewska","country":"Brazil","medals":{"gold":1,"silver":0,"bronze":1,"total":2},"medals_by_year":{"2000":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/20_in.json b/olympics/testdata/tests/top-athletes-in-sport/20_in.json new file mode 100644 index 0000000..3a8182d --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/20_in.json @@ -0,0 +1 @@ +{"sport": "Synchronized Swimming", "limit": 13} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/20_out.json b/olympics/testdata/tests/top-athletes-in-sport/20_out.json new file mode 100644 index 0000000..f99f9ec --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/20_out.json @@ -0,0 +1 @@ +[{"athlete":"Anastasiya Davydova","country":"Russia","medals":{"gold":5,"silver":0,"bronze":0,"total":5},"medals_by_year":{"2004":{"gold":2,"silver":0,"bronze":0,"total":2},"2008":{"gold":2,"silver":0,"bronze":0,"total":2},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Anastasiya Yermakova","country":"Russia","medals":{"gold":4,"silver":0,"bronze":0,"total":4},"medals_by_year":{"2004":{"gold":2,"silver":0,"bronze":0,"total":2},"2008":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Mariya Kiselyova","country":"Russia","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Nataliya Ishchenko","country":"Russia","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Olga Brusnikina","country":"Russia","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Mariya Gromova","country":"Russia","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Svetlana Romashina","country":"Russia","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Elvira Khasyanova","country":"Russia","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Yelena Azarova","country":"Russia","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Anna Shorina","country":"Russia","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Olga Novokshchenova","country":"Russia","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Olga Vasyukova","country":"Russia","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Yuliya Vasilyeva","country":"Russia","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/21_in.json b/olympics/testdata/tests/top-athletes-in-sport/21_in.json new file mode 100644 index 0000000..4308e43 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/21_in.json @@ -0,0 +1 @@ +{"sport": "Alpine Skiing", "limit": 5} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/21_out.json b/olympics/testdata/tests/top-athletes-in-sport/21_out.json new file mode 100644 index 0000000..c42922c --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/21_out.json @@ -0,0 +1 @@ +[{"athlete":"Janica Kostelic","country":"Croatia","medals":{"gold":4,"silver":2,"bronze":0,"total":6},"medals_by_year":{"2002":{"gold":3,"silver":1,"bronze":0,"total":4},"2006":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Kjetil André Aamodt","country":"Norway","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2002":{"gold":2,"silver":0,"bronze":0,"total":2},"2006":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Benjamin Raich","country":"Austria","medals":{"gold":2,"silver":0,"bronze":2,"total":4},"medals_by_year":{"2002":{"gold":0,"silver":0,"bronze":2,"total":2},"2006":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Michaela Dorfmeister","country":"Austria","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2006":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Maria Riesch","country":"Germany","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2010":{"gold":2,"silver":0,"bronze":0,"total":2}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/22_in.json b/olympics/testdata/tests/top-athletes-in-sport/22_in.json new file mode 100644 index 0000000..0d7ac5b --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/22_in.json @@ -0,0 +1 @@ +{"sport": "Fencing", "limit": 3} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/22_out.json b/olympics/testdata/tests/top-athletes-in-sport/22_out.json new file mode 100644 index 0000000..cc481e3 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/22_out.json @@ -0,0 +1 @@ +[{"athlete":"Valentina Vezzali","country":"Italy","medals":{"gold":5,"silver":0,"bronze":2,"total":7},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":1,"total":2},"2012":{"gold":1,"silver":0,"bronze":1,"total":2}}},{"athlete":"Julien Pillet","country":"France","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Fabrice Jeannet","country":"France","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":1,"bronze":0,"total":2}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/23_in.json b/olympics/testdata/tests/top-athletes-in-sport/23_in.json new file mode 100644 index 0000000..1173bbc --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/23_in.json @@ -0,0 +1 @@ +{"sport": "Boxing", "limit": 4} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/23_out.json b/olympics/testdata/tests/top-athletes-in-sport/23_out.json new file mode 100644 index 0000000..6d75c79 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/23_out.json @@ -0,0 +1 @@ +[{"athlete":"Zou Shiming","country":"China","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Mario Kindelán","country":"Cuba","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Guillermo Rigondeaux","country":"Cuba","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Aleksey Tishchenko","country":"Russia","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/24_in.json b/olympics/testdata/tests/top-athletes-in-sport/24_in.json new file mode 100644 index 0000000..92f3cf1 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/24_in.json @@ -0,0 +1 @@ +{"sport": "Canoeing", "limit": 13} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/24_out.json b/olympics/testdata/tests/top-athletes-in-sport/24_out.json new file mode 100644 index 0000000..ef752cb --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/24_out.json @@ -0,0 +1 @@ +[{"athlete":"Katrin Wagner-Augustin","country":"Germany","medals":{"gold":4,"silver":1,"bronze":1,"total":6},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":1,"total":2},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Katalin Kovács","country":"Hungary","medals":{"gold":3,"silver":5,"bronze":0,"total":8},"medals_by_year":{"2000":{"gold":0,"silver":2,"bronze":0,"total":2},"2004":{"gold":1,"silver":1,"bronze":0,"total":2},"2008":{"gold":1,"silver":1,"bronze":0,"total":2},"2012":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Natasa Douchev-Janics","country":"Hungary","medals":{"gold":3,"silver":2,"bronze":1,"total":6},"medals_by_year":{"2004":{"gold":2,"silver":0,"bronze":0,"total":2},"2008":{"gold":1,"silver":1,"bronze":0,"total":2},"2012":{"gold":0,"silver":1,"bronze":1,"total":2}}},{"athlete":"Birgit Fischer-Schmidt","country":"Germany","medals":{"gold":3,"silver":1,"bronze":0,"total":4},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Zoltán Kammerer","country":"Hungary","medals":{"gold":3,"silver":1,"bronze":0,"total":4},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Pavol Hochschorner","country":"Slovakia","medals":{"gold":3,"silver":0,"bronze":1,"total":4},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":0,"silver":0,"bronze":1,"total":1}}},{"athlete":"Peter Hochschorner","country":"Slovakia","medals":{"gold":3,"silver":0,"bronze":1,"total":4},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":0,"silver":0,"bronze":1,"total":1}}},{"athlete":"Tony Estanguet","country":"France","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Botond Storcz","country":"Hungary","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Andreas Dittmer","country":"Germany","medals":{"gold":2,"silver":1,"bronze":1,"total":4},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":1,"total":2},"2004":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Eirik Verås Larsen","country":"Norway","medals":{"gold":2,"silver":1,"bronze":1,"total":4},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":1,"total":2},"2008":{"gold":0,"silver":1,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Danuta Kozák","country":"Hungary","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2008":{"gold":0,"silver":1,"bronze":0,"total":1},"2012":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Meng Guanliang","country":"China","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/25_in.json b/olympics/testdata/tests/top-athletes-in-sport/25_in.json new file mode 100644 index 0000000..94e7e57 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/25_in.json @@ -0,0 +1 @@ +{"sport": "Rowing", "limit": 7} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/25_out.json b/olympics/testdata/tests/top-athletes-in-sport/25_out.json new file mode 100644 index 0000000..bb54a20 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/25_out.json @@ -0,0 +1 @@ +[{"athlete":"Georgeta Damian-Andrunache","country":"Romania","medals":{"gold":5,"silver":0,"bronze":1,"total":6},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":2,"silver":0,"bronze":0,"total":2},"2008":{"gold":1,"silver":0,"bronze":1,"total":2}}},{"athlete":"Viorica Susanu","country":"Romania","medals":{"gold":4,"silver":0,"bronze":1,"total":5},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":2,"silver":0,"bronze":0,"total":2},"2008":{"gold":1,"silver":0,"bronze":1,"total":2}}},{"athlete":"Doina Ignat","country":"Romania","medals":{"gold":3,"silver":0,"bronze":1,"total":4},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":0,"bronze":1,"total":1}}},{"athlete":"Drew Ginn","country":"Australia","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Olaf Tufte","country":"Norway","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Caryn Davies","country":"United States","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":1,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Mary Whipple","country":"United States","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":1,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/26_in.json b/olympics/testdata/tests/top-athletes-in-sport/26_in.json new file mode 100644 index 0000000..44a41ba --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/26_in.json @@ -0,0 +1 @@ +{"sport": "Luge", "limit": 1} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/26_out.json b/olympics/testdata/tests/top-athletes-in-sport/26_out.json new file mode 100644 index 0000000..211e32f --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/26_out.json @@ -0,0 +1 @@ +[{"athlete":"Armin Zöggeler","country":"Italy","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2002":{"gold":1,"silver":0,"bronze":0,"total":1},"2006":{"gold":1,"silver":0,"bronze":0,"total":1},"2010":{"gold":0,"silver":0,"bronze":1,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/27_in.json b/olympics/testdata/tests/top-athletes-in-sport/27_in.json new file mode 100644 index 0000000..1faee9b --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/27_in.json @@ -0,0 +1 @@ +{"sport": "Ski Jumping", "limit": 6} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/27_out.json b/olympics/testdata/tests/top-athletes-in-sport/27_out.json new file mode 100644 index 0000000..dc10602 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/27_out.json @@ -0,0 +1 @@ +[{"athlete":"Simon Ammann","country":"Switzerland","medals":{"gold":4,"silver":0,"bronze":0,"total":4},"medals_by_year":{"2002":{"gold":2,"silver":0,"bronze":0,"total":2},"2010":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Thomas Morgenstern","country":"Austria","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2006":{"gold":2,"silver":0,"bronze":0,"total":2},"2010":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Andreas Kofler","country":"Austria","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2006":{"gold":1,"silver":1,"bronze":0,"total":2},"2010":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Sven Hannawald","country":"Germany","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2002":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Michael Uhrmann","country":"Germany","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2002":{"gold":1,"silver":0,"bronze":0,"total":1},"2010":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Martin Schmitt","country":"Germany","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2002":{"gold":1,"silver":0,"bronze":0,"total":1},"2010":{"gold":0,"silver":1,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/28_in.json b/olympics/testdata/tests/top-athletes-in-sport/28_in.json new file mode 100644 index 0000000..72d0be0 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/28_in.json @@ -0,0 +1 @@ +{"sport": "Speed Skating", "limit": 5} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/28_out.json b/olympics/testdata/tests/top-athletes-in-sport/28_out.json new file mode 100644 index 0000000..f26f14c --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/28_out.json @@ -0,0 +1 @@ +[{"athlete":"Claudia Pechstein","country":"Germany","medals":{"gold":3,"silver":1,"bronze":0,"total":4},"medals_by_year":{"2002":{"gold":2,"silver":0,"bronze":0,"total":2},"2006":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Anni Friesinger-Postma","country":"Germany","medals":{"gold":3,"silver":0,"bronze":1,"total":4},"medals_by_year":{"2002":{"gold":1,"silver":0,"bronze":0,"total":1},"2006":{"gold":1,"silver":0,"bronze":1,"total":2},"2010":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Shani Davis","country":"United States","medals":{"gold":2,"silver":2,"bronze":0,"total":4},"medals_by_year":{"2006":{"gold":1,"silver":1,"bronze":0,"total":2},"2010":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Jochem Uytdehaage","country":"Netherlands","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2002":{"gold":2,"silver":1,"bronze":0,"total":3}}},{"athlete":"Martina Sáblíková","country":"Czech Republic","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2010":{"gold":2,"silver":0,"bronze":1,"total":3}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/29_in.json b/olympics/testdata/tests/top-athletes-in-sport/29_in.json new file mode 100644 index 0000000..42dcfdc --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/29_in.json @@ -0,0 +1 @@ +{"sport": "Cycling", "limit": 2} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/29_out.json b/olympics/testdata/tests/top-athletes-in-sport/29_out.json new file mode 100644 index 0000000..7495c6b --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/29_out.json @@ -0,0 +1 @@ +[{"athlete":"Chris Hoy","country":"Great Britain","medals":{"gold":6,"silver":1,"bronze":0,"total":7},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":3,"silver":0,"bronze":0,"total":3},"2012":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Bradley Wiggins","country":"Great Britain","medals":{"gold":4,"silver":1,"bronze":2,"total":7},"medals_by_year":{"2000":{"gold":0,"silver":0,"bronze":1,"total":1},"2004":{"gold":1,"silver":1,"bronze":1,"total":3},"2008":{"gold":2,"silver":0,"bronze":0,"total":2},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/2_in.json b/olympics/testdata/tests/top-athletes-in-sport/2_in.json new file mode 100644 index 0000000..3095572 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/2_in.json @@ -0,0 +1 @@ +{"sport": "Gymnastics", "limit": 12} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/2_out.json b/olympics/testdata/tests/top-athletes-in-sport/2_out.json new file mode 100644 index 0000000..126f644 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/2_out.json @@ -0,0 +1 @@ +[{"athlete":"Zou Kai","country":"China","medals":{"gold":5,"silver":0,"bronze":1,"total":6},"medals_by_year":{"2008":{"gold":3,"silver":0,"bronze":0,"total":3},"2012":{"gold":2,"silver":0,"bronze":1,"total":3}}},{"athlete":"Li Xiaopeng","country":"China","medals":{"gold":4,"silver":0,"bronze":1,"total":5},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":0,"total":2},"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Yang Wei","country":"China","medals":{"gold":3,"silver":2,"bronze":0,"total":5},"medals_by_year":{"2000":{"gold":1,"silver":1,"bronze":0,"total":2},"2008":{"gold":2,"silver":1,"bronze":0,"total":3}}},{"athlete":"Catalina Ponor","country":"Romania","medals":{"gold":3,"silver":1,"bronze":1,"total":5},"medals_by_year":{"2004":{"gold":3,"silver":0,"bronze":0,"total":3},"2012":{"gold":0,"silver":1,"bronze":1,"total":2}}},{"athlete":"Chen Yibing","country":"China","medals":{"gold":3,"silver":1,"bronze":0,"total":4},"medals_by_year":{"2008":{"gold":2,"silver":0,"bronze":0,"total":2},"2012":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Aleksey Nemov","country":"Russia","medals":{"gold":2,"silver":1,"bronze":3,"total":6},"medals_by_year":{"2000":{"gold":2,"silver":1,"bronze":3,"total":6}}},{"athlete":"Yelena Zamolodchikova","country":"Russia","medals":{"gold":2,"silver":1,"bronze":1,"total":4},"medals_by_year":{"2000":{"gold":2,"silver":1,"bronze":0,"total":3},"2004":{"gold":0,"silver":0,"bronze":1,"total":1}}},{"athlete":"He Kexin","country":"China","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2008":{"gold":2,"silver":0,"bronze":0,"total":2},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Gervasio Deferr","country":"Spain","medals":{"gold":2,"silver":1,"bronze":0,"total":3},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Sandra Izbasa","country":"Romania","medals":{"gold":2,"silver":0,"bronze":2,"total":4},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":1,"total":2},"2012":{"gold":1,"silver":0,"bronze":1,"total":2}}},{"athlete":"Simona Amânar","country":"Romania","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2000":{"gold":2,"silver":0,"bronze":1,"total":3}}},{"athlete":"Aly Raisman","country":"United States","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2012":{"gold":2,"silver":0,"bronze":1,"total":3}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/3_in.json b/olympics/testdata/tests/top-athletes-in-sport/3_in.json new file mode 100644 index 0000000..f458525 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/3_in.json @@ -0,0 +1 @@ +{"sport": "Hockey", "limit": 6} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/3_out.json b/olympics/testdata/tests/top-athletes-in-sport/3_out.json new file mode 100644 index 0000000..077c3a4 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/3_out.json @@ -0,0 +1 @@ +[{"athlete":"Christopher Zeller","country":"Germany","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Matthias Witthaus","country":"Germany","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Timo Weß","country":"Germany","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Benjamin Weß","country":"Germany","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Max Weinhold","country":"Germany","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Philipp Zeller","country":"Germany","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/4_in.json b/olympics/testdata/tests/top-athletes-in-sport/4_in.json new file mode 100644 index 0000000..56c64c6 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/4_in.json @@ -0,0 +1 @@ +{"sport": "Badminton", "limit": 7} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/4_out.json b/olympics/testdata/tests/top-athletes-in-sport/4_out.json new file mode 100644 index 0000000..9971854 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/4_out.json @@ -0,0 +1 @@ +[{"athlete":"Gao Ling","country":"China","medals":{"gold":2,"silver":1,"bronze":1,"total":4},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":1,"total":2},"2004":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Zhang Jun","country":"China","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Zhao Yunlei","country":"China","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2012":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Zhang Ning","country":"China","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Lin Dan","country":"China","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Cai Yun","country":"China","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":0,"silver":1,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Yang Wei","country":"China","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/5_in.json b/olympics/testdata/tests/top-athletes-in-sport/5_in.json new file mode 100644 index 0000000..d62828b --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/5_in.json @@ -0,0 +1 @@ +{"sport": "Beach Volleyball", "limit": 6} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/5_out.json b/olympics/testdata/tests/top-athletes-in-sport/5_out.json new file mode 100644 index 0000000..85c157f --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/5_out.json @@ -0,0 +1 @@ +[{"athlete":"Misty May-Treanor","country":"United States","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Kerri Walsh","country":"United States","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Ricardo","country":"Brazil","medals":{"gold":1,"silver":1,"bronze":1,"total":3},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":0,"bronze":1,"total":1}}},{"athlete":"Emanuel","country":"Brazil","medals":{"gold":1,"silver":1,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":0,"bronze":1,"total":1},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Kerri-Ann Pottharst","country":"Australia","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Natalie Cook","country":"Australia","medals":{"gold":1,"silver":0,"bronze":0,"total":1},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/6_in.json b/olympics/testdata/tests/top-athletes-in-sport/6_in.json new file mode 100644 index 0000000..ad6d081 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/6_in.json @@ -0,0 +1 @@ +{"sport": "Judo", "limit": 2} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/6_out.json b/olympics/testdata/tests/top-athletes-in-sport/6_out.json new file mode 100644 index 0000000..1c7c26a --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/6_out.json @@ -0,0 +1 @@ +[{"athlete":"Ryoko Tamura-Tani","country":"Japan","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":0,"bronze":1,"total":1}}},{"athlete":"Xian Dongmei","country":"China","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/7_in.json b/olympics/testdata/tests/top-athletes-in-sport/7_in.json new file mode 100644 index 0000000..f0d300b --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/7_in.json @@ -0,0 +1 @@ +{"sport": "Nordic Combined", "limit": 8} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/7_out.json b/olympics/testdata/tests/top-athletes-in-sport/7_out.json new file mode 100644 index 0000000..d20ea35 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/7_out.json @@ -0,0 +1 @@ +[{"athlete":"Felix Gottwald","country":"Austria","medals":{"gold":3,"silver":1,"bronze":3,"total":7},"medals_by_year":{"2002":{"gold":0,"silver":0,"bronze":3,"total":3},"2006":{"gold":2,"silver":1,"bronze":0,"total":3},"2010":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Samppa Lajunen","country":"Finland","medals":{"gold":3,"silver":0,"bronze":0,"total":3},"medals_by_year":{"2002":{"gold":3,"silver":0,"bronze":0,"total":3}}},{"athlete":"Mario Stecher","country":"Austria","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2002":{"gold":0,"silver":0,"bronze":1,"total":1},"2006":{"gold":1,"silver":0,"bronze":0,"total":1},"2010":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Georg Hettich","country":"Germany","medals":{"gold":1,"silver":2,"bronze":1,"total":4},"medals_by_year":{"2002":{"gold":0,"silver":1,"bronze":0,"total":1},"2006":{"gold":1,"silver":1,"bronze":1,"total":3}}},{"athlete":"Jaakko Tallus","country":"Finland","medals":{"gold":1,"silver":1,"bronze":1,"total":3},"medals_by_year":{"2002":{"gold":1,"silver":1,"bronze":0,"total":2},"2006":{"gold":0,"silver":0,"bronze":1,"total":1}}},{"athlete":"Bill Demong","country":"United States","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2010":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Bernhard Gruber","country":"Austria","medals":{"gold":1,"silver":0,"bronze":1,"total":2},"medals_by_year":{"2010":{"gold":1,"silver":0,"bronze":1,"total":2}}},{"athlete":"Christoph Bieler","country":"Austria","medals":{"gold":1,"silver":0,"bronze":1,"total":2},"medals_by_year":{"2002":{"gold":0,"silver":0,"bronze":1,"total":1},"2006":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/8_in.json b/olympics/testdata/tests/top-athletes-in-sport/8_in.json new file mode 100644 index 0000000..9733475 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/8_in.json @@ -0,0 +1 @@ +{"sport": "Boxing", "limit": 9} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/8_out.json b/olympics/testdata/tests/top-athletes-in-sport/8_out.json new file mode 100644 index 0000000..141a62e --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/8_out.json @@ -0,0 +1 @@ +[{"athlete":"Zou Shiming","country":"China","medals":{"gold":2,"silver":0,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Mario Kindelán","country":"Cuba","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Guillermo Rigondeaux","country":"Cuba","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Aleksey Tishchenko","country":"Russia","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Vasyl Lomachenko","country":"Ukraine","medals":{"gold":2,"silver":0,"bronze":0,"total":2},"medals_by_year":{"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Roberto Cammarelle","country":"Italy","medals":{"gold":1,"silver":1,"bronze":1,"total":3},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Gaydarbek Gaydarbekov","country":"Russia","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2004":{"gold":1,"silver":0,"bronze":0,"total":1}}},{"athlete":"Manus Boonjumnong","country":"Thailand","medals":{"gold":1,"silver":1,"bronze":0,"total":2},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Roniel Iglesias","country":"Cuba","medals":{"gold":1,"silver":0,"bronze":1,"total":2},"medals_by_year":{"2008":{"gold":0,"silver":0,"bronze":1,"total":1},"2012":{"gold":1,"silver":0,"bronze":0,"total":1}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/9_in.json b/olympics/testdata/tests/top-athletes-in-sport/9_in.json new file mode 100644 index 0000000..a54e665 --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/9_in.json @@ -0,0 +1 @@ +{"sport": "Athletics", "limit": 8} \ No newline at end of file diff --git a/olympics/testdata/tests/top-athletes-in-sport/9_out.json b/olympics/testdata/tests/top-athletes-in-sport/9_out.json new file mode 100644 index 0000000..c17736e --- /dev/null +++ b/olympics/testdata/tests/top-athletes-in-sport/9_out.json @@ -0,0 +1 @@ +[{"athlete":"Usain Bolt","country":"Jamaica","medals":{"gold":6,"silver":0,"bronze":0,"total":6},"medals_by_year":{"2008":{"gold":3,"silver":0,"bronze":0,"total":3},"2012":{"gold":3,"silver":0,"bronze":0,"total":3}}},{"athlete":"Allyson Felix","country":"United States","medals":{"gold":4,"silver":2,"bronze":0,"total":6},"medals_by_year":{"2004":{"gold":0,"silver":1,"bronze":0,"total":1},"2008":{"gold":1,"silver":1,"bronze":0,"total":2},"2012":{"gold":3,"silver":0,"bronze":0,"total":3}}},{"athlete":"Sanya Richards-Ross","country":"United States","medals":{"gold":4,"silver":0,"bronze":1,"total":5},"medals_by_year":{"2004":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":1,"silver":0,"bronze":1,"total":2},"2012":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Veronica Campbell-Brown","country":"Jamaica","medals":{"gold":3,"silver":2,"bronze":2,"total":7},"medals_by_year":{"2000":{"gold":0,"silver":1,"bronze":0,"total":1},"2004":{"gold":2,"silver":0,"bronze":1,"total":3},"2008":{"gold":1,"silver":0,"bronze":0,"total":1},"2012":{"gold":0,"silver":1,"bronze":1,"total":2}}},{"athlete":"Kenenisa Bekele","country":"Ethiopia","medals":{"gold":3,"silver":1,"bronze":0,"total":4},"medals_by_year":{"2004":{"gold":1,"silver":1,"bronze":0,"total":2},"2008":{"gold":2,"silver":0,"bronze":0,"total":2}}},{"athlete":"Jeremy Wariner","country":"United States","medals":{"gold":3,"silver":1,"bronze":0,"total":4},"medals_by_year":{"2004":{"gold":2,"silver":0,"bronze":0,"total":2},"2008":{"gold":1,"silver":1,"bronze":0,"total":2}}},{"athlete":"Angelo Taylor","country":"United States","medals":{"gold":3,"silver":1,"bronze":0,"total":4},"medals_by_year":{"2000":{"gold":1,"silver":0,"bronze":0,"total":1},"2008":{"gold":2,"silver":0,"bronze":0,"total":2},"2012":{"gold":0,"silver":1,"bronze":0,"total":1}}},{"athlete":"Tirunesh Dibaba","country":"Ethiopia","medals":{"gold":3,"silver":0,"bronze":2,"total":5},"medals_by_year":{"2004":{"gold":0,"silver":0,"bronze":1,"total":1},"2008":{"gold":2,"silver":0,"bronze":0,"total":2},"2012":{"gold":1,"silver":0,"bronze":1,"total":2}}}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/0_in.json b/olympics/testdata/tests/top-countries-in-year/0_in.json new file mode 100644 index 0000000..50fd2c3 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/0_in.json @@ -0,0 +1 @@ +{"year": 2000, "limit": 100} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/0_out.json b/olympics/testdata/tests/top-countries-in-year/0_out.json new file mode 100644 index 0000000..8e5beb0 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/0_out.json @@ -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},{"country":"China","gold":39,"silver":23,"bronze":17,"total":79},{"country":"Germany","gold":31,"silver":23,"bronze":64,"total":118},{"country":"Netherlands","gold":27,"silver":29,"bronze":23,"total":79},{"country":"Romania","gold":27,"silver":6,"bronze":13,"total":46},{"country":"Hungary","gold":25,"silver":24,"bronze":4,"total":53},{"country":"France","gold":22,"silver":30,"bronze":14,"total":66},{"country":"Great Britain","gold":22,"silver":20,"bronze":12,"total":54},{"country":"Italy","gold":22,"silver":14,"bronze":29,"total":65},{"country":"Norway","gold":20,"silver":4,"bronze":19,"total":43},{"country":"Cuba","gold":18,"silver":35,"bronze":12,"total":65},{"country":"Denmark","gold":18,"silver":3,"bronze":4,"total":25},{"country":"Cameroon","gold":18,"silver":0,"bronze":0,"total":18},{"country":"South Korea","gold":12,"silver":26,"bronze":35,"total":73},{"country":"Serbia and Montenegro","gold":11,"silver":1,"bronze":13,"total":25},{"country":"Poland","gold":7,"silver":10,"bronze":7,"total":24},{"country":"Nigeria","gold":6,"silver":2,"bronze":0,"total":8},{"country":"Bahamas","gold":6,"silver":0,"bronze":5,"total":11},{"country":"Japan","gold":5,"silver":31,"bronze":8,"total":44},{"country":"Bulgaria","gold":5,"silver":6,"bronze":2,"total":13},{"country":"Sweden","gold":4,"silver":20,"bronze":8,"total":32},{"country":"Greece","gold":4,"silver":6,"bronze":8,"total":18},{"country":"Canada","gold":4,"silver":4,"bronze":23,"total":31},{"country":"Ethiopia","gold":4,"silver":1,"bronze":3,"total":8},{"country":"Ukraine","gold":3,"silver":20,"bronze":12,"total":35},{"country":"Spain","gold":3,"silver":19,"bronze":20,"total":42},{"country":"Belarus","gold":3,"silver":8,"bronze":11,"total":22},{"country":"Kazakhstan","gold":3,"silver":4,"bronze":0,"total":7},{"country":"Finland","gold":3,"silver":1,"bronze":1,"total":5},{"country":"Austria","gold":3,"silver":1,"bronze":0,"total":4},{"country":"Turkey","gold":3,"silver":0,"bronze":2,"total":5},{"country":"Iran","gold":3,"silver":0,"bronze":1,"total":4},{"country":"Slovenia","gold":3,"silver":0,"bronze":0,"total":3},{"country":"Indonesia","gold":2,"silver":4,"bronze":2,"total":8},{"country":"Czech Republic","gold":2,"silver":3,"bronze":4,"total":9},{"country":"Kenya","gold":2,"silver":3,"bronze":2,"total":7},{"country":"Slovakia","gold":2,"silver":3,"bronze":1,"total":6},{"country":"Lithuania","gold":2,"silver":0,"bronze":15,"total":17},{"country":"Azerbaijan","gold":2,"silver":0,"bronze":1,"total":3},{"country":"Switzerland","gold":1,"silver":11,"bronze":2,"total":14},{"country":"Mexico","gold":1,"silver":2,"bronze":3,"total":6},{"country":"Algeria","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Uzbekistan","gold":1,"silver":1,"bronze":2,"total":4},{"country":"Latvia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Croatia","gold":1,"silver":0,"bronze":9,"total":10},{"country":"New Zealand","gold":1,"silver":0,"bronze":3,"total":4},{"country":"Estonia","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Thailand","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Colombia","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Mozambique","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Jamaica","gold":0,"silver":20,"bronze":3,"total":23},{"country":"Argentina","gold":0,"silver":17,"bronze":3,"total":20},{"country":"Brazil","gold":0,"silver":12,"bronze":36,"total":48},{"country":"Belgium","gold":0,"silver":3,"bronze":4,"total":7},{"country":"South Africa","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Chinese Taipei","gold":0,"silver":1,"bronze":4,"total":5},{"country":"Morocco","gold":0,"silver":1,"bronze":4,"total":5},{"country":"North Korea","gold":0,"silver":1,"bronze":3,"total":4},{"country":"Moldova","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Saudi Arabia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Trinidad and Tobago","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Ireland","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Sri Lanka","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Uruguay","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Vietnam","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Chile","gold":0,"silver":0,"bronze":17,"total":17},{"country":"Georgia","gold":0,"silver":0,"bronze":6,"total":6},{"country":"Costa Rica","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Portugal","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Armenia","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Barbados","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Iceland","gold":0,"silver":0,"bronze":1,"total":1},{"country":"India","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Israel","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Kuwait","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Kyrgyzstan","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Macedonia","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Qatar","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/10_in.json b/olympics/testdata/tests/top-countries-in-year/10_in.json new file mode 100644 index 0000000..c1174da --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/10_in.json @@ -0,0 +1 @@ +{"year": 2000, "limit": 58} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/10_out.json b/olympics/testdata/tests/top-countries-in-year/10_out.json new file mode 100644 index 0000000..cfc6425 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/10_out.json @@ -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},{"country":"China","gold":39,"silver":23,"bronze":17,"total":79},{"country":"Germany","gold":31,"silver":23,"bronze":64,"total":118},{"country":"Netherlands","gold":27,"silver":29,"bronze":23,"total":79},{"country":"Romania","gold":27,"silver":6,"bronze":13,"total":46},{"country":"Hungary","gold":25,"silver":24,"bronze":4,"total":53},{"country":"France","gold":22,"silver":30,"bronze":14,"total":66},{"country":"Great Britain","gold":22,"silver":20,"bronze":12,"total":54},{"country":"Italy","gold":22,"silver":14,"bronze":29,"total":65},{"country":"Norway","gold":20,"silver":4,"bronze":19,"total":43},{"country":"Cuba","gold":18,"silver":35,"bronze":12,"total":65},{"country":"Denmark","gold":18,"silver":3,"bronze":4,"total":25},{"country":"Cameroon","gold":18,"silver":0,"bronze":0,"total":18},{"country":"South Korea","gold":12,"silver":26,"bronze":35,"total":73},{"country":"Serbia and Montenegro","gold":11,"silver":1,"bronze":13,"total":25},{"country":"Poland","gold":7,"silver":10,"bronze":7,"total":24},{"country":"Nigeria","gold":6,"silver":2,"bronze":0,"total":8},{"country":"Bahamas","gold":6,"silver":0,"bronze":5,"total":11},{"country":"Japan","gold":5,"silver":31,"bronze":8,"total":44},{"country":"Bulgaria","gold":5,"silver":6,"bronze":2,"total":13},{"country":"Sweden","gold":4,"silver":20,"bronze":8,"total":32},{"country":"Greece","gold":4,"silver":6,"bronze":8,"total":18},{"country":"Canada","gold":4,"silver":4,"bronze":23,"total":31},{"country":"Ethiopia","gold":4,"silver":1,"bronze":3,"total":8},{"country":"Ukraine","gold":3,"silver":20,"bronze":12,"total":35},{"country":"Spain","gold":3,"silver":19,"bronze":20,"total":42},{"country":"Belarus","gold":3,"silver":8,"bronze":11,"total":22},{"country":"Kazakhstan","gold":3,"silver":4,"bronze":0,"total":7},{"country":"Finland","gold":3,"silver":1,"bronze":1,"total":5},{"country":"Austria","gold":3,"silver":1,"bronze":0,"total":4},{"country":"Turkey","gold":3,"silver":0,"bronze":2,"total":5},{"country":"Iran","gold":3,"silver":0,"bronze":1,"total":4},{"country":"Slovenia","gold":3,"silver":0,"bronze":0,"total":3},{"country":"Indonesia","gold":2,"silver":4,"bronze":2,"total":8},{"country":"Czech Republic","gold":2,"silver":3,"bronze":4,"total":9},{"country":"Kenya","gold":2,"silver":3,"bronze":2,"total":7},{"country":"Slovakia","gold":2,"silver":3,"bronze":1,"total":6},{"country":"Lithuania","gold":2,"silver":0,"bronze":15,"total":17},{"country":"Azerbaijan","gold":2,"silver":0,"bronze":1,"total":3},{"country":"Switzerland","gold":1,"silver":11,"bronze":2,"total":14},{"country":"Mexico","gold":1,"silver":2,"bronze":3,"total":6},{"country":"Algeria","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Uzbekistan","gold":1,"silver":1,"bronze":2,"total":4},{"country":"Latvia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Croatia","gold":1,"silver":0,"bronze":9,"total":10},{"country":"New Zealand","gold":1,"silver":0,"bronze":3,"total":4},{"country":"Estonia","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Thailand","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Colombia","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Mozambique","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Jamaica","gold":0,"silver":20,"bronze":3,"total":23},{"country":"Argentina","gold":0,"silver":17,"bronze":3,"total":20},{"country":"Brazil","gold":0,"silver":12,"bronze":36,"total":48},{"country":"Belgium","gold":0,"silver":3,"bronze":4,"total":7},{"country":"South Africa","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Chinese Taipei","gold":0,"silver":1,"bronze":4,"total":5}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/11_in.json b/olympics/testdata/tests/top-countries-in-year/11_in.json new file mode 100644 index 0000000..ae7620f --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/11_in.json @@ -0,0 +1 @@ +{"year": 2008, "limit": 42} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/11_out.json b/olympics/testdata/tests/top-countries-in-year/11_out.json new file mode 100644 index 0000000..32e0ebb --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/11_out.json @@ -0,0 +1 @@ +[{"country":"United States","gold":127,"silver":109,"bronze":81,"total":317},{"country":"China","gold":74,"silver":53,"bronze":57,"total":184},{"country":"Russia","gold":43,"silver":46,"bronze":57,"total":146},{"country":"Germany","gold":42,"silver":16,"bronze":41,"total":99},{"country":"South Korea","gold":41,"silver":11,"bronze":26,"total":78},{"country":"Netherlands","gold":39,"silver":18,"bronze":4,"total":61},{"country":"Australia","gold":31,"silver":42,"bronze":76,"total":149},{"country":"Great Britain","gold":31,"silver":25,"bronze":21,"total":77},{"country":"France","gold":25,"silver":24,"bronze":28,"total":77},{"country":"Japan","gold":23,"silver":11,"bronze":17,"total":51},{"country":"Argentina","gold":20,"silver":0,"bronze":31,"total":51},{"country":"Hungary","gold":16,"silver":8,"bronze":3,"total":27},{"country":"Norway","gold":16,"silver":5,"bronze":1,"total":22},{"country":"Brazil","gold":14,"silver":34,"bronze":26,"total":74},{"country":"Canada","gold":11,"silver":13,"bronze":10,"total":34},{"country":"Ukraine","gold":10,"silver":5,"bronze":16,"total":31},{"country":"Jamaica","gold":10,"silver":3,"bronze":6,"total":19},{"country":"Italy","gold":8,"silver":14,"bronze":21,"total":43},{"country":"Belarus","gold":8,"silver":5,"bronze":17,"total":30},{"country":"Spain","gold":7,"silver":47,"bronze":16,"total":70},{"country":"Poland","gold":6,"silver":13,"bronze":1,"total":20},{"country":"Denmark","gold":6,"silver":7,"bronze":6,"total":19},{"country":"Kenya","gold":6,"silver":4,"bronze":4,"total":14},{"country":"Romania","gold":5,"silver":1,"bronze":16,"total":22},{"country":"Slovakia","gold":4,"silver":5,"bronze":1,"total":10},{"country":"New Zealand","gold":4,"silver":2,"bronze":9,"total":15},{"country":"Ethiopia","gold":4,"silver":1,"bronze":2,"total":7},{"country":"Czech Republic","gold":3,"silver":4,"bronze":0,"total":7},{"country":"Switzerland","gold":3,"silver":1,"bronze":7,"total":11},{"country":"Georgia","gold":3,"silver":0,"bronze":3,"total":6},{"country":"Cuba","gold":2,"silver":34,"bronze":11,"total":47},{"country":"Kazakhstan","gold":2,"silver":4,"bronze":7,"total":13},{"country":"Indonesia","gold":2,"silver":2,"bronze":3,"total":7},{"country":"Mongolia","gold":2,"silver":2,"bronze":0,"total":4},{"country":"Thailand","gold":2,"silver":2,"bronze":0,"total":4},{"country":"North Korea","gold":2,"silver":1,"bronze":3,"total":6},{"country":"Mexico","gold":2,"silver":0,"bronze":2,"total":4},{"country":"Turkey","gold":1,"silver":4,"bronze":3,"total":8},{"country":"Belgium","gold":1,"silver":4,"bronze":0,"total":5},{"country":"Zimbabwe","gold":1,"silver":3,"bronze":0,"total":4},{"country":"Azerbaijan","gold":1,"silver":2,"bronze":4,"total":7},{"country":"Uzbekistan","gold":1,"silver":2,"bronze":3,"total":6}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/12_in.json b/olympics/testdata/tests/top-countries-in-year/12_in.json new file mode 100644 index 0000000..8b29a5f --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/12_in.json @@ -0,0 +1 @@ +{"year": 2000, "limit": 9} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/12_out.json b/olympics/testdata/tests/top-countries-in-year/12_out.json new file mode 100644 index 0000000..9bcdaaf --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/12_out.json @@ -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},{"country":"China","gold":39,"silver":23,"bronze":17,"total":79},{"country":"Germany","gold":31,"silver":23,"bronze":64,"total":118},{"country":"Netherlands","gold":27,"silver":29,"bronze":23,"total":79},{"country":"Romania","gold":27,"silver":6,"bronze":13,"total":46},{"country":"Hungary","gold":25,"silver":24,"bronze":4,"total":53},{"country":"France","gold":22,"silver":30,"bronze":14,"total":66}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/13_in.json b/olympics/testdata/tests/top-countries-in-year/13_in.json new file mode 100644 index 0000000..ac6c642 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/13_in.json @@ -0,0 +1 @@ +{"year": 2008, "limit": 95} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/13_out.json b/olympics/testdata/tests/top-countries-in-year/13_out.json new file mode 100644 index 0000000..0a912d7 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/13_out.json @@ -0,0 +1 @@ +[{"country":"United States","gold":127,"silver":109,"bronze":81,"total":317},{"country":"China","gold":74,"silver":53,"bronze":57,"total":184},{"country":"Russia","gold":43,"silver":46,"bronze":57,"total":146},{"country":"Germany","gold":42,"silver":16,"bronze":41,"total":99},{"country":"South Korea","gold":41,"silver":11,"bronze":26,"total":78},{"country":"Netherlands","gold":39,"silver":18,"bronze":4,"total":61},{"country":"Australia","gold":31,"silver":42,"bronze":76,"total":149},{"country":"Great Britain","gold":31,"silver":25,"bronze":21,"total":77},{"country":"France","gold":25,"silver":24,"bronze":28,"total":77},{"country":"Japan","gold":23,"silver":11,"bronze":17,"total":51},{"country":"Argentina","gold":20,"silver":0,"bronze":31,"total":51},{"country":"Hungary","gold":16,"silver":8,"bronze":3,"total":27},{"country":"Norway","gold":16,"silver":5,"bronze":1,"total":22},{"country":"Brazil","gold":14,"silver":34,"bronze":26,"total":74},{"country":"Canada","gold":11,"silver":13,"bronze":10,"total":34},{"country":"Ukraine","gold":10,"silver":5,"bronze":16,"total":31},{"country":"Jamaica","gold":10,"silver":3,"bronze":6,"total":19},{"country":"Italy","gold":8,"silver":14,"bronze":21,"total":43},{"country":"Belarus","gold":8,"silver":5,"bronze":17,"total":30},{"country":"Spain","gold":7,"silver":47,"bronze":16,"total":70},{"country":"Poland","gold":6,"silver":13,"bronze":1,"total":20},{"country":"Denmark","gold":6,"silver":7,"bronze":6,"total":19},{"country":"Kenya","gold":6,"silver":4,"bronze":4,"total":14},{"country":"Romania","gold":5,"silver":1,"bronze":16,"total":22},{"country":"Slovakia","gold":4,"silver":5,"bronze":1,"total":10},{"country":"New Zealand","gold":4,"silver":2,"bronze":9,"total":15},{"country":"Ethiopia","gold":4,"silver":1,"bronze":2,"total":7},{"country":"Czech Republic","gold":3,"silver":4,"bronze":0,"total":7},{"country":"Switzerland","gold":3,"silver":1,"bronze":7,"total":11},{"country":"Georgia","gold":3,"silver":0,"bronze":3,"total":6},{"country":"Cuba","gold":2,"silver":34,"bronze":11,"total":47},{"country":"Kazakhstan","gold":2,"silver":4,"bronze":7,"total":13},{"country":"Indonesia","gold":2,"silver":2,"bronze":3,"total":7},{"country":"Mongolia","gold":2,"silver":2,"bronze":0,"total":4},{"country":"Thailand","gold":2,"silver":2,"bronze":0,"total":4},{"country":"North Korea","gold":2,"silver":1,"bronze":3,"total":6},{"country":"Mexico","gold":2,"silver":0,"bronze":2,"total":4},{"country":"Turkey","gold":1,"silver":4,"bronze":3,"total":8},{"country":"Belgium","gold":1,"silver":4,"bronze":0,"total":5},{"country":"Zimbabwe","gold":1,"silver":3,"bronze":0,"total":4},{"country":"Azerbaijan","gold":1,"silver":2,"bronze":4,"total":7},{"country":"Uzbekistan","gold":1,"silver":2,"bronze":3,"total":6},{"country":"Finland","gold":1,"silver":2,"bronze":2,"total":5},{"country":"Slovenia","gold":1,"silver":2,"bronze":2,"total":5},{"country":"Estonia","gold":1,"silver":2,"bronze":0,"total":3},{"country":"Bulgaria","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Latvia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Dominican Republic","gold":1,"silver":1,"bronze":0,"total":2},{"country":"Portugal","gold":1,"silver":1,"bronze":0,"total":2},{"country":"India","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Iran","gold":1,"silver":0,"bronze":1,"total":2},{"country":"Cameroon","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Panama","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Tunisia","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Nigeria","gold":0,"silver":16,"bronze":7,"total":23},{"country":"Iceland","gold":0,"silver":14,"bronze":0,"total":14},{"country":"Bahamas","gold":0,"silver":6,"bronze":1,"total":7},{"country":"Trinidad and Tobago","gold":0,"silver":6,"bronze":0,"total":6},{"country":"Sweden","gold":0,"silver":5,"bronze":2,"total":7},{"country":"Greece","gold":0,"silver":3,"bronze":4,"total":7},{"country":"Singapore","gold":0,"silver":3,"bronze":0,"total":3},{"country":"Croatia","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Lithuania","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Serbia","gold":0,"silver":1,"bronze":14,"total":15},{"country":"Austria","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Ireland","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Algeria","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Colombia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Kyrgyzstan","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Morocco","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Tajikistan","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Chile","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Ecuador","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Malaysia","gold":0,"silver":1,"bronze":0,"total":1},{"country":"South Africa","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Sudan","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Vietnam","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Armenia","gold":0,"silver":0,"bronze":6,"total":6},{"country":"Chinese Taipei","gold":0,"silver":0,"bronze":4,"total":4},{"country":"Afghanistan","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Egypt","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Israel","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Mauritius","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Moldova","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Togo","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Venezuela","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/14_in.json b/olympics/testdata/tests/top-countries-in-year/14_in.json new file mode 100644 index 0000000..84bc23a --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/14_in.json @@ -0,0 +1 @@ +{"year": 2000, "limit": 11} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/14_out.json b/olympics/testdata/tests/top-countries-in-year/14_out.json new file mode 100644 index 0000000..cd82346 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/14_out.json @@ -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},{"country":"China","gold":39,"silver":23,"bronze":17,"total":79},{"country":"Germany","gold":31,"silver":23,"bronze":64,"total":118},{"country":"Netherlands","gold":27,"silver":29,"bronze":23,"total":79},{"country":"Romania","gold":27,"silver":6,"bronze":13,"total":46},{"country":"Hungary","gold":25,"silver":24,"bronze":4,"total":53},{"country":"France","gold":22,"silver":30,"bronze":14,"total":66},{"country":"Great Britain","gold":22,"silver":20,"bronze":12,"total":54},{"country":"Italy","gold":22,"silver":14,"bronze":29,"total":65}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/15_in.json b/olympics/testdata/tests/top-countries-in-year/15_in.json new file mode 100644 index 0000000..88c9f2d --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/15_in.json @@ -0,0 +1 @@ +{"year": 2004, "limit": 32} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/15_out.json b/olympics/testdata/tests/top-countries-in-year/15_out.json new file mode 100644 index 0000000..0b5fd61 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/15_out.json @@ -0,0 +1 @@ +[{"country":"United States","gold":118,"silver":75,"bronze":72,"total":265},{"country":"China","gold":52,"silver":27,"bronze":15,"total":94},{"country":"Australia","gold":49,"silver":77,"bronze":30,"total":156},{"country":"Russia","gold":47,"silver":47,"bronze":97,"total":191},{"country":"Germany","gold":41,"silver":45,"bronze":63,"total":149},{"country":"Cuba","gold":32,"silver":8,"bronze":22,"total":62},{"country":"Argentina","gold":28,"silver":0,"bronze":21,"total":49},{"country":"Italy","gold":24,"silver":41,"bronze":39,"total":104},{"country":"Hungary","gold":24,"silver":12,"bronze":4,"total":40},{"country":"Romania","gold":23,"silver":5,"bronze":11,"total":39},{"country":"Japan","gold":21,"silver":20,"bronze":52,"total":93},{"country":"France","gold":21,"silver":10,"bronze":22,"total":53},{"country":"Denmark","gold":19,"silver":0,"bronze":10,"total":29},{"country":"Brazil","gold":18,"silver":19,"bronze":3,"total":40},{"country":"Great Britain","gold":17,"silver":25,"bronze":15,"total":57},{"country":"Croatia","gold":15,"silver":3,"bronze":3,"total":21},{"country":"South Korea","gold":14,"silver":28,"bronze":10,"total":52},{"country":"Ukraine","gold":9,"silver":8,"bronze":31,"total":48},{"country":"Greece","gold":8,"silver":18,"bronze":5,"total":31},{"country":"Jamaica","gold":6,"silver":1,"bronze":6,"total":13},{"country":"Sweden","gold":5,"silver":5,"bronze":2,"total":12},{"country":"Norway","gold":5,"silver":0,"bronze":2,"total":7},{"country":"Netherlands","gold":4,"silver":51,"bronze":22,"total":77},{"country":"Spain","gold":4,"silver":17,"bronze":8,"total":29},{"country":"South Africa","gold":4,"silver":3,"bronze":3,"total":10},{"country":"Poland","gold":4,"silver":2,"bronze":6,"total":12},{"country":"New Zealand","gold":4,"silver":2,"bronze":0,"total":6},{"country":"Canada","gold":3,"silver":10,"bronze":4,"total":17},{"country":"Austria","gold":3,"silver":4,"bronze":1,"total":8},{"country":"Turkey","gold":3,"silver":3,"bronze":4,"total":10},{"country":"Slovakia","gold":3,"silver":2,"bronze":5,"total":10},{"country":"Thailand","gold":3,"silver":1,"bronze":4,"total":8}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/16_in.json b/olympics/testdata/tests/top-countries-in-year/16_in.json new file mode 100644 index 0000000..233363a --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/16_in.json @@ -0,0 +1 @@ +{"year": 2010, "limit": 10} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/16_out.json b/olympics/testdata/tests/top-countries-in-year/16_out.json new file mode 100644 index 0000000..75cb1e2 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/16_out.json @@ -0,0 +1 @@ +[{"country":"Canada","gold":67,"silver":15,"bronze":8,"total":90},{"country":"Norway","gold":16,"silver":14,"bronze":9,"total":39},{"country":"Germany","gold":15,"silver":24,"bronze":15,"total":54},{"country":"United States","gold":12,"silver":63,"bronze":22,"total":97},{"country":"Austria","gold":11,"silver":9,"bronze":6,"total":26},{"country":"Sweden","gold":11,"silver":3,"bronze":4,"total":18},{"country":"China","gold":9,"silver":3,"bronze":7,"total":19},{"country":"South Korea","gold":6,"silver":10,"bronze":2,"total":18},{"country":"Russia","gold":6,"silver":5,"bronze":14,"total":25},{"country":"Switzerland","gold":6,"silver":0,"bronze":6,"total":12}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/17_in.json b/olympics/testdata/tests/top-countries-in-year/17_in.json new file mode 100644 index 0000000..c760555 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/17_in.json @@ -0,0 +1 @@ +{"year": 2010, "limit": 99} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/17_out.json b/olympics/testdata/tests/top-countries-in-year/17_out.json new file mode 100644 index 0000000..fef25a2 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/17_out.json @@ -0,0 +1 @@ +[{"country":"Canada","gold":67,"silver":15,"bronze":8,"total":90},{"country":"Norway","gold":16,"silver":14,"bronze":9,"total":39},{"country":"Germany","gold":15,"silver":24,"bronze":15,"total":54},{"country":"United States","gold":12,"silver":63,"bronze":22,"total":97},{"country":"Austria","gold":11,"silver":9,"bronze":6,"total":26},{"country":"Sweden","gold":11,"silver":3,"bronze":4,"total":18},{"country":"China","gold":9,"silver":3,"bronze":7,"total":19},{"country":"South Korea","gold":6,"silver":10,"bronze":2,"total":18},{"country":"Russia","gold":6,"silver":5,"bronze":14,"total":25},{"country":"Switzerland","gold":6,"silver":0,"bronze":6,"total":12},{"country":"Netherlands","gold":4,"silver":1,"bronze":6,"total":11},{"country":"France","gold":2,"silver":6,"bronze":6,"total":14},{"country":"Australia","gold":2,"silver":1,"bronze":0,"total":3},{"country":"Czech Republic","gold":2,"silver":0,"bronze":7,"total":9},{"country":"Poland","gold":1,"silver":3,"bronze":4,"total":8},{"country":"Italy","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Belarus","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Slovakia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Great Britain","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Japan","gold":0,"silver":5,"bronze":2,"total":7},{"country":"Latvia","gold":0,"silver":3,"bronze":0,"total":3},{"country":"Croatia","gold":0,"silver":2,"bronze":1,"total":3},{"country":"Slovenia","gold":0,"silver":2,"bronze":1,"total":3},{"country":"Finland","gold":0,"silver":1,"bronze":46,"total":47},{"country":"Estonia","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Kazakhstan","gold":0,"silver":1,"bronze":0,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/18_in.json b/olympics/testdata/tests/top-countries-in-year/18_in.json new file mode 100644 index 0000000..dc6fb57 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/18_in.json @@ -0,0 +1 @@ +{"year": 2004, "limit": 84} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/18_out.json b/olympics/testdata/tests/top-countries-in-year/18_out.json new file mode 100644 index 0000000..17a09da --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/18_out.json @@ -0,0 +1 @@ +[{"country":"United States","gold":118,"silver":75,"bronze":72,"total":265},{"country":"China","gold":52,"silver":27,"bronze":15,"total":94},{"country":"Australia","gold":49,"silver":77,"bronze":30,"total":156},{"country":"Russia","gold":47,"silver":47,"bronze":97,"total":191},{"country":"Germany","gold":41,"silver":45,"bronze":63,"total":149},{"country":"Cuba","gold":32,"silver":8,"bronze":22,"total":62},{"country":"Argentina","gold":28,"silver":0,"bronze":21,"total":49},{"country":"Italy","gold":24,"silver":41,"bronze":39,"total":104},{"country":"Hungary","gold":24,"silver":12,"bronze":4,"total":40},{"country":"Romania","gold":23,"silver":5,"bronze":11,"total":39},{"country":"Japan","gold":21,"silver":20,"bronze":52,"total":93},{"country":"France","gold":21,"silver":10,"bronze":22,"total":53},{"country":"Denmark","gold":19,"silver":0,"bronze":10,"total":29},{"country":"Brazil","gold":18,"silver":19,"bronze":3,"total":40},{"country":"Great Britain","gold":17,"silver":25,"bronze":15,"total":57},{"country":"Croatia","gold":15,"silver":3,"bronze":3,"total":21},{"country":"South Korea","gold":14,"silver":28,"bronze":10,"total":52},{"country":"Ukraine","gold":9,"silver":8,"bronze":31,"total":48},{"country":"Greece","gold":8,"silver":18,"bronze":5,"total":31},{"country":"Jamaica","gold":6,"silver":1,"bronze":6,"total":13},{"country":"Sweden","gold":5,"silver":5,"bronze":2,"total":12},{"country":"Norway","gold":5,"silver":0,"bronze":2,"total":7},{"country":"Netherlands","gold":4,"silver":51,"bronze":22,"total":77},{"country":"Spain","gold":4,"silver":17,"bronze":8,"total":29},{"country":"South Africa","gold":4,"silver":3,"bronze":3,"total":10},{"country":"Poland","gold":4,"silver":2,"bronze":6,"total":12},{"country":"New Zealand","gold":4,"silver":2,"bronze":0,"total":6},{"country":"Canada","gold":3,"silver":10,"bronze":4,"total":17},{"country":"Austria","gold":3,"silver":4,"bronze":1,"total":8},{"country":"Turkey","gold":3,"silver":3,"bronze":4,"total":10},{"country":"Slovakia","gold":3,"silver":2,"bronze":5,"total":10},{"country":"Thailand","gold":3,"silver":1,"bronze":4,"total":8},{"country":"Chile","gold":3,"silver":0,"bronze":1,"total":4},{"country":"Belarus","gold":2,"silver":6,"bronze":9,"total":17},{"country":"Chinese Taipei","gold":2,"silver":4,"bronze":3,"total":9},{"country":"Ethiopia","gold":2,"silver":3,"bronze":2,"total":7},{"country":"Iran","gold":2,"silver":2,"bronze":2,"total":6},{"country":"Georgia","gold":2,"silver":2,"bronze":0,"total":4},{"country":"Bulgaria","gold":2,"silver":1,"bronze":14,"total":17},{"country":"Uzbekistan","gold":2,"silver":1,"bronze":2,"total":5},{"country":"Morocco","gold":2,"silver":1,"bronze":0,"total":3},{"country":"Czech Republic","gold":1,"silver":6,"bronze":5,"total":12},{"country":"Kazakhstan","gold":1,"silver":4,"bronze":3,"total":8},{"country":"Kenya","gold":1,"silver":4,"bronze":2,"total":7},{"country":"Switzerland","gold":1,"silver":2,"bronze":4,"total":7},{"country":"Lithuania","gold":1,"silver":2,"bronze":0,"total":3},{"country":"Egypt","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Indonesia","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Zimbabwe","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Azerbaijan","gold":1,"silver":0,"bronze":4,"total":5},{"country":"Belgium","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Bahamas","gold":1,"silver":0,"bronze":1,"total":2},{"country":"Israel","gold":1,"silver":0,"bronze":1,"total":2},{"country":"Cameroon","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Dominican Republic","gold":1,"silver":0,"bronze":0,"total":1},{"country":"United Arab Emirates","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Paraguay","gold":0,"silver":17,"bronze":0,"total":17},{"country":"Serbia and Montenegro","gold":0,"silver":13,"bronze":0,"total":13},{"country":"North Korea","gold":0,"silver":4,"bronze":1,"total":5},{"country":"Latvia","gold":0,"silver":4,"bronze":0,"total":4},{"country":"Mexico","gold":0,"silver":3,"bronze":1,"total":4},{"country":"Slovenia","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Portugal","gold":0,"silver":2,"bronze":1,"total":3},{"country":"Finland","gold":0,"silver":2,"bronze":0,"total":2},{"country":"Hong Kong","gold":0,"silver":2,"bronze":0,"total":2},{"country":"Estonia","gold":0,"silver":1,"bronze":2,"total":3},{"country":"India","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Nigeria","gold":0,"silver":0,"bronze":8,"total":8},{"country":"Colombia","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Venezuela","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Eritrea","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Mongolia","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Syria","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Trinidad and Tobago","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/19_in.json b/olympics/testdata/tests/top-countries-in-year/19_in.json new file mode 100644 index 0000000..50fd2c3 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/19_in.json @@ -0,0 +1 @@ +{"year": 2000, "limit": 100} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/19_out.json b/olympics/testdata/tests/top-countries-in-year/19_out.json new file mode 100644 index 0000000..8e5beb0 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/19_out.json @@ -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},{"country":"China","gold":39,"silver":23,"bronze":17,"total":79},{"country":"Germany","gold":31,"silver":23,"bronze":64,"total":118},{"country":"Netherlands","gold":27,"silver":29,"bronze":23,"total":79},{"country":"Romania","gold":27,"silver":6,"bronze":13,"total":46},{"country":"Hungary","gold":25,"silver":24,"bronze":4,"total":53},{"country":"France","gold":22,"silver":30,"bronze":14,"total":66},{"country":"Great Britain","gold":22,"silver":20,"bronze":12,"total":54},{"country":"Italy","gold":22,"silver":14,"bronze":29,"total":65},{"country":"Norway","gold":20,"silver":4,"bronze":19,"total":43},{"country":"Cuba","gold":18,"silver":35,"bronze":12,"total":65},{"country":"Denmark","gold":18,"silver":3,"bronze":4,"total":25},{"country":"Cameroon","gold":18,"silver":0,"bronze":0,"total":18},{"country":"South Korea","gold":12,"silver":26,"bronze":35,"total":73},{"country":"Serbia and Montenegro","gold":11,"silver":1,"bronze":13,"total":25},{"country":"Poland","gold":7,"silver":10,"bronze":7,"total":24},{"country":"Nigeria","gold":6,"silver":2,"bronze":0,"total":8},{"country":"Bahamas","gold":6,"silver":0,"bronze":5,"total":11},{"country":"Japan","gold":5,"silver":31,"bronze":8,"total":44},{"country":"Bulgaria","gold":5,"silver":6,"bronze":2,"total":13},{"country":"Sweden","gold":4,"silver":20,"bronze":8,"total":32},{"country":"Greece","gold":4,"silver":6,"bronze":8,"total":18},{"country":"Canada","gold":4,"silver":4,"bronze":23,"total":31},{"country":"Ethiopia","gold":4,"silver":1,"bronze":3,"total":8},{"country":"Ukraine","gold":3,"silver":20,"bronze":12,"total":35},{"country":"Spain","gold":3,"silver":19,"bronze":20,"total":42},{"country":"Belarus","gold":3,"silver":8,"bronze":11,"total":22},{"country":"Kazakhstan","gold":3,"silver":4,"bronze":0,"total":7},{"country":"Finland","gold":3,"silver":1,"bronze":1,"total":5},{"country":"Austria","gold":3,"silver":1,"bronze":0,"total":4},{"country":"Turkey","gold":3,"silver":0,"bronze":2,"total":5},{"country":"Iran","gold":3,"silver":0,"bronze":1,"total":4},{"country":"Slovenia","gold":3,"silver":0,"bronze":0,"total":3},{"country":"Indonesia","gold":2,"silver":4,"bronze":2,"total":8},{"country":"Czech Republic","gold":2,"silver":3,"bronze":4,"total":9},{"country":"Kenya","gold":2,"silver":3,"bronze":2,"total":7},{"country":"Slovakia","gold":2,"silver":3,"bronze":1,"total":6},{"country":"Lithuania","gold":2,"silver":0,"bronze":15,"total":17},{"country":"Azerbaijan","gold":2,"silver":0,"bronze":1,"total":3},{"country":"Switzerland","gold":1,"silver":11,"bronze":2,"total":14},{"country":"Mexico","gold":1,"silver":2,"bronze":3,"total":6},{"country":"Algeria","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Uzbekistan","gold":1,"silver":1,"bronze":2,"total":4},{"country":"Latvia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Croatia","gold":1,"silver":0,"bronze":9,"total":10},{"country":"New Zealand","gold":1,"silver":0,"bronze":3,"total":4},{"country":"Estonia","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Thailand","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Colombia","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Mozambique","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Jamaica","gold":0,"silver":20,"bronze":3,"total":23},{"country":"Argentina","gold":0,"silver":17,"bronze":3,"total":20},{"country":"Brazil","gold":0,"silver":12,"bronze":36,"total":48},{"country":"Belgium","gold":0,"silver":3,"bronze":4,"total":7},{"country":"South Africa","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Chinese Taipei","gold":0,"silver":1,"bronze":4,"total":5},{"country":"Morocco","gold":0,"silver":1,"bronze":4,"total":5},{"country":"North Korea","gold":0,"silver":1,"bronze":3,"total":4},{"country":"Moldova","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Saudi Arabia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Trinidad and Tobago","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Ireland","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Sri Lanka","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Uruguay","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Vietnam","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Chile","gold":0,"silver":0,"bronze":17,"total":17},{"country":"Georgia","gold":0,"silver":0,"bronze":6,"total":6},{"country":"Costa Rica","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Portugal","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Armenia","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Barbados","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Iceland","gold":0,"silver":0,"bronze":1,"total":1},{"country":"India","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Israel","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Kuwait","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Kyrgyzstan","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Macedonia","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Qatar","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/1_in.json b/olympics/testdata/tests/top-countries-in-year/1_in.json new file mode 100644 index 0000000..60f0818 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/1_in.json @@ -0,0 +1 @@ +{"year": 2004, "limit": 0} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/1_out.json b/olympics/testdata/tests/top-countries-in-year/1_out.json new file mode 100644 index 0000000..ec747fa --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/1_out.json @@ -0,0 +1 @@ +null \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/20_in.json b/olympics/testdata/tests/top-countries-in-year/20_in.json new file mode 100644 index 0000000..9fcb67e --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/20_in.json @@ -0,0 +1 @@ +{"year": 2000, "limit": 24} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/20_out.json b/olympics/testdata/tests/top-countries-in-year/20_out.json new file mode 100644 index 0000000..84f6e36 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/20_out.json @@ -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},{"country":"China","gold":39,"silver":23,"bronze":17,"total":79},{"country":"Germany","gold":31,"silver":23,"bronze":64,"total":118},{"country":"Netherlands","gold":27,"silver":29,"bronze":23,"total":79},{"country":"Romania","gold":27,"silver":6,"bronze":13,"total":46},{"country":"Hungary","gold":25,"silver":24,"bronze":4,"total":53},{"country":"France","gold":22,"silver":30,"bronze":14,"total":66},{"country":"Great Britain","gold":22,"silver":20,"bronze":12,"total":54},{"country":"Italy","gold":22,"silver":14,"bronze":29,"total":65},{"country":"Norway","gold":20,"silver":4,"bronze":19,"total":43},{"country":"Cuba","gold":18,"silver":35,"bronze":12,"total":65},{"country":"Denmark","gold":18,"silver":3,"bronze":4,"total":25},{"country":"Cameroon","gold":18,"silver":0,"bronze":0,"total":18},{"country":"South Korea","gold":12,"silver":26,"bronze":35,"total":73},{"country":"Serbia and Montenegro","gold":11,"silver":1,"bronze":13,"total":25},{"country":"Poland","gold":7,"silver":10,"bronze":7,"total":24},{"country":"Nigeria","gold":6,"silver":2,"bronze":0,"total":8},{"country":"Bahamas","gold":6,"silver":0,"bronze":5,"total":11},{"country":"Japan","gold":5,"silver":31,"bronze":8,"total":44},{"country":"Bulgaria","gold":5,"silver":6,"bronze":2,"total":13},{"country":"Sweden","gold":4,"silver":20,"bronze":8,"total":32},{"country":"Greece","gold":4,"silver":6,"bronze":8,"total":18}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/21_in.json b/olympics/testdata/tests/top-countries-in-year/21_in.json new file mode 100644 index 0000000..5981621 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/21_in.json @@ -0,0 +1 @@ +{"year": 2002, "limit": 65} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/21_out.json b/olympics/testdata/tests/top-countries-in-year/21_out.json new file mode 100644 index 0000000..106e426 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/21_out.json @@ -0,0 +1 @@ +[{"country":"Canada","gold":52,"silver":7,"bronze":15,"total":74},{"country":"Germany","gold":26,"silver":23,"bronze":12,"total":61},{"country":"Norway","gold":23,"silver":11,"bronze":7,"total":41},{"country":"United States","gold":11,"silver":58,"bronze":15,"total":84},{"country":"Finland","gold":7,"silver":5,"bronze":1,"total":13},{"country":"Russia","gold":6,"silver":5,"bronze":27,"total":38},{"country":"France","gold":5,"silver":5,"bronze":5,"total":15},{"country":"South Korea","gold":5,"silver":2,"bronze":0,"total":7},{"country":"Great Britain","gold":5,"silver":0,"bronze":1,"total":6},{"country":"Italy","gold":4,"silver":11,"bronze":6,"total":21},{"country":"Switzerland","gold":3,"silver":7,"bronze":14,"total":24},{"country":"Netherlands","gold":3,"silver":5,"bronze":0,"total":8},{"country":"Austria","gold":3,"silver":4,"bronze":13,"total":20},{"country":"Croatia","gold":3,"silver":1,"bronze":0,"total":4},{"country":"China","gold":2,"silver":5,"bronze":9,"total":16},{"country":"Australia","gold":2,"silver":0,"bronze":0,"total":2},{"country":"Czech Republic","gold":1,"silver":2,"bronze":0,"total":3},{"country":"Estonia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Sweden","gold":0,"silver":2,"bronze":24,"total":26},{"country":"Bulgaria","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Japan","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Poland","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Slovenia","gold":0,"silver":0,"bronze":4,"total":4},{"country":"Belarus","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/22_in.json b/olympics/testdata/tests/top-countries-in-year/22_in.json new file mode 100644 index 0000000..186b3c0 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/22_in.json @@ -0,0 +1 @@ +{"year": 2008, "limit": 89} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/22_out.json b/olympics/testdata/tests/top-countries-in-year/22_out.json new file mode 100644 index 0000000..0a912d7 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/22_out.json @@ -0,0 +1 @@ +[{"country":"United States","gold":127,"silver":109,"bronze":81,"total":317},{"country":"China","gold":74,"silver":53,"bronze":57,"total":184},{"country":"Russia","gold":43,"silver":46,"bronze":57,"total":146},{"country":"Germany","gold":42,"silver":16,"bronze":41,"total":99},{"country":"South Korea","gold":41,"silver":11,"bronze":26,"total":78},{"country":"Netherlands","gold":39,"silver":18,"bronze":4,"total":61},{"country":"Australia","gold":31,"silver":42,"bronze":76,"total":149},{"country":"Great Britain","gold":31,"silver":25,"bronze":21,"total":77},{"country":"France","gold":25,"silver":24,"bronze":28,"total":77},{"country":"Japan","gold":23,"silver":11,"bronze":17,"total":51},{"country":"Argentina","gold":20,"silver":0,"bronze":31,"total":51},{"country":"Hungary","gold":16,"silver":8,"bronze":3,"total":27},{"country":"Norway","gold":16,"silver":5,"bronze":1,"total":22},{"country":"Brazil","gold":14,"silver":34,"bronze":26,"total":74},{"country":"Canada","gold":11,"silver":13,"bronze":10,"total":34},{"country":"Ukraine","gold":10,"silver":5,"bronze":16,"total":31},{"country":"Jamaica","gold":10,"silver":3,"bronze":6,"total":19},{"country":"Italy","gold":8,"silver":14,"bronze":21,"total":43},{"country":"Belarus","gold":8,"silver":5,"bronze":17,"total":30},{"country":"Spain","gold":7,"silver":47,"bronze":16,"total":70},{"country":"Poland","gold":6,"silver":13,"bronze":1,"total":20},{"country":"Denmark","gold":6,"silver":7,"bronze":6,"total":19},{"country":"Kenya","gold":6,"silver":4,"bronze":4,"total":14},{"country":"Romania","gold":5,"silver":1,"bronze":16,"total":22},{"country":"Slovakia","gold":4,"silver":5,"bronze":1,"total":10},{"country":"New Zealand","gold":4,"silver":2,"bronze":9,"total":15},{"country":"Ethiopia","gold":4,"silver":1,"bronze":2,"total":7},{"country":"Czech Republic","gold":3,"silver":4,"bronze":0,"total":7},{"country":"Switzerland","gold":3,"silver":1,"bronze":7,"total":11},{"country":"Georgia","gold":3,"silver":0,"bronze":3,"total":6},{"country":"Cuba","gold":2,"silver":34,"bronze":11,"total":47},{"country":"Kazakhstan","gold":2,"silver":4,"bronze":7,"total":13},{"country":"Indonesia","gold":2,"silver":2,"bronze":3,"total":7},{"country":"Mongolia","gold":2,"silver":2,"bronze":0,"total":4},{"country":"Thailand","gold":2,"silver":2,"bronze":0,"total":4},{"country":"North Korea","gold":2,"silver":1,"bronze":3,"total":6},{"country":"Mexico","gold":2,"silver":0,"bronze":2,"total":4},{"country":"Turkey","gold":1,"silver":4,"bronze":3,"total":8},{"country":"Belgium","gold":1,"silver":4,"bronze":0,"total":5},{"country":"Zimbabwe","gold":1,"silver":3,"bronze":0,"total":4},{"country":"Azerbaijan","gold":1,"silver":2,"bronze":4,"total":7},{"country":"Uzbekistan","gold":1,"silver":2,"bronze":3,"total":6},{"country":"Finland","gold":1,"silver":2,"bronze":2,"total":5},{"country":"Slovenia","gold":1,"silver":2,"bronze":2,"total":5},{"country":"Estonia","gold":1,"silver":2,"bronze":0,"total":3},{"country":"Bulgaria","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Latvia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Dominican Republic","gold":1,"silver":1,"bronze":0,"total":2},{"country":"Portugal","gold":1,"silver":1,"bronze":0,"total":2},{"country":"India","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Iran","gold":1,"silver":0,"bronze":1,"total":2},{"country":"Cameroon","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Panama","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Tunisia","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Nigeria","gold":0,"silver":16,"bronze":7,"total":23},{"country":"Iceland","gold":0,"silver":14,"bronze":0,"total":14},{"country":"Bahamas","gold":0,"silver":6,"bronze":1,"total":7},{"country":"Trinidad and Tobago","gold":0,"silver":6,"bronze":0,"total":6},{"country":"Sweden","gold":0,"silver":5,"bronze":2,"total":7},{"country":"Greece","gold":0,"silver":3,"bronze":4,"total":7},{"country":"Singapore","gold":0,"silver":3,"bronze":0,"total":3},{"country":"Croatia","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Lithuania","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Serbia","gold":0,"silver":1,"bronze":14,"total":15},{"country":"Austria","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Ireland","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Algeria","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Colombia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Kyrgyzstan","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Morocco","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Tajikistan","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Chile","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Ecuador","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Malaysia","gold":0,"silver":1,"bronze":0,"total":1},{"country":"South Africa","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Sudan","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Vietnam","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Armenia","gold":0,"silver":0,"bronze":6,"total":6},{"country":"Chinese Taipei","gold":0,"silver":0,"bronze":4,"total":4},{"country":"Afghanistan","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Egypt","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Israel","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Mauritius","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Moldova","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Togo","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Venezuela","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/23_in.json b/olympics/testdata/tests/top-countries-in-year/23_in.json new file mode 100644 index 0000000..698a499 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/23_in.json @@ -0,0 +1 @@ +{"year": 2000, "limit": 20} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/23_out.json b/olympics/testdata/tests/top-countries-in-year/23_out.json new file mode 100644 index 0000000..04622a5 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/23_out.json @@ -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},{"country":"China","gold":39,"silver":23,"bronze":17,"total":79},{"country":"Germany","gold":31,"silver":23,"bronze":64,"total":118},{"country":"Netherlands","gold":27,"silver":29,"bronze":23,"total":79},{"country":"Romania","gold":27,"silver":6,"bronze":13,"total":46},{"country":"Hungary","gold":25,"silver":24,"bronze":4,"total":53},{"country":"France","gold":22,"silver":30,"bronze":14,"total":66},{"country":"Great Britain","gold":22,"silver":20,"bronze":12,"total":54},{"country":"Italy","gold":22,"silver":14,"bronze":29,"total":65},{"country":"Norway","gold":20,"silver":4,"bronze":19,"total":43},{"country":"Cuba","gold":18,"silver":35,"bronze":12,"total":65},{"country":"Denmark","gold":18,"silver":3,"bronze":4,"total":25},{"country":"Cameroon","gold":18,"silver":0,"bronze":0,"total":18},{"country":"South Korea","gold":12,"silver":26,"bronze":35,"total":73},{"country":"Serbia and Montenegro","gold":11,"silver":1,"bronze":13,"total":25},{"country":"Poland","gold":7,"silver":10,"bronze":7,"total":24},{"country":"Nigeria","gold":6,"silver":2,"bronze":0,"total":8},{"country":"Bahamas","gold":6,"silver":0,"bronze":5,"total":11}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/24_in.json b/olympics/testdata/tests/top-countries-in-year/24_in.json new file mode 100644 index 0000000..2192199 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/24_in.json @@ -0,0 +1 @@ +{"year": 2000, "limit": 85} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/24_out.json b/olympics/testdata/tests/top-countries-in-year/24_out.json new file mode 100644 index 0000000..8e5beb0 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/24_out.json @@ -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},{"country":"China","gold":39,"silver":23,"bronze":17,"total":79},{"country":"Germany","gold":31,"silver":23,"bronze":64,"total":118},{"country":"Netherlands","gold":27,"silver":29,"bronze":23,"total":79},{"country":"Romania","gold":27,"silver":6,"bronze":13,"total":46},{"country":"Hungary","gold":25,"silver":24,"bronze":4,"total":53},{"country":"France","gold":22,"silver":30,"bronze":14,"total":66},{"country":"Great Britain","gold":22,"silver":20,"bronze":12,"total":54},{"country":"Italy","gold":22,"silver":14,"bronze":29,"total":65},{"country":"Norway","gold":20,"silver":4,"bronze":19,"total":43},{"country":"Cuba","gold":18,"silver":35,"bronze":12,"total":65},{"country":"Denmark","gold":18,"silver":3,"bronze":4,"total":25},{"country":"Cameroon","gold":18,"silver":0,"bronze":0,"total":18},{"country":"South Korea","gold":12,"silver":26,"bronze":35,"total":73},{"country":"Serbia and Montenegro","gold":11,"silver":1,"bronze":13,"total":25},{"country":"Poland","gold":7,"silver":10,"bronze":7,"total":24},{"country":"Nigeria","gold":6,"silver":2,"bronze":0,"total":8},{"country":"Bahamas","gold":6,"silver":0,"bronze":5,"total":11},{"country":"Japan","gold":5,"silver":31,"bronze":8,"total":44},{"country":"Bulgaria","gold":5,"silver":6,"bronze":2,"total":13},{"country":"Sweden","gold":4,"silver":20,"bronze":8,"total":32},{"country":"Greece","gold":4,"silver":6,"bronze":8,"total":18},{"country":"Canada","gold":4,"silver":4,"bronze":23,"total":31},{"country":"Ethiopia","gold":4,"silver":1,"bronze":3,"total":8},{"country":"Ukraine","gold":3,"silver":20,"bronze":12,"total":35},{"country":"Spain","gold":3,"silver":19,"bronze":20,"total":42},{"country":"Belarus","gold":3,"silver":8,"bronze":11,"total":22},{"country":"Kazakhstan","gold":3,"silver":4,"bronze":0,"total":7},{"country":"Finland","gold":3,"silver":1,"bronze":1,"total":5},{"country":"Austria","gold":3,"silver":1,"bronze":0,"total":4},{"country":"Turkey","gold":3,"silver":0,"bronze":2,"total":5},{"country":"Iran","gold":3,"silver":0,"bronze":1,"total":4},{"country":"Slovenia","gold":3,"silver":0,"bronze":0,"total":3},{"country":"Indonesia","gold":2,"silver":4,"bronze":2,"total":8},{"country":"Czech Republic","gold":2,"silver":3,"bronze":4,"total":9},{"country":"Kenya","gold":2,"silver":3,"bronze":2,"total":7},{"country":"Slovakia","gold":2,"silver":3,"bronze":1,"total":6},{"country":"Lithuania","gold":2,"silver":0,"bronze":15,"total":17},{"country":"Azerbaijan","gold":2,"silver":0,"bronze":1,"total":3},{"country":"Switzerland","gold":1,"silver":11,"bronze":2,"total":14},{"country":"Mexico","gold":1,"silver":2,"bronze":3,"total":6},{"country":"Algeria","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Uzbekistan","gold":1,"silver":1,"bronze":2,"total":4},{"country":"Latvia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Croatia","gold":1,"silver":0,"bronze":9,"total":10},{"country":"New Zealand","gold":1,"silver":0,"bronze":3,"total":4},{"country":"Estonia","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Thailand","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Colombia","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Mozambique","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Jamaica","gold":0,"silver":20,"bronze":3,"total":23},{"country":"Argentina","gold":0,"silver":17,"bronze":3,"total":20},{"country":"Brazil","gold":0,"silver":12,"bronze":36,"total":48},{"country":"Belgium","gold":0,"silver":3,"bronze":4,"total":7},{"country":"South Africa","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Chinese Taipei","gold":0,"silver":1,"bronze":4,"total":5},{"country":"Morocco","gold":0,"silver":1,"bronze":4,"total":5},{"country":"North Korea","gold":0,"silver":1,"bronze":3,"total":4},{"country":"Moldova","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Saudi Arabia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Trinidad and Tobago","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Ireland","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Sri Lanka","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Uruguay","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Vietnam","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Chile","gold":0,"silver":0,"bronze":17,"total":17},{"country":"Georgia","gold":0,"silver":0,"bronze":6,"total":6},{"country":"Costa Rica","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Portugal","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Armenia","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Barbados","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Iceland","gold":0,"silver":0,"bronze":1,"total":1},{"country":"India","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Israel","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Kuwait","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Kyrgyzstan","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Macedonia","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Qatar","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/25_in.json b/olympics/testdata/tests/top-countries-in-year/25_in.json new file mode 100644 index 0000000..992abb1 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/25_in.json @@ -0,0 +1 @@ +{"year": 2010, "limit": 67} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/25_out.json b/olympics/testdata/tests/top-countries-in-year/25_out.json new file mode 100644 index 0000000..fef25a2 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/25_out.json @@ -0,0 +1 @@ +[{"country":"Canada","gold":67,"silver":15,"bronze":8,"total":90},{"country":"Norway","gold":16,"silver":14,"bronze":9,"total":39},{"country":"Germany","gold":15,"silver":24,"bronze":15,"total":54},{"country":"United States","gold":12,"silver":63,"bronze":22,"total":97},{"country":"Austria","gold":11,"silver":9,"bronze":6,"total":26},{"country":"Sweden","gold":11,"silver":3,"bronze":4,"total":18},{"country":"China","gold":9,"silver":3,"bronze":7,"total":19},{"country":"South Korea","gold":6,"silver":10,"bronze":2,"total":18},{"country":"Russia","gold":6,"silver":5,"bronze":14,"total":25},{"country":"Switzerland","gold":6,"silver":0,"bronze":6,"total":12},{"country":"Netherlands","gold":4,"silver":1,"bronze":6,"total":11},{"country":"France","gold":2,"silver":6,"bronze":6,"total":14},{"country":"Australia","gold":2,"silver":1,"bronze":0,"total":3},{"country":"Czech Republic","gold":2,"silver":0,"bronze":7,"total":9},{"country":"Poland","gold":1,"silver":3,"bronze":4,"total":8},{"country":"Italy","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Belarus","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Slovakia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Great Britain","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Japan","gold":0,"silver":5,"bronze":2,"total":7},{"country":"Latvia","gold":0,"silver":3,"bronze":0,"total":3},{"country":"Croatia","gold":0,"silver":2,"bronze":1,"total":3},{"country":"Slovenia","gold":0,"silver":2,"bronze":1,"total":3},{"country":"Finland","gold":0,"silver":1,"bronze":46,"total":47},{"country":"Estonia","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Kazakhstan","gold":0,"silver":1,"bronze":0,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/26_in.json b/olympics/testdata/tests/top-countries-in-year/26_in.json new file mode 100644 index 0000000..e5221dc --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/26_in.json @@ -0,0 +1 @@ +{"year": 2002, "limit": 39} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/26_out.json b/olympics/testdata/tests/top-countries-in-year/26_out.json new file mode 100644 index 0000000..106e426 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/26_out.json @@ -0,0 +1 @@ +[{"country":"Canada","gold":52,"silver":7,"bronze":15,"total":74},{"country":"Germany","gold":26,"silver":23,"bronze":12,"total":61},{"country":"Norway","gold":23,"silver":11,"bronze":7,"total":41},{"country":"United States","gold":11,"silver":58,"bronze":15,"total":84},{"country":"Finland","gold":7,"silver":5,"bronze":1,"total":13},{"country":"Russia","gold":6,"silver":5,"bronze":27,"total":38},{"country":"France","gold":5,"silver":5,"bronze":5,"total":15},{"country":"South Korea","gold":5,"silver":2,"bronze":0,"total":7},{"country":"Great Britain","gold":5,"silver":0,"bronze":1,"total":6},{"country":"Italy","gold":4,"silver":11,"bronze":6,"total":21},{"country":"Switzerland","gold":3,"silver":7,"bronze":14,"total":24},{"country":"Netherlands","gold":3,"silver":5,"bronze":0,"total":8},{"country":"Austria","gold":3,"silver":4,"bronze":13,"total":20},{"country":"Croatia","gold":3,"silver":1,"bronze":0,"total":4},{"country":"China","gold":2,"silver":5,"bronze":9,"total":16},{"country":"Australia","gold":2,"silver":0,"bronze":0,"total":2},{"country":"Czech Republic","gold":1,"silver":2,"bronze":0,"total":3},{"country":"Estonia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Sweden","gold":0,"silver":2,"bronze":24,"total":26},{"country":"Bulgaria","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Japan","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Poland","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Slovenia","gold":0,"silver":0,"bronze":4,"total":4},{"country":"Belarus","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/27_in.json b/olympics/testdata/tests/top-countries-in-year/27_in.json new file mode 100644 index 0000000..f9c3fe1 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/27_in.json @@ -0,0 +1 @@ +{"year": 2012, "limit": 16} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/27_out.json b/olympics/testdata/tests/top-countries-in-year/27_out.json new file mode 100644 index 0000000..9ab07b0 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/27_out.json @@ -0,0 +1 @@ +[{"country":"United States","gold":145,"silver":63,"bronze":46,"total":254},{"country":"China","gold":56,"silver":40,"bronze":29,"total":125},{"country":"Russia","gold":50,"silver":39,"bronze":51,"total":140},{"country":"Great Britain","gold":48,"silver":30,"bronze":48,"total":126},{"country":"Germany","gold":45,"silver":27,"bronze":22,"total":94},{"country":"France","gold":30,"silver":30,"bronze":18,"total":78},{"country":"Netherlands","gold":21,"silver":29,"bronze":19,"total":69},{"country":"Australia","gold":18,"silver":37,"bronze":59,"total":114},{"country":"South Korea","gold":18,"silver":13,"bronze":30,"total":61},{"country":"Italy","gold":16,"silver":22,"bronze":30,"total":68},{"country":"Mexico","gold":16,"silver":5,"bronze":3,"total":24},{"country":"Croatia","gold":15,"silver":4,"bronze":16,"total":35},{"country":"Norway","gold":15,"silver":1,"bronze":1,"total":17},{"country":"Brazil","gold":14,"silver":31,"bronze":11,"total":56},{"country":"Hungary","gold":12,"silver":8,"bronze":5,"total":25},{"country":"Ukraine","gold":9,"silver":5,"bronze":12,"total":26}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/28_in.json b/olympics/testdata/tests/top-countries-in-year/28_in.json new file mode 100644 index 0000000..03ce986 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/28_in.json @@ -0,0 +1 @@ +{"year": 2006, "limit": 35} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/28_out.json b/olympics/testdata/tests/top-countries-in-year/28_out.json new file mode 100644 index 0000000..b3d9d9f --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/28_out.json @@ -0,0 +1 @@ +[{"country":"Sweden","gold":35,"silver":21,"bronze":8,"total":64},{"country":"Canada","gold":30,"silver":28,"bronze":11,"total":69},{"country":"Germany","gold":23,"silver":25,"bronze":6,"total":54},{"country":"Russia","gold":16,"silver":12,"bronze":13,"total":41},{"country":"Austria","gold":16,"silver":7,"bronze":7,"total":30},{"country":"South Korea","gold":14,"silver":3,"bronze":2,"total":19},{"country":"Italy","gold":11,"silver":0,"bronze":14,"total":25},{"country":"United States","gold":9,"silver":11,"bronze":32,"total":52},{"country":"Switzerland","gold":5,"silver":7,"bronze":9,"total":21},{"country":"France","gold":3,"silver":2,"bronze":10,"total":15},{"country":"Netherlands","gold":3,"silver":2,"bronze":8,"total":13},{"country":"Estonia","gold":3,"silver":0,"bronze":0,"total":3},{"country":"Norway","gold":2,"silver":9,"bronze":12,"total":23},{"country":"China","gold":2,"silver":5,"bronze":6,"total":13},{"country":"Czech Republic","gold":1,"silver":2,"bronze":24,"total":27},{"country":"Croatia","gold":1,"silver":2,"bronze":0,"total":3},{"country":"Australia","gold":1,"silver":0,"bronze":1,"total":2},{"country":"Japan","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Finland","gold":0,"silver":34,"bronze":7,"total":41},{"country":"Poland","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Belarus","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Bulgaria","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Great Britain","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Slovakia","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Ukraine","gold":0,"silver":0,"bronze":3,"total":3},{"country":"Latvia","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/29_in.json b/olympics/testdata/tests/top-countries-in-year/29_in.json new file mode 100644 index 0000000..5f681ed --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/29_in.json @@ -0,0 +1 @@ +{"year": 2000, "limit": 49} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/29_out.json b/olympics/testdata/tests/top-countries-in-year/29_out.json new file mode 100644 index 0000000..4222a13 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/29_out.json @@ -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},{"country":"China","gold":39,"silver":23,"bronze":17,"total":79},{"country":"Germany","gold":31,"silver":23,"bronze":64,"total":118},{"country":"Netherlands","gold":27,"silver":29,"bronze":23,"total":79},{"country":"Romania","gold":27,"silver":6,"bronze":13,"total":46},{"country":"Hungary","gold":25,"silver":24,"bronze":4,"total":53},{"country":"France","gold":22,"silver":30,"bronze":14,"total":66},{"country":"Great Britain","gold":22,"silver":20,"bronze":12,"total":54},{"country":"Italy","gold":22,"silver":14,"bronze":29,"total":65},{"country":"Norway","gold":20,"silver":4,"bronze":19,"total":43},{"country":"Cuba","gold":18,"silver":35,"bronze":12,"total":65},{"country":"Denmark","gold":18,"silver":3,"bronze":4,"total":25},{"country":"Cameroon","gold":18,"silver":0,"bronze":0,"total":18},{"country":"South Korea","gold":12,"silver":26,"bronze":35,"total":73},{"country":"Serbia and Montenegro","gold":11,"silver":1,"bronze":13,"total":25},{"country":"Poland","gold":7,"silver":10,"bronze":7,"total":24},{"country":"Nigeria","gold":6,"silver":2,"bronze":0,"total":8},{"country":"Bahamas","gold":6,"silver":0,"bronze":5,"total":11},{"country":"Japan","gold":5,"silver":31,"bronze":8,"total":44},{"country":"Bulgaria","gold":5,"silver":6,"bronze":2,"total":13},{"country":"Sweden","gold":4,"silver":20,"bronze":8,"total":32},{"country":"Greece","gold":4,"silver":6,"bronze":8,"total":18},{"country":"Canada","gold":4,"silver":4,"bronze":23,"total":31},{"country":"Ethiopia","gold":4,"silver":1,"bronze":3,"total":8},{"country":"Ukraine","gold":3,"silver":20,"bronze":12,"total":35},{"country":"Spain","gold":3,"silver":19,"bronze":20,"total":42},{"country":"Belarus","gold":3,"silver":8,"bronze":11,"total":22},{"country":"Kazakhstan","gold":3,"silver":4,"bronze":0,"total":7},{"country":"Finland","gold":3,"silver":1,"bronze":1,"total":5},{"country":"Austria","gold":3,"silver":1,"bronze":0,"total":4},{"country":"Turkey","gold":3,"silver":0,"bronze":2,"total":5},{"country":"Iran","gold":3,"silver":0,"bronze":1,"total":4},{"country":"Slovenia","gold":3,"silver":0,"bronze":0,"total":3},{"country":"Indonesia","gold":2,"silver":4,"bronze":2,"total":8},{"country":"Czech Republic","gold":2,"silver":3,"bronze":4,"total":9},{"country":"Kenya","gold":2,"silver":3,"bronze":2,"total":7},{"country":"Slovakia","gold":2,"silver":3,"bronze":1,"total":6},{"country":"Lithuania","gold":2,"silver":0,"bronze":15,"total":17},{"country":"Azerbaijan","gold":2,"silver":0,"bronze":1,"total":3},{"country":"Switzerland","gold":1,"silver":11,"bronze":2,"total":14},{"country":"Mexico","gold":1,"silver":2,"bronze":3,"total":6},{"country":"Algeria","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Uzbekistan","gold":1,"silver":1,"bronze":2,"total":4},{"country":"Latvia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Croatia","gold":1,"silver":0,"bronze":9,"total":10},{"country":"New Zealand","gold":1,"silver":0,"bronze":3,"total":4},{"country":"Estonia","gold":1,"silver":0,"bronze":2,"total":3}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/2_in.json b/olympics/testdata/tests/top-countries-in-year/2_in.json new file mode 100644 index 0000000..b74cd6f --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/2_in.json @@ -0,0 +1 @@ +{"year": 2012, "limit": 83} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/2_out.json b/olympics/testdata/tests/top-countries-in-year/2_out.json new file mode 100644 index 0000000..900d705 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/2_out.json @@ -0,0 +1 @@ +[{"country":"United States","gold":145,"silver":63,"bronze":46,"total":254},{"country":"China","gold":56,"silver":40,"bronze":29,"total":125},{"country":"Russia","gold":50,"silver":39,"bronze":51,"total":140},{"country":"Great Britain","gold":48,"silver":30,"bronze":48,"total":126},{"country":"Germany","gold":45,"silver":27,"bronze":22,"total":94},{"country":"France","gold":30,"silver":30,"bronze":18,"total":78},{"country":"Netherlands","gold":21,"silver":29,"bronze":19,"total":69},{"country":"Australia","gold":18,"silver":37,"bronze":59,"total":114},{"country":"South Korea","gold":18,"silver":13,"bronze":30,"total":61},{"country":"Italy","gold":16,"silver":22,"bronze":30,"total":68},{"country":"Mexico","gold":16,"silver":5,"bronze":3,"total":24},{"country":"Croatia","gold":15,"silver":4,"bronze":16,"total":35},{"country":"Norway","gold":15,"silver":1,"bronze":1,"total":17},{"country":"Brazil","gold":14,"silver":31,"bronze":11,"total":56},{"country":"Hungary","gold":12,"silver":8,"bronze":5,"total":25},{"country":"Ukraine","gold":9,"silver":5,"bronze":12,"total":26},{"country":"New Zealand","gold":9,"silver":3,"bronze":15,"total":27},{"country":"Jamaica","gold":8,"silver":9,"bronze":8,"total":25},{"country":"Japan","gold":7,"silver":44,"bronze":33,"total":84},{"country":"Kazakhstan","gold":7,"silver":1,"bronze":5,"total":13},{"country":"South Africa","gold":6,"silver":2,"bronze":1,"total":9},{"country":"Spain","gold":5,"silver":33,"bronze":26,"total":64},{"country":"Cuba","gold":5,"silver":3,"bronze":6,"total":14},{"country":"Iran","gold":4,"silver":5,"bronze":3,"total":12},{"country":"Czech Republic","gold":4,"silver":4,"bronze":6,"total":14},{"country":"North Korea","gold":4,"silver":0,"bronze":2,"total":6},{"country":"Bahamas","gold":4,"silver":0,"bronze":0,"total":4},{"country":"Belarus","gold":3,"silver":12,"bronze":8,"total":23},{"country":"Denmark","gold":3,"silver":5,"bronze":8,"total":16},{"country":"Ethiopia","gold":3,"silver":1,"bronze":3,"total":7},{"country":"Sweden","gold":2,"silver":17,"bronze":3,"total":22},{"country":"Romania","gold":2,"silver":8,"bronze":6,"total":16},{"country":"Kenya","gold":2,"silver":4,"bronze":5,"total":11},{"country":"Poland","gold":2,"silver":2,"bronze":8,"total":12},{"country":"Azerbaijan","gold":2,"silver":2,"bronze":6,"total":10},{"country":"Turkey","gold":2,"silver":2,"bronze":1,"total":5},{"country":"Switzerland","gold":2,"silver":2,"bronze":0,"total":4},{"country":"Lithuania","gold":2,"silver":1,"bronze":2,"total":5},{"country":"Canada","gold":1,"silver":21,"bronze":33,"total":55},{"country":"Argentina","gold":1,"silver":15,"bronze":3,"total":19},{"country":"Colombia","gold":1,"silver":3,"bronze":4,"total":8},{"country":"Georgia","gold":1,"silver":3,"bronze":3,"total":7},{"country":"Serbia","gold":1,"silver":1,"bronze":14,"total":16},{"country":"Ireland","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Slovenia","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Tunisia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Dominican Republic","gold":1,"silver":1,"bronze":0,"total":2},{"country":"Trinidad and Tobago","gold":1,"silver":0,"bronze":9,"total":10},{"country":"Uzbekistan","gold":1,"silver":0,"bronze":3,"total":4},{"country":"Latvia","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Algeria","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Grenada","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Uganda","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Venezuela","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Montenegro","gold":0,"silver":14,"bronze":0,"total":14},{"country":"India","gold":0,"silver":2,"bronze":4,"total":6},{"country":"Mongolia","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Thailand","gold":0,"silver":2,"bronze":1,"total":3},{"country":"Egypt","gold":0,"silver":2,"bronze":0,"total":2},{"country":"Portugal","gold":0,"silver":2,"bronze":0,"total":2},{"country":"Finland","gold":0,"silver":1,"bronze":4,"total":5},{"country":"Slovakia","gold":0,"silver":1,"bronze":4,"total":5},{"country":"Armenia","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Belgium","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Bulgaria","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Chinese Taipei","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Estonia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Indonesia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Malaysia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Puerto Rico","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Botswana","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Cyprus","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Gabon","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Guatemala","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Saudi Arabia","gold":0,"silver":0,"bronze":4,"total":4},{"country":"Singapore","gold":0,"silver":0,"bronze":4,"total":4},{"country":"Greece","gold":0,"silver":0,"bronze":3,"total":3},{"country":"Moldova","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Qatar","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Afghanistan","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Bahrain","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Hong Kong","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Kuwait","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/3_in.json b/olympics/testdata/tests/top-countries-in-year/3_in.json new file mode 100644 index 0000000..126c52b --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/3_in.json @@ -0,0 +1 @@ +{"year": 2012, "limit": 40} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/3_out.json b/olympics/testdata/tests/top-countries-in-year/3_out.json new file mode 100644 index 0000000..d6087a5 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/3_out.json @@ -0,0 +1 @@ +[{"country":"United States","gold":145,"silver":63,"bronze":46,"total":254},{"country":"China","gold":56,"silver":40,"bronze":29,"total":125},{"country":"Russia","gold":50,"silver":39,"bronze":51,"total":140},{"country":"Great Britain","gold":48,"silver":30,"bronze":48,"total":126},{"country":"Germany","gold":45,"silver":27,"bronze":22,"total":94},{"country":"France","gold":30,"silver":30,"bronze":18,"total":78},{"country":"Netherlands","gold":21,"silver":29,"bronze":19,"total":69},{"country":"Australia","gold":18,"silver":37,"bronze":59,"total":114},{"country":"South Korea","gold":18,"silver":13,"bronze":30,"total":61},{"country":"Italy","gold":16,"silver":22,"bronze":30,"total":68},{"country":"Mexico","gold":16,"silver":5,"bronze":3,"total":24},{"country":"Croatia","gold":15,"silver":4,"bronze":16,"total":35},{"country":"Norway","gold":15,"silver":1,"bronze":1,"total":17},{"country":"Brazil","gold":14,"silver":31,"bronze":11,"total":56},{"country":"Hungary","gold":12,"silver":8,"bronze":5,"total":25},{"country":"Ukraine","gold":9,"silver":5,"bronze":12,"total":26},{"country":"New Zealand","gold":9,"silver":3,"bronze":15,"total":27},{"country":"Jamaica","gold":8,"silver":9,"bronze":8,"total":25},{"country":"Japan","gold":7,"silver":44,"bronze":33,"total":84},{"country":"Kazakhstan","gold":7,"silver":1,"bronze":5,"total":13},{"country":"South Africa","gold":6,"silver":2,"bronze":1,"total":9},{"country":"Spain","gold":5,"silver":33,"bronze":26,"total":64},{"country":"Cuba","gold":5,"silver":3,"bronze":6,"total":14},{"country":"Iran","gold":4,"silver":5,"bronze":3,"total":12},{"country":"Czech Republic","gold":4,"silver":4,"bronze":6,"total":14},{"country":"North Korea","gold":4,"silver":0,"bronze":2,"total":6},{"country":"Bahamas","gold":4,"silver":0,"bronze":0,"total":4},{"country":"Belarus","gold":3,"silver":12,"bronze":8,"total":23},{"country":"Denmark","gold":3,"silver":5,"bronze":8,"total":16},{"country":"Ethiopia","gold":3,"silver":1,"bronze":3,"total":7},{"country":"Sweden","gold":2,"silver":17,"bronze":3,"total":22},{"country":"Romania","gold":2,"silver":8,"bronze":6,"total":16},{"country":"Kenya","gold":2,"silver":4,"bronze":5,"total":11},{"country":"Poland","gold":2,"silver":2,"bronze":8,"total":12},{"country":"Azerbaijan","gold":2,"silver":2,"bronze":6,"total":10},{"country":"Turkey","gold":2,"silver":2,"bronze":1,"total":5},{"country":"Switzerland","gold":2,"silver":2,"bronze":0,"total":4},{"country":"Lithuania","gold":2,"silver":1,"bronze":2,"total":5},{"country":"Canada","gold":1,"silver":21,"bronze":33,"total":55},{"country":"Argentina","gold":1,"silver":15,"bronze":3,"total":19}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/4_in.json b/olympics/testdata/tests/top-countries-in-year/4_in.json new file mode 100644 index 0000000..d837323 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/4_in.json @@ -0,0 +1 @@ +{"year": 2010, "limit": 93} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/4_out.json b/olympics/testdata/tests/top-countries-in-year/4_out.json new file mode 100644 index 0000000..fef25a2 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/4_out.json @@ -0,0 +1 @@ +[{"country":"Canada","gold":67,"silver":15,"bronze":8,"total":90},{"country":"Norway","gold":16,"silver":14,"bronze":9,"total":39},{"country":"Germany","gold":15,"silver":24,"bronze":15,"total":54},{"country":"United States","gold":12,"silver":63,"bronze":22,"total":97},{"country":"Austria","gold":11,"silver":9,"bronze":6,"total":26},{"country":"Sweden","gold":11,"silver":3,"bronze":4,"total":18},{"country":"China","gold":9,"silver":3,"bronze":7,"total":19},{"country":"South Korea","gold":6,"silver":10,"bronze":2,"total":18},{"country":"Russia","gold":6,"silver":5,"bronze":14,"total":25},{"country":"Switzerland","gold":6,"silver":0,"bronze":6,"total":12},{"country":"Netherlands","gold":4,"silver":1,"bronze":6,"total":11},{"country":"France","gold":2,"silver":6,"bronze":6,"total":14},{"country":"Australia","gold":2,"silver":1,"bronze":0,"total":3},{"country":"Czech Republic","gold":2,"silver":0,"bronze":7,"total":9},{"country":"Poland","gold":1,"silver":3,"bronze":4,"total":8},{"country":"Italy","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Belarus","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Slovakia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Great Britain","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Japan","gold":0,"silver":5,"bronze":2,"total":7},{"country":"Latvia","gold":0,"silver":3,"bronze":0,"total":3},{"country":"Croatia","gold":0,"silver":2,"bronze":1,"total":3},{"country":"Slovenia","gold":0,"silver":2,"bronze":1,"total":3},{"country":"Finland","gold":0,"silver":1,"bronze":46,"total":47},{"country":"Estonia","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Kazakhstan","gold":0,"silver":1,"bronze":0,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/5_in.json b/olympics/testdata/tests/top-countries-in-year/5_in.json new file mode 100644 index 0000000..b89bdea --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/5_in.json @@ -0,0 +1 @@ +{"year": 2006, "limit": 58} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/5_out.json b/olympics/testdata/tests/top-countries-in-year/5_out.json new file mode 100644 index 0000000..b3d9d9f --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/5_out.json @@ -0,0 +1 @@ +[{"country":"Sweden","gold":35,"silver":21,"bronze":8,"total":64},{"country":"Canada","gold":30,"silver":28,"bronze":11,"total":69},{"country":"Germany","gold":23,"silver":25,"bronze":6,"total":54},{"country":"Russia","gold":16,"silver":12,"bronze":13,"total":41},{"country":"Austria","gold":16,"silver":7,"bronze":7,"total":30},{"country":"South Korea","gold":14,"silver":3,"bronze":2,"total":19},{"country":"Italy","gold":11,"silver":0,"bronze":14,"total":25},{"country":"United States","gold":9,"silver":11,"bronze":32,"total":52},{"country":"Switzerland","gold":5,"silver":7,"bronze":9,"total":21},{"country":"France","gold":3,"silver":2,"bronze":10,"total":15},{"country":"Netherlands","gold":3,"silver":2,"bronze":8,"total":13},{"country":"Estonia","gold":3,"silver":0,"bronze":0,"total":3},{"country":"Norway","gold":2,"silver":9,"bronze":12,"total":23},{"country":"China","gold":2,"silver":5,"bronze":6,"total":13},{"country":"Czech Republic","gold":1,"silver":2,"bronze":24,"total":27},{"country":"Croatia","gold":1,"silver":2,"bronze":0,"total":3},{"country":"Australia","gold":1,"silver":0,"bronze":1,"total":2},{"country":"Japan","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Finland","gold":0,"silver":34,"bronze":7,"total":41},{"country":"Poland","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Belarus","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Bulgaria","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Great Britain","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Slovakia","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Ukraine","gold":0,"silver":0,"bronze":3,"total":3},{"country":"Latvia","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/6_in.json b/olympics/testdata/tests/top-countries-in-year/6_in.json new file mode 100644 index 0000000..c9c9632 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/6_in.json @@ -0,0 +1 @@ +{"year": 2008, "limit": 96} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/6_out.json b/olympics/testdata/tests/top-countries-in-year/6_out.json new file mode 100644 index 0000000..0a912d7 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/6_out.json @@ -0,0 +1 @@ +[{"country":"United States","gold":127,"silver":109,"bronze":81,"total":317},{"country":"China","gold":74,"silver":53,"bronze":57,"total":184},{"country":"Russia","gold":43,"silver":46,"bronze":57,"total":146},{"country":"Germany","gold":42,"silver":16,"bronze":41,"total":99},{"country":"South Korea","gold":41,"silver":11,"bronze":26,"total":78},{"country":"Netherlands","gold":39,"silver":18,"bronze":4,"total":61},{"country":"Australia","gold":31,"silver":42,"bronze":76,"total":149},{"country":"Great Britain","gold":31,"silver":25,"bronze":21,"total":77},{"country":"France","gold":25,"silver":24,"bronze":28,"total":77},{"country":"Japan","gold":23,"silver":11,"bronze":17,"total":51},{"country":"Argentina","gold":20,"silver":0,"bronze":31,"total":51},{"country":"Hungary","gold":16,"silver":8,"bronze":3,"total":27},{"country":"Norway","gold":16,"silver":5,"bronze":1,"total":22},{"country":"Brazil","gold":14,"silver":34,"bronze":26,"total":74},{"country":"Canada","gold":11,"silver":13,"bronze":10,"total":34},{"country":"Ukraine","gold":10,"silver":5,"bronze":16,"total":31},{"country":"Jamaica","gold":10,"silver":3,"bronze":6,"total":19},{"country":"Italy","gold":8,"silver":14,"bronze":21,"total":43},{"country":"Belarus","gold":8,"silver":5,"bronze":17,"total":30},{"country":"Spain","gold":7,"silver":47,"bronze":16,"total":70},{"country":"Poland","gold":6,"silver":13,"bronze":1,"total":20},{"country":"Denmark","gold":6,"silver":7,"bronze":6,"total":19},{"country":"Kenya","gold":6,"silver":4,"bronze":4,"total":14},{"country":"Romania","gold":5,"silver":1,"bronze":16,"total":22},{"country":"Slovakia","gold":4,"silver":5,"bronze":1,"total":10},{"country":"New Zealand","gold":4,"silver":2,"bronze":9,"total":15},{"country":"Ethiopia","gold":4,"silver":1,"bronze":2,"total":7},{"country":"Czech Republic","gold":3,"silver":4,"bronze":0,"total":7},{"country":"Switzerland","gold":3,"silver":1,"bronze":7,"total":11},{"country":"Georgia","gold":3,"silver":0,"bronze":3,"total":6},{"country":"Cuba","gold":2,"silver":34,"bronze":11,"total":47},{"country":"Kazakhstan","gold":2,"silver":4,"bronze":7,"total":13},{"country":"Indonesia","gold":2,"silver":2,"bronze":3,"total":7},{"country":"Mongolia","gold":2,"silver":2,"bronze":0,"total":4},{"country":"Thailand","gold":2,"silver":2,"bronze":0,"total":4},{"country":"North Korea","gold":2,"silver":1,"bronze":3,"total":6},{"country":"Mexico","gold":2,"silver":0,"bronze":2,"total":4},{"country":"Turkey","gold":1,"silver":4,"bronze":3,"total":8},{"country":"Belgium","gold":1,"silver":4,"bronze":0,"total":5},{"country":"Zimbabwe","gold":1,"silver":3,"bronze":0,"total":4},{"country":"Azerbaijan","gold":1,"silver":2,"bronze":4,"total":7},{"country":"Uzbekistan","gold":1,"silver":2,"bronze":3,"total":6},{"country":"Finland","gold":1,"silver":2,"bronze":2,"total":5},{"country":"Slovenia","gold":1,"silver":2,"bronze":2,"total":5},{"country":"Estonia","gold":1,"silver":2,"bronze":0,"total":3},{"country":"Bulgaria","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Latvia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Dominican Republic","gold":1,"silver":1,"bronze":0,"total":2},{"country":"Portugal","gold":1,"silver":1,"bronze":0,"total":2},{"country":"India","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Iran","gold":1,"silver":0,"bronze":1,"total":2},{"country":"Cameroon","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Panama","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Tunisia","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Nigeria","gold":0,"silver":16,"bronze":7,"total":23},{"country":"Iceland","gold":0,"silver":14,"bronze":0,"total":14},{"country":"Bahamas","gold":0,"silver":6,"bronze":1,"total":7},{"country":"Trinidad and Tobago","gold":0,"silver":6,"bronze":0,"total":6},{"country":"Sweden","gold":0,"silver":5,"bronze":2,"total":7},{"country":"Greece","gold":0,"silver":3,"bronze":4,"total":7},{"country":"Singapore","gold":0,"silver":3,"bronze":0,"total":3},{"country":"Croatia","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Lithuania","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Serbia","gold":0,"silver":1,"bronze":14,"total":15},{"country":"Austria","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Ireland","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Algeria","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Colombia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Kyrgyzstan","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Morocco","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Tajikistan","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Chile","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Ecuador","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Malaysia","gold":0,"silver":1,"bronze":0,"total":1},{"country":"South Africa","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Sudan","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Vietnam","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Armenia","gold":0,"silver":0,"bronze":6,"total":6},{"country":"Chinese Taipei","gold":0,"silver":0,"bronze":4,"total":4},{"country":"Afghanistan","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Egypt","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Israel","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Mauritius","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Moldova","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Togo","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Venezuela","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/7_in.json b/olympics/testdata/tests/top-countries-in-year/7_in.json new file mode 100644 index 0000000..c785a65 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/7_in.json @@ -0,0 +1 @@ +{"year": 2012, "limit": 92} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/7_out.json b/olympics/testdata/tests/top-countries-in-year/7_out.json new file mode 100644 index 0000000..20ae30e --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/7_out.json @@ -0,0 +1 @@ +[{"country":"United States","gold":145,"silver":63,"bronze":46,"total":254},{"country":"China","gold":56,"silver":40,"bronze":29,"total":125},{"country":"Russia","gold":50,"silver":39,"bronze":51,"total":140},{"country":"Great Britain","gold":48,"silver":30,"bronze":48,"total":126},{"country":"Germany","gold":45,"silver":27,"bronze":22,"total":94},{"country":"France","gold":30,"silver":30,"bronze":18,"total":78},{"country":"Netherlands","gold":21,"silver":29,"bronze":19,"total":69},{"country":"Australia","gold":18,"silver":37,"bronze":59,"total":114},{"country":"South Korea","gold":18,"silver":13,"bronze":30,"total":61},{"country":"Italy","gold":16,"silver":22,"bronze":30,"total":68},{"country":"Mexico","gold":16,"silver":5,"bronze":3,"total":24},{"country":"Croatia","gold":15,"silver":4,"bronze":16,"total":35},{"country":"Norway","gold":15,"silver":1,"bronze":1,"total":17},{"country":"Brazil","gold":14,"silver":31,"bronze":11,"total":56},{"country":"Hungary","gold":12,"silver":8,"bronze":5,"total":25},{"country":"Ukraine","gold":9,"silver":5,"bronze":12,"total":26},{"country":"New Zealand","gold":9,"silver":3,"bronze":15,"total":27},{"country":"Jamaica","gold":8,"silver":9,"bronze":8,"total":25},{"country":"Japan","gold":7,"silver":44,"bronze":33,"total":84},{"country":"Kazakhstan","gold":7,"silver":1,"bronze":5,"total":13},{"country":"South Africa","gold":6,"silver":2,"bronze":1,"total":9},{"country":"Spain","gold":5,"silver":33,"bronze":26,"total":64},{"country":"Cuba","gold":5,"silver":3,"bronze":6,"total":14},{"country":"Iran","gold":4,"silver":5,"bronze":3,"total":12},{"country":"Czech Republic","gold":4,"silver":4,"bronze":6,"total":14},{"country":"North Korea","gold":4,"silver":0,"bronze":2,"total":6},{"country":"Bahamas","gold":4,"silver":0,"bronze":0,"total":4},{"country":"Belarus","gold":3,"silver":12,"bronze":8,"total":23},{"country":"Denmark","gold":3,"silver":5,"bronze":8,"total":16},{"country":"Ethiopia","gold":3,"silver":1,"bronze":3,"total":7},{"country":"Sweden","gold":2,"silver":17,"bronze":3,"total":22},{"country":"Romania","gold":2,"silver":8,"bronze":6,"total":16},{"country":"Kenya","gold":2,"silver":4,"bronze":5,"total":11},{"country":"Poland","gold":2,"silver":2,"bronze":8,"total":12},{"country":"Azerbaijan","gold":2,"silver":2,"bronze":6,"total":10},{"country":"Turkey","gold":2,"silver":2,"bronze":1,"total":5},{"country":"Switzerland","gold":2,"silver":2,"bronze":0,"total":4},{"country":"Lithuania","gold":2,"silver":1,"bronze":2,"total":5},{"country":"Canada","gold":1,"silver":21,"bronze":33,"total":55},{"country":"Argentina","gold":1,"silver":15,"bronze":3,"total":19},{"country":"Colombia","gold":1,"silver":3,"bronze":4,"total":8},{"country":"Georgia","gold":1,"silver":3,"bronze":3,"total":7},{"country":"Serbia","gold":1,"silver":1,"bronze":14,"total":16},{"country":"Ireland","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Slovenia","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Tunisia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Dominican Republic","gold":1,"silver":1,"bronze":0,"total":2},{"country":"Trinidad and Tobago","gold":1,"silver":0,"bronze":9,"total":10},{"country":"Uzbekistan","gold":1,"silver":0,"bronze":3,"total":4},{"country":"Latvia","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Algeria","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Grenada","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Uganda","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Venezuela","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Montenegro","gold":0,"silver":14,"bronze":0,"total":14},{"country":"India","gold":0,"silver":2,"bronze":4,"total":6},{"country":"Mongolia","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Thailand","gold":0,"silver":2,"bronze":1,"total":3},{"country":"Egypt","gold":0,"silver":2,"bronze":0,"total":2},{"country":"Portugal","gold":0,"silver":2,"bronze":0,"total":2},{"country":"Finland","gold":0,"silver":1,"bronze":4,"total":5},{"country":"Slovakia","gold":0,"silver":1,"bronze":4,"total":5},{"country":"Armenia","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Belgium","gold":0,"silver":1,"bronze":2,"total":3},{"country":"Bulgaria","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Chinese Taipei","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Estonia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Indonesia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Malaysia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Puerto Rico","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Botswana","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Cyprus","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Gabon","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Guatemala","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Saudi Arabia","gold":0,"silver":0,"bronze":4,"total":4},{"country":"Singapore","gold":0,"silver":0,"bronze":4,"total":4},{"country":"Greece","gold":0,"silver":0,"bronze":3,"total":3},{"country":"Moldova","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Qatar","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Afghanistan","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Bahrain","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Hong Kong","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Kuwait","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Morocco","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Tajikistan","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/8_in.json b/olympics/testdata/tests/top-countries-in-year/8_in.json new file mode 100644 index 0000000..3711861 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/8_in.json @@ -0,0 +1 @@ +{"year": 2000, "limit": 106} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/8_out.json b/olympics/testdata/tests/top-countries-in-year/8_out.json new file mode 100644 index 0000000..8e5beb0 --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/8_out.json @@ -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},{"country":"China","gold":39,"silver":23,"bronze":17,"total":79},{"country":"Germany","gold":31,"silver":23,"bronze":64,"total":118},{"country":"Netherlands","gold":27,"silver":29,"bronze":23,"total":79},{"country":"Romania","gold":27,"silver":6,"bronze":13,"total":46},{"country":"Hungary","gold":25,"silver":24,"bronze":4,"total":53},{"country":"France","gold":22,"silver":30,"bronze":14,"total":66},{"country":"Great Britain","gold":22,"silver":20,"bronze":12,"total":54},{"country":"Italy","gold":22,"silver":14,"bronze":29,"total":65},{"country":"Norway","gold":20,"silver":4,"bronze":19,"total":43},{"country":"Cuba","gold":18,"silver":35,"bronze":12,"total":65},{"country":"Denmark","gold":18,"silver":3,"bronze":4,"total":25},{"country":"Cameroon","gold":18,"silver":0,"bronze":0,"total":18},{"country":"South Korea","gold":12,"silver":26,"bronze":35,"total":73},{"country":"Serbia and Montenegro","gold":11,"silver":1,"bronze":13,"total":25},{"country":"Poland","gold":7,"silver":10,"bronze":7,"total":24},{"country":"Nigeria","gold":6,"silver":2,"bronze":0,"total":8},{"country":"Bahamas","gold":6,"silver":0,"bronze":5,"total":11},{"country":"Japan","gold":5,"silver":31,"bronze":8,"total":44},{"country":"Bulgaria","gold":5,"silver":6,"bronze":2,"total":13},{"country":"Sweden","gold":4,"silver":20,"bronze":8,"total":32},{"country":"Greece","gold":4,"silver":6,"bronze":8,"total":18},{"country":"Canada","gold":4,"silver":4,"bronze":23,"total":31},{"country":"Ethiopia","gold":4,"silver":1,"bronze":3,"total":8},{"country":"Ukraine","gold":3,"silver":20,"bronze":12,"total":35},{"country":"Spain","gold":3,"silver":19,"bronze":20,"total":42},{"country":"Belarus","gold":3,"silver":8,"bronze":11,"total":22},{"country":"Kazakhstan","gold":3,"silver":4,"bronze":0,"total":7},{"country":"Finland","gold":3,"silver":1,"bronze":1,"total":5},{"country":"Austria","gold":3,"silver":1,"bronze":0,"total":4},{"country":"Turkey","gold":3,"silver":0,"bronze":2,"total":5},{"country":"Iran","gold":3,"silver":0,"bronze":1,"total":4},{"country":"Slovenia","gold":3,"silver":0,"bronze":0,"total":3},{"country":"Indonesia","gold":2,"silver":4,"bronze":2,"total":8},{"country":"Czech Republic","gold":2,"silver":3,"bronze":4,"total":9},{"country":"Kenya","gold":2,"silver":3,"bronze":2,"total":7},{"country":"Slovakia","gold":2,"silver":3,"bronze":1,"total":6},{"country":"Lithuania","gold":2,"silver":0,"bronze":15,"total":17},{"country":"Azerbaijan","gold":2,"silver":0,"bronze":1,"total":3},{"country":"Switzerland","gold":1,"silver":11,"bronze":2,"total":14},{"country":"Mexico","gold":1,"silver":2,"bronze":3,"total":6},{"country":"Algeria","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Uzbekistan","gold":1,"silver":1,"bronze":2,"total":4},{"country":"Latvia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Croatia","gold":1,"silver":0,"bronze":9,"total":10},{"country":"New Zealand","gold":1,"silver":0,"bronze":3,"total":4},{"country":"Estonia","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Thailand","gold":1,"silver":0,"bronze":2,"total":3},{"country":"Colombia","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Mozambique","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Jamaica","gold":0,"silver":20,"bronze":3,"total":23},{"country":"Argentina","gold":0,"silver":17,"bronze":3,"total":20},{"country":"Brazil","gold":0,"silver":12,"bronze":36,"total":48},{"country":"Belgium","gold":0,"silver":3,"bronze":4,"total":7},{"country":"South Africa","gold":0,"silver":2,"bronze":3,"total":5},{"country":"Chinese Taipei","gold":0,"silver":1,"bronze":4,"total":5},{"country":"Morocco","gold":0,"silver":1,"bronze":4,"total":5},{"country":"North Korea","gold":0,"silver":1,"bronze":3,"total":4},{"country":"Moldova","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Saudi Arabia","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Trinidad and Tobago","gold":0,"silver":1,"bronze":1,"total":2},{"country":"Ireland","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Sri Lanka","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Uruguay","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Vietnam","gold":0,"silver":1,"bronze":0,"total":1},{"country":"Chile","gold":0,"silver":0,"bronze":17,"total":17},{"country":"Georgia","gold":0,"silver":0,"bronze":6,"total":6},{"country":"Costa Rica","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Portugal","gold":0,"silver":0,"bronze":2,"total":2},{"country":"Armenia","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Barbados","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Iceland","gold":0,"silver":0,"bronze":1,"total":1},{"country":"India","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Israel","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Kuwait","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Kyrgyzstan","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Macedonia","gold":0,"silver":0,"bronze":1,"total":1},{"country":"Qatar","gold":0,"silver":0,"bronze":1,"total":1}] \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/9_in.json b/olympics/testdata/tests/top-countries-in-year/9_in.json new file mode 100644 index 0000000..cb5d1cb --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/9_in.json @@ -0,0 +1 @@ +{"year": 2010, "limit": 21} \ No newline at end of file diff --git a/olympics/testdata/tests/top-countries-in-year/9_out.json b/olympics/testdata/tests/top-countries-in-year/9_out.json new file mode 100644 index 0000000..9970dbe --- /dev/null +++ b/olympics/testdata/tests/top-countries-in-year/9_out.json @@ -0,0 +1 @@ +[{"country":"Canada","gold":67,"silver":15,"bronze":8,"total":90},{"country":"Norway","gold":16,"silver":14,"bronze":9,"total":39},{"country":"Germany","gold":15,"silver":24,"bronze":15,"total":54},{"country":"United States","gold":12,"silver":63,"bronze":22,"total":97},{"country":"Austria","gold":11,"silver":9,"bronze":6,"total":26},{"country":"Sweden","gold":11,"silver":3,"bronze":4,"total":18},{"country":"China","gold":9,"silver":3,"bronze":7,"total":19},{"country":"South Korea","gold":6,"silver":10,"bronze":2,"total":18},{"country":"Russia","gold":6,"silver":5,"bronze":14,"total":25},{"country":"Switzerland","gold":6,"silver":0,"bronze":6,"total":12},{"country":"Netherlands","gold":4,"silver":1,"bronze":6,"total":11},{"country":"France","gold":2,"silver":6,"bronze":6,"total":14},{"country":"Australia","gold":2,"silver":1,"bronze":0,"total":3},{"country":"Czech Republic","gold":2,"silver":0,"bronze":7,"total":9},{"country":"Poland","gold":1,"silver":3,"bronze":4,"total":8},{"country":"Italy","gold":1,"silver":1,"bronze":3,"total":5},{"country":"Belarus","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Slovakia","gold":1,"silver":1,"bronze":1,"total":3},{"country":"Great Britain","gold":1,"silver":0,"bronze":0,"total":1},{"country":"Japan","gold":0,"silver":5,"bronze":2,"total":7},{"country":"Latvia","gold":0,"silver":3,"bronze":0,"total":3}] \ No newline at end of file