public void Asymmetric_position_between_the_inner_and_middle_circles() { Assert.Equal(5, Darts.Score(0.5, -4)); }
public void A_dart_lands_just_in_the_border_of_the_target() { Assert.Equal(1, Darts.Score(0, 10)); }
public void Missed_target() { Assert.Equal(0, Darts.Score(-9, 9)); }
public void Just_outside_the_outer_circle() { Assert.Equal(0, Darts.Score(7.1, -7.1)); }
public void A_dart_lands_in_the_inner_circle() { Assert.Equal(10, Darts.Score(-0.1, -0.1)); }
public void On_the_outer_circle() { Assert.Equal(1, Darts.Score(0, 10)); }
public void Just_outside_the_inner_circle() { Assert.Equal(5, Darts.Score(0.8, -0.8)); }
public void A_dart_lands_in_the_middle_circle() { Assert.Equal(5, Darts.Score(0.8, -0.8)); }
public void Near_the_centre() { Assert.Equal(10, Darts.Score(-0.1, -0.1)); }
public void Just_within_the_inner_circle() { Assert.Equal(10, Darts.Score(0.7, 0.7)); }
public void Exactly_on_centre() { Assert.Equal(10, Darts.Score(0, 0)); }
public void On_the_inner_circle() { Assert.Equal(10, Darts.Score(0, -1)); }
public void On_the_middle_circle() { Assert.Equal(5, Darts.Score(-5, 0)); }
public void A_dart_lands_in_the_outer_circle() { Assert.Equal(1, Darts.Score(4, 4)); }
public void Just_within_the_middle_circle() { Assert.Equal(5, Darts.Score(-3.5, 3.5)); }
public void A_dart_lands_right_in_the_border_between_outer_and_middle_circles() { Assert.Equal(5, Darts.Score(5, 0)); }
public void Just_outside_the_middle_circle() { Assert.Equal(1, Darts.Score(-3.6, -3.6)); }
public void A_dart_lands_right_in_the_border_between_middle_and_inner_circles() { Assert.Equal(10, Darts.Score(0, -1)); }
public void Just_within_the_outer_circle() { Assert.Equal(1, Darts.Score(-7, 7)); }
public void A_dart_lands_outside_the_target() { Assert.Equal(0, Darts.Score(-9, 9)); }
static void Main(string[] args) { Console.WriteLine(Darts.Score(15.3, 13.2)); }