Simon Sapin
|
e9a61eeb04
|
Add tests for reaching the end of RangeInclusive as an iterator
|
2017-07-08 08:55:55 +02:00 |
|
Simon Sapin
|
7a40307a7c
|
Add tests for Range*::nth
|
2017-07-08 08:55:55 +02:00 |
|
Scott McMurray
|
dcd332ed94
|
Delete deprecated & unstable range-specific step_by
Replacement: 41439
Deprecation: 42310 for 1.19
Fixes 41477
|
2017-07-01 19:18:02 -07:00 |
|
Scott McMurray
|
15dff84dc3
|
Avoid range::step_by in another test
|
2017-05-31 22:35:35 -07:00 |
|
Scott McMurray
|
0967e2495d
|
Deprecate Range*::step_by
Changed all the tests except test_range_step to use Iterator::step_by.
|
2017-05-31 22:35:34 -07:00 |
|
Scott McMurray
|
265dce66b6
|
RangeFrom should have an infinite size_hint
This makes the size_hint from things like `take` more precise.
|
2017-05-30 09:15:25 -07:00 |
|
Scott McMurray
|
57f260d418
|
Override size_hint and propagate ExactSizeIterator for iter::StepBy
Generally useful, but also a prerequisite for moving a bunch of unit tests off Range::step_by.
|
2017-05-23 02:24:25 -07:00 |
|
Ivan Dardi
|
fa01372555
|
Fix commit derp and update implementations and documentation
|
2017-05-12 15:11:15 -03:00 |
|
Scott McMurray
|
f8c6436173
|
Step::replace_one should put a one, not a zero (Issue #41492)
Turns out all six of these impls are incorrect.
|
2017-04-23 21:47:09 -07:00 |
|
Stjepan Glavina
|
13c744f30d
|
Move libXtest into libX/tests
This change moves:
1. `libcoretest` into `libcore/tests`
2. `libcollectionstest` into `libcollections/tests`
This is a follow-up to #39561.
|
2017-04-03 20:49:39 +02:00 |
|