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

Add script for testing examples #399

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DaniilGoncharov
Copy link
Contributor

Add script for testing examples (without gfd). Bindings now return sorted list of fds (only for algos inherited from FDAlgorithm). Update README to the current output

Add script for testing examples (without gfd).  Bindings now return sorted list of fds (only for algos inherited from FDAlgorithm). Update README to the current output
Comment on lines +45 to +47
bool operator<(Vertical const& rhs) const {
return column_indices_ < rhs.column_indices_;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we change this operator< behavior?
Given the comment above (@brief section), we are not using operator< of bitsets intentionally

@@ -0,0 +1,40 @@
#!/bin/bash
Copy link
Collaborator

@polyntsov polyntsov May 1, 2024

Choose a reason for hiding this comment

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

It looks like we are reinventing cram tests: https://bitheap.org/cram/
I'm not sure we want to use this exact library, because it seems unsupported, but there is the example which shows the idea. The concept is suitable for our use case, we only need to find a good tool implementing cram testing

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.

2 participants