Skip to content

Add tests for Dop and fix bugs found#177

Merged
utensil merged 3 commits intopygae:masterfrom
eric-wieser:test-dop
Dec 18, 2019
Merged

Add tests for Dop and fix bugs found#177
utensil merged 3 commits intopygae:masterfrom
eric-wieser:test-dop

Conversation

@eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Dec 18, 2019

See individual commits for details

@eric-wieser eric-wieser added this to the 0.4.5 milestone Dec 18, 2019
Comment on lines +23 to +26
# check division is associative
assert v * (ga.rgrad / 2) == (v * ga.rgrad) / 2 != 0
Copy link
Member Author

Choose a reason for hiding this comment

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

This test is the one that failed without the change in the other file

@codecov
Copy link

codecov bot commented Dec 18, 2019

Codecov Report

Merging #177 into master will increase coverage by 0.76%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #177      +/-   ##
==========================================
+ Coverage   67.84%   68.61%   +0.76%     
==========================================
  Files           9        9              
  Lines        4684     4684              
==========================================
+ Hits         3178     3214      +36     
+ Misses       1506     1470      -36
Impacted Files Coverage Δ
galgebra/mv.py 66.85% <85.71%> (+2.2%) ⬆️
galgebra/ga.py 73.53% <0%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ce4920...33ea37a. Read the comment docs.

This should hopefully improve coverage.

One of these tests fails right now
This fixes the `TestDop.test_empty_dop` test.
@eric-wieser eric-wieser changed the title Preserve cmpflg in __truediv__ Add tests for Dop and fix bugs found Dec 18, 2019
@eric-wieser eric-wieser requested a review from utensil December 18, 2019 10:32
@utensil utensil merged commit 8d15ea4 into pygae:master Dec 18, 2019
@eric-wieser eric-wieser deleted the test-dop branch December 18, 2019 16:09
@eric-wieser eric-wieser added the component: differential operators Dop, Pdop, Sdop, grad, rgrad, etc label Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug component: differential operators Dop, Pdop, Sdop, grad, rgrad, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants