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
Fix #315 #342 #343
Fix #315 #342 #343
Conversation
Fix issue in Bits where singleBit for Long was shitfing bits incorrectly Add random index for IndexTests/OptionalTests using ScalaCheck
@@ -43,6 +43,7 @@ lazy val buildSettings = Seq( | |||
lazy val scalaz = Def.setting("org.scalaz" %%% "scalaz-core" % "7.2.1") | |||
lazy val shapeless = Def.setting("com.chuusai" %%% "shapeless" % "2.3.0") | |||
lazy val refinedDep = Def.setting("eu.timepit" %%% "refined" % "0.3.7") | |||
lazy val refinedScalaCheckDep = Def.setting("eu.timepit" %%% "refined-scalacheck" % "0.3.7") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add "test" modifier
Updated! I had to move the dependency for it to compile, let me know if there's anything else you want changed :) |
sEq: Equal[S], sArb: Arbitrary[S], | ||
iArb: Arbitrary[I], evAt: At[S, I, A]): RuleSet = { | ||
new SimpleRuleSet("At", LensTests(at(_: I)).props: _*) | ||
} | ||
|
||
def defaultIntIndex[S, A](implicit aEq: Equal[A], aArb: Arbitrary[A], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can probably remove defaultIntIndex
Thank you very much, it is awesome to write tests that actually find bugs :) |
… no longer necessary Also, modified code format broken by intelliJ
No, thank you! It was fun and I learned :) I've removed the methods, updated code to user the 'proper' apply way, and fixed the styling (hopefully). Let me know if you want me to tweak something else, as IntelliJ may do stuff I don't realise... :eh: |
👍 |
Fix issue in Bits where singleBit for Long was shitfing bits incorrectly
Add random index for IndexTests/OptionalTests using ScalaCheck