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

Create Closure subclass for QAP tests #32

Closed
cubranic opened this issue Sep 16, 2014 · 0 comments
Closed

Create Closure subclass for QAP tests #32

cubranic opened this issue Sep 16, 2014 · 0 comments

Comments

@cubranic
Copy link
Owner

In my unit tests dealing with Rserve and QAP parsing, I have duplicate code section that cleans up the expected value of closures to delete its 'environment' member because those aren't serialized in QAP. Instead, it would be cleaner to just have the expected value that is a subclass of REXP::Closure that overrides the equal method to allow equality when the compared object's "environment" is undef if everything else matches.

cubranic added a commit that referenced this issue Dec 17, 2014
Changes since v0.092:

- Implement complex vector SEXPs (#30)
- Implement closure SEXPs (#29, #32, #34, #35, #36, #38)
- Implement expression SEXPs (#26)
- Implement special environments global, base, and empty (#31, #33)
- Allow configuring Rserve host from WebWork settings
- Add graceful failure in WWk macros if Rserve host is not configured
- Fix parsing of special row names (#39)
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

No branches or pull requests

1 participant