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

Refactor core.d to separate package #20

Merged
merged 5 commits into from Feb 14, 2018

Conversation

jmh530
Copy link
Contributor

@jmh530 jmh530 commented Oct 22, 2017

The unittests in core.d combine several different functions at once. This makes them more conducive to a package.d in a sub module.

I have refactored core.d into a separate package, the package.d file has the original unittests, and the other modules are different subsets of the original functionality of core.d I attempted to split up the functions based on how this website categorizes them, with a separate module for utility functions that didn't seem to fit.

In addition, I moved the imports into local imports where appropriate.

Future work will involve adding unittests that test each specific function, but I wanted this PR to be more focused.

EDIT: Depending on the order of different PRs that are in the queue, I may need to make some adjustments to this or them depending on the order of their acceptance.

@coveralls
Copy link

coveralls commented Oct 22, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 90ea28d on jmh530:jmh530-splitcore into 5678bc4 on libmir:master.

@ShigekiKarita
Copy link
Member

thank you for sending many PRs! unfortunately, I cannot take my time in this week. let me review next week

@jmh530
Copy link
Contributor Author

jmh530 commented Oct 22, 2017 via email

@jmh530
Copy link
Contributor Author

jmh530 commented Oct 27, 2017

@ShigekiKarita I have moved around the unittests (with a few small changes). I kept many in the package.d file that you originally had there as package-level documentation, but moved a copy of them or created new ones for the other functions for function-specific documentation.

@ShigekiKarita
Copy link
Member

@jmh530 Does this PR fully consist of #18 ?

@ShigekiKarita ShigekiKarita self-assigned this Dec 9, 2017
@jmh530
Copy link
Contributor Author

jmh530 commented Dec 9, 2017

@ShigekiKarita I don't think so.

@ShigekiKarita
Copy link
Member

I will do this separation today with your enriched doc in #18 . just a moment!

@ShigekiKarita ShigekiKarita merged commit f160b92 into libmir:master Feb 14, 2018
@ShigekiKarita
Copy link
Member

@jmh530 I resolved conflicts. Thanks.

@jmh530 jmh530 deleted the jmh530-splitcore branch February 17, 2018 15:54
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.

None yet

3 participants