-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
move size check out of Iterable.contains assertions #299
Comments
I'll work on this |
@ivanmiklec Let me know in case you need more information |
@robstoll was busy but I'm going to solve this during the upcoming week |
@ivanmiklec No worries, I don't expect it to be part of 0.13.0 so no rush. |
@ivanmiklec I am going to refactor IterableContains, I suggest you wait with your implementation until #564 is closed. If you have already started: don't worry, the change will mainly be moving code from domain-robstoll to logic |
Sure, going to wait a bit then |
@ivanmiklec refactoring is merged, you need to modify the files in /logic/atrium-logic-common/src/main/kotlin/ch/tutteli/atrium/logic/creating/iterable/contains/creators/impl |
Hey, just to check am I on a good path for this one and to pick up a few clues, found size check Assertion is being added in |
Writing from my mobile (without code at hand). I think the size checks should still be done in there but the resulting assertion at the end of the methods needs to re-arranged. First the size check and then contains. |
Yeah thanks for elaborating, finally understood idea, found there is size assertions being added in |
Line 57 ff. we create a feature assertion for size and add it to |
Platform (jvm, js, android): all
Extension (none, kotlin 1.3, jdk8): none
Code related feature
Discussion see #292 and robstoll/atrium-roadmap#53
In short move the
> size: 2 to be ...
check out ofcontains..
The text was updated successfully, but these errors were encountered: