summaryrefslogtreecommitdiff
path: root/tests/Network/BitTorrent/Exchange/BitfieldSpec.hs
blob: 234965faf4398eede5d92207eaa59430f09901b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# OPTIONS -fno-warn-orphans #-}
module Network.BitTorrent.Exchange.BitfieldSpec (spec) where
import Control.Applicative
import Test.Hspec
import Test.QuickCheck

import Network.BitTorrent.Exchange.Bitfield

instance Arbitrary Bitfield where
  arbitrary = fromBitmap <$> arbitrary

spec :: Spec
spec = return ()