Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions exercises/space-age/src/test/java/SpaceAgeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ public void ageInSeconds() {
assertEquals(1000000, age.getSeconds(), MAXIMUM_DELTA);
}

@Ignore
@Ignore("Remove to run test")
@Test
public void ageOnEarth() {
SpaceAge age = new SpaceAge(1000000000);

assertEquals(31.69, age.onEarth(), MAXIMUM_DELTA);
}

@Ignore
@Ignore("Remove to run test")
@Test
public void ageOnMercury() {
SpaceAge age = new SpaceAge(2134835688);
Expand All @@ -32,7 +32,7 @@ public void ageOnMercury() {
assertEquals(280.88, age.onMercury(), MAXIMUM_DELTA);
}

@Ignore
@Ignore("Remove to run test")
@Test
public void ageOnVenus() {
SpaceAge age = new SpaceAge(189839836);
Expand All @@ -41,7 +41,7 @@ public void ageOnVenus() {
assertEquals(9.78, age.onVenus(), MAXIMUM_DELTA);
}

@Ignore
@Ignore("Remove to run test")
@Test
public void ageOnMars() {
SpaceAge age = new SpaceAge(2329871239L);
Expand All @@ -50,7 +50,7 @@ public void ageOnMars() {
assertEquals(39.25, age.onMars(), MAXIMUM_DELTA);
}

@Ignore
@Ignore("Remove to run test")
@Test
public void ageOnJupiter() {
SpaceAge age = new SpaceAge(901876382);
Expand All @@ -59,7 +59,7 @@ public void ageOnJupiter() {
assertEquals(2.41, age.onJupiter(), MAXIMUM_DELTA);
}

@Ignore
@Ignore("Remove to run test")
@Test
public void ageOnSaturn() {
SpaceAge age = new SpaceAge(3000000000L);
Expand All @@ -68,7 +68,7 @@ public void ageOnSaturn() {
assertEquals(3.23, age.onSaturn(), MAXIMUM_DELTA);
}

@Ignore
@Ignore("Remove to run test")
@Test
public void ageOnUranus() {
SpaceAge age = new SpaceAge(3210123456L);
Expand All @@ -77,7 +77,7 @@ public void ageOnUranus() {
assertEquals(1.21, age.onUranus(), MAXIMUM_DELTA);
}

@Ignore
@Ignore("Remove to run test")
@Test
public void ageOnNeptune() {
SpaceAge age = new SpaceAge(8210123456L);
Expand Down