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 BTree tests #13

Closed
wants to merge 16 commits into from
Closed

Add BTree tests #13

wants to merge 16 commits into from

Conversation

luc-tielen
Copy link
Owner

Resolves #8.

This was needed since we only want the JIT compiler to run once before
the entire set of tests that check the BTree implementation. Otherwise
the JIT would run once for each (property) test!

Maybe in the future the two directories can get merged again, but it
would probably involve something hacky like the following (which I chose
not to do at the moment):

```haskell
spec :: IO ()
spec = runIO $ jitCompile $ \ffi -> hspec $ do
  -- ...
```

(This will run the tests while the test tree is being built up, which is
unexpected.)
@luc-tielen luc-tielen closed this Apr 22, 2022
@luc-tielen luc-tielen deleted the btree-property-tests branch April 22, 2022 06:41
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.

Add property tests for btree functions
1 participant