17 Commits

Author SHA1 Message Date
Emir Pasic 6b0ffefe7f Fix iterator in binary heap 2022-04-15 00:07:42 +02:00
Emir Pasic 41012c6c58 Improve code coverage 2022-04-13 16:52:21 +02:00
Emir Pasic 1f0b87f0e1 Implements json.Marshaler and json.Unmarshaler interfaces 2022-04-12 04:31:44 +02:00
Emir Pasic 08ae493e8a Implement NextTo and PrevTo for all iterators and containers (index or key, forward-only or reversable) 2022-04-12 01:20:56 +02:00
Emir Pasic 7eadb02f45 - all trees (de)serialization 2017-03-06 04:18:23 +01:00
Emir Pasic 4ea857183a - optimization to bulk insert into heap as per @cristaloleg suggestion #32 2016-09-07 03:51:19 +02:00
Emir Pasic efcbbe6274 - detailed extensive tests with breakdown on number of elements 2016-07-16 04:40:16 +02:00
Emir Pasic 213367f1ca - replace long bsd text with short in all .go files 2016-06-27 04:21:09 +02:00
Emir Pasic 02f40db0cf - test iterator end on reverse-iterable data structures
- fix red-black tree
2016-06-27 02:42:05 +02:00
Emir Pasic 57162feff5 - rename Reset() to Begin() in iterators (this will allow End() which will make reverse loops more readable) 2016-06-27 00:08:01 +02:00
Emir Pasic cbc23a5b79 - test iterator first on all iterable data structures 2016-06-26 23:58:23 +02:00
Emir Pasic 3d1014bf63 - test iterator last on all structures with reversible iterators 2016-06-26 22:40:49 +02:00
Emir Pasic 3a938233a0 - test iterator reset on all structures 2016-06-26 21:44:23 +02:00
Emir Pasic ae143689c6 - add reversible iterators to binary heap 2016-06-25 19:26:08 +02:00
Emir Pasic ab6656e286 - refactor trees' tests 2016-06-24 20:23:54 +02:00
Emir Pasic 6c3a5ce1cc - add iterator to binary heap 2016-06-22 06:18:08 +02:00
Emir Pasic bc2bc08324 binary heap 2015-03-13 02:07:44 +01:00