Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 22d5544b84d3
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 15ab1ec1d7e5
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Feb 18, 2019

  1. Copy the full SHA
    a67619f View commit details

Commits on Feb 19, 2019

  1. Merge pull request #2082 from pleroy/SlowTest

    Ifdef out a test that has become too slow
    pleroy authored Feb 19, 2019
    Copy the full SHA
    15ab1ec View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 physics/ephemeris_test.cpp
2 changes: 2 additions & 0 deletions physics/ephemeris_test.cpp
Original file line number Diff line number Diff line change
@@ -775,6 +775,7 @@ TEST_P(EphemerisTest, ComputeGravitationalAccelerationMasslessBody) {
-9.832 * SIUnit<Acceleration>()), 6.7e-6);
}

#if !defined(_DEBUG)
// An apple located a bit above the pole collides with the ground.
TEST_P(EphemerisTest, CollisionDetection) {
Time const short_duration = 1 * Second;
@@ -824,6 +825,7 @@ TEST_P(EphemerisTest, CollisionDetection) {
EXPECT_THAT(ephemeris.FlowWithFixedStep(t0_ + long_duration, *instance),
StatusIs(Error::OUT_OF_RANGE));
}
#endif

TEST_P(EphemerisTest, ComputeGravitationalAccelerationMassiveBody) {
Time const duration = 1 * Second;