packages feed

arrayfire-0.1.0.0: test/ArrayFire/FeaturesSpec.hs

{-# LANGUAGE TypeApplications #-}
module ArrayFire.FeaturesSpec where

import ArrayFire hiding (acos)
import Prelude
import Test.Hspec

spec :: Spec
spec =
  describe "Feautures tests" $ do
    it "Should get features number an array" $ do
      let feats = createFeatures 10
      getFeaturesNum feats `shouldBe` 10