233 Commits

Author SHA1 Message Date
ripytide
4f104c8c11 fixed clippy and added is_empty() to map and set 2022-12-12 00:50:53 +00:00
ripytide
c3c61c4134 added FromIterator to map and set 2022-12-12 00:35:13 +00:00
ripytide
75c98b52f7 tidied todo 2022-12-12 00:05:07 +00:00
ripytide
399eea5b16 ported the new versions of gaps() gaps_same() cut() and cut_same() to set.rs 2022-12-12 00:01:38 +00:00
ripytide
ac62c67cbd all tests passing 2022-12-11 23:48:05 +00:00
ripytide
28c41468c3 fixed non-compiling doc-tests 2022-12-11 22:29:32 +00:00
ripytide
3c3dcda3f7 added cut_same() 2022-12-11 17:14:36 +00:00
ripytide
c879168c59 added return iterator to cut 2022-12-11 16:32:27 +00:00
ripytide
1ff034be6a finished re-writing logic via config and sortedConfig 2022-12-10 20:38:02 +00:00
ripytide
6b57f6d66f added first() and last() functions 2022-12-10 16:29:14 +00:00
ripytide
33e4cfac0b added very important clarification on non-overlapping map+set 2022-12-10 01:14:22 +00:00
ripytide
d5ecf2ae4c refactored MultiBounds using mii and mee() 2022-12-10 01:09:33 +00:00
ripytide
11f1b585c7 ported map.rs to set.rs 2022-12-10 00:59:28 +00:00
ripytide
b6006de296 Add generic parameter explanations to RangeBoundsMap 2022-12-10 00:07:06 +00:00
ripytide
c8e4d89998 finished fixing refactor from BoundOrd::from to ::start and ::end 2022-12-09 23:50:25 +00:00
ripytide
ec97b5d199 changed name of StartBound to more generic BoundOrd 2022-12-09 23:39:39 +00:00
ripytide
b921fce269 convert txt to md 2022-12-09 20:29:45 +00:00
ripytide
ce460dfcd7 refactor ::<0> to all use None::<[_; 0]> 2022-12-09 20:04:05 +00:00
ripytide
6cb040a769 finally finished writing and testing Everything 2022-12-09 03:16:09 +00:00
ripytide
3479334c67 modularised base coalescing functions inners 2022-12-09 01:36:10 +00:00
ripytide
57eebb1f62 added tests for insert_coalesce_touching 2022-12-08 23:49:27 +00:00
ripytide
47a1c425ff added cut tests for atomnicity and fixed them 2022-12-08 03:14:30 +00:00
ripytide
87ed4ad4e3 added final test and passing for touches() 2022-12-07 18:54:44 +00:00
ripytide
bc8e0791ed all tests passing 2022-12-07 18:17:39 +00:00
ripytide
d0f03889d6 passing more tests after reworking gaps() 2022-12-06 21:28:40 +00:00
ripytide
f3221ec9c8 wrote most tests except for touches() 2022-12-06 20:30:52 +00:00
ripytide
3ed89cc250 tidy todo.txt 2022-12-05 21:10:32 +00:00
ripytide
80600b6a24 re-activate unit-tests 2022-12-05 20:48:23 +00:00
ripytide
61d065fb03 passing all tests 2022-12-05 20:21:02 +00:00
ripytide
741a0b1082 changed function signature for insert_coalesce_* functions and passing all but overwrite() tests 2022-12-05 20:13:06 +00:00
ripytide
10d9c59221 removed excess optimisation comments and implemented and passing two coalesceing functions 2022-12-05 19:48:36 +00:00
ripytide
264ec017a0 fix non unimplemented tests 2022-12-05 17:38:27 +00:00
ripytide
cd026947ee add exampes for TryFromBoundsError and convert next() to collect() for non-iter functions 2022-12-05 17:24:29 +00:00
ripytide
c3db5bd1a0 add more doc examples for overwrite 2022-12-05 01:23:03 +00:00
ripytide
23e0b49332 add new insert_* function and changed Errors to be more specific 2022-12-05 00:44:24 +00:00
ripytide
27b5680564 migrated insert() to insert_platonic() on map and set and update docs accordingly and simplified errors 2022-12-04 03:04:10 +00:00
ripytide
2a92be6515 refactored flip_bound 2022-12-04 01:09:37 +00:00
ripytide
d161626acd copied gaps() and contains_range_bounds() to set 2022-12-04 01:01:13 +00:00
ripytide
dcf752a6ef fixed bug in gaps which makes all tests pass 2022-12-03 21:42:23 +00:00
ripytide
04e7e9e67c renames long function to get_entry_at_point 2022-12-03 21:13:07 +00:00
ripytide
14499719cf added docs and fixed tests for gaps() in map 2022-12-03 21:06:39 +00:00
ripytide
ad56e8df00 finished implementing gaps() and contains_range_bounds() on map 2022-12-03 20:24:29 +00:00
ripytide
ac054199f1 added contains_range_bounds function and tests 2022-12-03 18:37:01 +00:00
ripytide
7116ae953e added less restrictive Default implementations 2022-12-03 18:04:21 +00:00
ripytide
0a092f7fb2 update readme 2022-12-03 17:49:38 +00:00
ripytide
0786be294b add cut() and remove_overlapping() to set 2022-12-03 17:40:41 +00:00
ripytide
11770c1c30 wrote tests and fixed tests for new cut() and remove_overlapping() 2022-12-03 17:26:07 +00:00
ripytide
3ba55d915d added docs to new methods, tests fail due to no Range: TryFrom<(Bound, Bound)> though 2022-12-02 20:04:11 +00:00
ripytide
1ca53523a0 finished implementing new remove_overlapping() and cut() functions 2022-12-02 18:38:17 +00:00
ripytide
49320f71aa fixed a few clippy lints and disabled others i disagree with 2022-12-02 02:53:57 +00:00