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

generalize IntegratedStraightLineProgram #3104

Conversation

ThomasBreuer
Copy link
Contributor

  • extended IntegratedStraightLineProgram to the situation
    that some of the input programs return lists of elements,

  • adjusted the documentation of IntegratedStraightLineProgram
    accordingly,

  • mention in the documentation of StraightLineProgram
    that the given list of lines or string must be nonempty
    (the code has never allowed empty input data)

@ThomasBreuer ThomasBreuer added kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: library release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes labels Dec 12, 2018
@ChrisJefferson
Copy link
Contributor

I'm always tempted to ask "could there be some tests". While I realise there is an example, does it cover all the new cases?

I realise this request might seem annoying for fairly small change.

- extended `IntegratedStraightLineProgram` to the situation
  that some of the input programs return lists of elements,

- adjusted the documentation of `IntegratedStraightLineProgram`
  accordingly,

- mention in the documentation of `StraightLineProgram`
  that the given list of lines or string must be nonempty
  (the code has never allowed empty input data)

- added some tests for the extension
@ThomasBreuer ThomasBreuer force-pushed the TB_IntegratedStraightLineProgram branch from e5e4222 to 47b90a2 Compare December 13, 2018 15:28
@codecov
Copy link

codecov bot commented Dec 13, 2018

Codecov Report

Merging #3104 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3104      +/-   ##
==========================================
- Coverage   83.55%   83.55%   -0.01%     
==========================================
  Files         686      686              
  Lines      336665   336753      +88     
==========================================
+ Hits       281317   281390      +73     
- Misses      55348    55363      +15
Impacted Files Coverage Δ
lib/straight.gd 100% <ø> (ø) ⬆️
lib/straight.gi 61.08% <100%> (+0.2%) ⬆️
src/iostream.c 62.35% <0%> (-1.15%) ⬇️
lib/streams.gi 70.24% <0%> (-0.22%) ⬇️
src/stats.c 95.29% <0%> (-0.01%) ⬇️
src/integer.c 98.25% <0%> (-0.01%) ⬇️
src/opers.c 95.16% <0%> (+0.13%) ⬆️
src/objset.c 85.35% <0%> (+0.22%) ⬆️
lib/test.gi 68.49% <0%> (+0.83%) ⬆️
src/io.c 59.19% <0%> (+1.3%) ⬆️

@ThomasBreuer
Copy link
Contributor Author

@ChrisJefferson Thanks for your comment.
From the viewpoint of the code, the new manual example covers the new cases.
Nevertheless, I have added some more tests.

@ChrisJefferson ChrisJefferson merged commit 939ddb4 into gap-system:master Dec 18, 2018
@ThomasBreuer ThomasBreuer deleted the TB_IntegratedStraightLineProgram branch July 8, 2019 08:46
@DominikBernhardt DominikBernhardt added release notes: added PRs introducing changes that have since been mentioned in the release notes and removed release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes labels Aug 22, 2019
@olexandr-konovalov olexandr-konovalov added this to the GAP 4.11.0 milestone Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements release notes: added PRs introducing changes that have since been mentioned in the release notes topic: library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants