11import org .junit .jupiter .api .Disabled ;
2+ import org .junit .jupiter .api .DisplayName ;
23import org .junit .jupiter .api .Test ;
34
45import static org .assertj .core .api .Assertions .assertThat ;
@@ -9,6 +10,7 @@ public class SpaceAgeTest {
910 private static final double MAXIMUM_DELTA = 1E-02 ;
1011
1112 @ Test
13+ @ DisplayName ("age on Earth" )
1214 public void ageOnEarth () {
1315 SpaceAge age = new SpaceAge (1000000000 );
1416
@@ -17,6 +19,7 @@ public void ageOnEarth() {
1719
1820 @ Disabled ("Remove to run test" )
1921 @ Test
22+ @ DisplayName ("age on Mercury" )
2023 public void ageOnMercury () {
2124 SpaceAge age = new SpaceAge (2134835688 );
2225
@@ -25,6 +28,7 @@ public void ageOnMercury() {
2528
2629 @ Disabled ("Remove to run test" )
2730 @ Test
31+ @ DisplayName ("age on Venus" )
2832 public void ageOnVenus () {
2933 SpaceAge age = new SpaceAge (189839836 );
3034
@@ -33,6 +37,7 @@ public void ageOnVenus() {
3337
3438 @ Disabled ("Remove to run test" )
3539 @ Test
40+ @ DisplayName ("age on Mars" )
3641 public void ageOnMars () {
3742 SpaceAge age = new SpaceAge (2129871239L );
3843
@@ -41,6 +46,7 @@ public void ageOnMars() {
4146
4247 @ Disabled ("Remove to run test" )
4348 @ Test
49+ @ DisplayName ("age on Jupiter" )
4450 public void ageOnJupiter () {
4551 SpaceAge age = new SpaceAge (901876382 );
4652
@@ -49,6 +55,7 @@ public void ageOnJupiter() {
4955
5056 @ Disabled ("Remove to run test" )
5157 @ Test
58+ @ DisplayName ("age on Saturn" )
5259 public void ageOnSaturn () {
5360 SpaceAge age = new SpaceAge (2000000000L );
5461
@@ -57,6 +64,7 @@ public void ageOnSaturn() {
5764
5865 @ Disabled ("Remove to run test" )
5966 @ Test
67+ @ DisplayName ("age on Uranus" )
6068 public void ageOnUranus () {
6169 SpaceAge age = new SpaceAge (1210123456L );
6270
@@ -65,6 +73,7 @@ public void ageOnUranus() {
6573
6674 @ Disabled ("Remove to run test" )
6775 @ Test
76+ @ DisplayName ("age on Neptune" )
6877 public void ageOnNeptune () {
6978 SpaceAge age = new SpaceAge (1821023456L );
7079
0 commit comments