diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-04-08 03:56:29 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-04-08 03:56:29 +0400 |
commit | 3867719780293528e604452818b9d9a616938783 (patch) | |
tree | 0ec8dcbaf5110fb329dfd8952f797b6de44b3afe /tests/Network/BitTorrent/Exchange/BitfieldSpec.hs | |
parent | 2a9a39dccbe7ed46b537d6b051c42432c275e156 (diff) |
Move bitfield to exchange subsystem
Diffstat (limited to 'tests/Network/BitTorrent/Exchange/BitfieldSpec.hs')
-rw-r--r-- | tests/Network/BitTorrent/Exchange/BitfieldSpec.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/Network/BitTorrent/Exchange/BitfieldSpec.hs b/tests/Network/BitTorrent/Exchange/BitfieldSpec.hs new file mode 100644 index 00000000..234965fa --- /dev/null +++ b/tests/Network/BitTorrent/Exchange/BitfieldSpec.hs | |||
@@ -0,0 +1,13 @@ | |||
1 | {-# OPTIONS -fno-warn-orphans #-} | ||
2 | module Network.BitTorrent.Exchange.BitfieldSpec (spec) where | ||
3 | import Control.Applicative | ||
4 | import Test.Hspec | ||
5 | import Test.QuickCheck | ||
6 | |||
7 | import Network.BitTorrent.Exchange.Bitfield | ||
8 | |||
9 | instance Arbitrary Bitfield where | ||
10 | arbitrary = fromBitmap <$> arbitrary | ||
11 | |||
12 | spec :: Spec | ||
13 | spec = return () \ No newline at end of file | ||