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

Re-enable transparency test, change colors #40

Merged
merged 1 commit into from
Dec 13, 2018

Conversation

dmreagan
Copy link
Contributor

While investigating #6, I found that test_order_transparent had been mostly commented out. When I un-commented it, one of the assertions failed. When the green line was in front, the test expected the pixel's green component to be larger than the red component. In reality, it was smaller by 1, despite the image looking correct. I changed the green line's color from [0, 0.5, 0] to [0, 1., 0] and now the tests pass, both in offscreen and onscreen rendering.

@pep8speaks
Copy link

Hello @dmreagan! Thanks for submitting the PR.

@codecov
Copy link

codecov bot commented Dec 13, 2018

Codecov Report

Merging #40 into master will increase coverage by 0.19%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   80.83%   81.03%   +0.19%     
==========================================
  Files          12       12              
  Lines        3011     3011              
  Branches      333      333              
==========================================
+ Hits         2434     2440       +6     
+ Misses        475      470       -5     
+ Partials      102      101       -1
Impacted Files Coverage Δ
fury/window.py 71.42% <0%> (+1.71%) ⬆️

@skoudoro skoudoro added this to the v0.2.0 milestone Dec 13, 2018
@skoudoro
Copy link
Contributor

Thank you @dmreagan! LGTM, I just need to test it on my mac and then, I can merge it.

@skoudoro skoudoro merged commit f12b691 into fury-gl:master Dec 13, 2018
@dmreagan dmreagan deleted the test-transparent branch December 13, 2018 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants