|
3 | 3 | public class SpaceAgeTests |
4 | 4 | { |
5 | 5 | [Fact] |
6 | | - public void Age_on_earth() |
| 6 | + public void AgeOnEarth() |
7 | 7 | { |
8 | 8 | var sut = new SpaceAge(1000000000); |
9 | 9 | Assert.Equal(31.69, sut.OnEarth(), precision: 2); |
10 | 10 | } |
11 | 11 |
|
12 | 12 | [Fact(Skip = "Remove this Skip property to run this test")] |
13 | | - public void Age_on_mercury() |
| 13 | + public void AgeOnMercury() |
14 | 14 | { |
15 | 15 | var sut = new SpaceAge(2134835688); |
16 | 16 | Assert.Equal(280.88, sut.OnMercury(), precision: 2); |
17 | 17 | } |
18 | 18 |
|
19 | 19 | [Fact(Skip = "Remove this Skip property to run this test")] |
20 | | - public void Age_on_venus() |
| 20 | + public void AgeOnVenus() |
21 | 21 | { |
22 | 22 | var sut = new SpaceAge(189839836); |
23 | 23 | Assert.Equal(9.78, sut.OnVenus(), precision: 2); |
24 | 24 | } |
25 | 25 |
|
26 | 26 | [Fact(Skip = "Remove this Skip property to run this test")] |
27 | | - public void Age_on_mars() |
| 27 | + public void AgeOnMars() |
28 | 28 | { |
29 | 29 | var sut = new SpaceAge(2129871239); |
30 | 30 | Assert.Equal(35.88, sut.OnMars(), precision: 2); |
31 | 31 | } |
32 | 32 |
|
33 | 33 | [Fact(Skip = "Remove this Skip property to run this test")] |
34 | | - public void Age_on_jupiter() |
| 34 | + public void AgeOnJupiter() |
35 | 35 | { |
36 | 36 | var sut = new SpaceAge(901876382); |
37 | 37 | Assert.Equal(2.41, sut.OnJupiter(), precision: 2); |
38 | 38 | } |
39 | 39 |
|
40 | 40 | [Fact(Skip = "Remove this Skip property to run this test")] |
41 | | - public void Age_on_saturn() |
| 41 | + public void AgeOnSaturn() |
42 | 42 | { |
43 | 43 | var sut = new SpaceAge(2000000000); |
44 | 44 | Assert.Equal(2.15, sut.OnSaturn(), precision: 2); |
45 | 45 | } |
46 | 46 |
|
47 | 47 | [Fact(Skip = "Remove this Skip property to run this test")] |
48 | | - public void Age_on_uranus() |
| 48 | + public void AgeOnUranus() |
49 | 49 | { |
50 | 50 | var sut = new SpaceAge(1210123456); |
51 | 51 | Assert.Equal(0.46, sut.OnUranus(), precision: 2); |
52 | 52 | } |
53 | 53 |
|
54 | 54 | [Fact(Skip = "Remove this Skip property to run this test")] |
55 | | - public void Age_on_neptune() |
| 55 | + public void AgeOnNeptune() |
56 | 56 | { |
57 | 57 | var sut = new SpaceAge(1821023456); |
58 | 58 | Assert.Equal(0.35, sut.OnNeptune(), precision: 2); |
|
0 commit comments