Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert benchmark to DiscreteTraject0ry #3196

Merged
merged 7 commits into from
Nov 7, 2021

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Nov 7, 2021

This is expected to conclude the migration.

#3136.

@eggrobin eggrobin added the LGTM label Nov 7, 2021
auto const rendered_trajectory =
plugin_->renderer().RenderBarycentricTrajectoryInWorld(
plugin_->CurrentTime(),
history->begin(),
psychohistory->end(),
sun_world_position,
plugin_->PlanetariumRotation());
EXPECT_EQ(4321, rendered_trajectory.size());
EXPECT_THAT(rendered_trajectory.size(), AllOf(Ge(4321), Le(9414)));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SizeIs(AllOf(Ge(4321), Le(9414))).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, SizeIs(AnyOf(4321, 9414)), it’s not like we should expect to fall somewhere in between with a three-quarters-debug configuration.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done (2x).

@pleroy pleroy merged commit 581a644 into mockingbirdnest:Ondelette Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants