Skip to content

Conversation

@MathisGD
Copy link
Collaborator

@MathisGD MathisGD commented Sep 22, 2022

This PR adds invariant testing for the HeapOrdering. This is particularly suited for data structures.

Questions:

  • Should I remove the old TestRandomHeam ? (my answer would be yes)
  • Should I put them in the same file than the other tests (I would also say yes)

To do:

  • Basic invariants two-heap
  • Basic invariants three-heap
  • Test max sorted users

@MathisGD MathisGD self-assigned this Sep 22, 2022
@MathisGD MathisGD changed the base branch from main to feat/three-heap September 25, 2022 19:45
@MathisGD MathisGD requested a review from QGarchery September 25, 2022 20:30
@MathisGD MathisGD force-pushed the test/heap-invariant branch 3 times, most recently from db4a55d to dff8ec4 Compare October 13, 2022 21:27
@MathisGD MathisGD marked this pull request as ready for review October 13, 2022 21:35
@pakim249CAL
Copy link

The test run seems quite long? We should reduce the number of runs somehow, or not include this in our general testing commands/CI.

@MathisGD
Copy link
Collaborator Author

The test run seems quite long? We should reduce the number of runs somehow, or not include this in our general testing commands/CI.

Locally it was ok (~10min), but it seems that it is too heavy for the CI 😬

Copy link
Contributor

@MerlinEgalite MerlinEgalite left a comment

Choose a reason for hiding this comment

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

LGTM

Base automatically changed from feat/three-heap to main November 11, 2022 18:25
@MathisGD MathisGD force-pushed the test/heap-invariant branch from 17be1fa to f38e75f Compare November 27, 2022 10:21
Copy link
Contributor

@MerlinEgalite MerlinEgalite left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@MerlinEgalite MerlinEgalite left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@QGarchery QGarchery left a comment

Choose a reason for hiding this comment

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

Awesome work ! A few things to change I think

@MathisGD MathisGD force-pushed the test/heap-invariant branch from 9096ebd to e3409ac Compare November 28, 2022 16:20
@MathisGD MathisGD requested a review from QGarchery November 28, 2022 21:47
@MathisGD MathisGD merged commit d081cfb into main Nov 29, 2022
@MathisGD MathisGD deleted the test/heap-invariant branch November 29, 2022 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants