summaryrefslogtreecommitdiff
path: root/tests/Main.hs
AgeCommit message (Collapse)Author
2013-06-07~ Fix bug in torrent bencode instance.Sam T
Also add encoding tests for torrent module.
2013-06-07+ Add tests for bitfield.Sam T
2013-06-06+ Add some tests.Sam T
2013-06-02~ Use IntSet instead of ByteString for bitfields.Sam T
There are several reasons for this: * IntSet is stored in ordinary heap, while ByteStrings in pinned memory; * Our IntSet's should be much faster 90% time. (in typical BT client) Hovewer in worst case IntSet is slower, but difference should is not so big. (We should measure this although) * It's pure, tested, error-free and much more convenient. Moreover we have kill a lot of ugly code!
2013-05-08~ Fix handshake.Sam T
2013-05-05~ Move bitfields to Data.Sam T
2013-05-05+ Add bitfield completeness function.Sam T
2013-05-04+ Add some test cases for findMin & finMax.Sam T
2013-05-03+ Add more properties for bitfield operations.Sam T
2013-05-03+ Add tests for bitfield min & max.Sam T
2013-05-03+ Add initial tests for bitfields.Sam T