-
Notifications
You must be signed in to change notification settings - Fork 20k
Implement Color Contrast Ratio + Unit Tests #2023
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
Implement Color Contrast Ratio + Unit Tests #2023
Conversation
It looks to me that the test causing the build failure is one which is not added by this PR. com.designpatterns.creational.singleton.SingletonTest > testSingleton() FAILED
java.lang.NullPointerException at SingletonTest.java:36 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Does a comment count as activity? |
Hey please make PR to master branch. |
But it says on README it says that we should go to Development to make contributions?
|
yes sure, earlier it was decided to transform this repository in a java project structure but this approach is not suitable for the purpose which this repository serves, The sole purpose of The Algorithms organisation is to serve as an educational orgranisation in field of Algorithms and Data Structure. If project strcture arrangement files become dependent on one another, which is not good for the purpose of this repository. We want each and every file to be independent from other files so that it will not confuse begginers and they will eaisly be able to run each file independently. |
we are in process of removing that NOTE from README.md issue #2116 |
Thanks for your consideration @SethFalco |
Describe your change:
This implements the procedure documented on the W3 website to calculate the contrast ratio between two colors.
https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-procedure
References
I'm closing #1794 and opening this one instead.
#1794 was my original pull request which went to the master branch, this instead goes to the development branch and adds unit tests.
Checklist:
Fixes: #{$ISSUE_NO}
.