module Evaluation.Builtins.Conformance.Suites
( Generator
, Suite
, allSuites
) where
import Evaluation.Builtins.Conformance
( CheckMode
, OutputFormat
, PropertyFilter
, PropertyId
, PropertyReport
)
import Evaluation.Builtins.BLS12_381
( bls12_381_property_names
, generate_bls12_381_properties
)
import Evaluation.Builtins.Bitwise.CIP0122
( bitwise_cip0122_property_names
, generate_bitwise_cip0122_properties
)
import Evaluation.Builtins.Bitwise.CIP0123
( bitwise_cip0123_property_names
, generate_bitwise_cip0123_properties
)
import Evaluation.Builtins.Integer.DivModProperties
( generate_integer_div_mod_properties
, integer_div_mod_property_names
)
import Evaluation.Builtins.Integer.ExpModIntegerProperties
( generate_integer_exp_mod_properties
, integer_exp_mod_property_names
)
import Evaluation.Builtins.Integer.OrderProperties
( generate_integer_order_properties
, integer_order_property_names
)
import Evaluation.Builtins.Integer.QuotRemProperties
( generate_integer_quot_rem_properties
, integer_quot_rem_property_names
)
import Evaluation.Builtins.Integer.RingProperties
( generate_integer_ring_properties
, integer_ring_property_names
)
import Test.QuickCheck.Random (QCGen)
type Generator =
OutputFormat -> CheckMode -> PropertyFilter -> FilePath -> Int -> QCGen -> IO [PropertyReport]
type Suite = ([PropertyId], Generator)
allSuites :: [Suite]
allSuites :: [Suite]
allSuites =
[ ([PropertyId]
integer_ring_property_names, OutputFormat
-> CheckMode
-> PropertyFilter
-> FilePath
-> Int
-> QCGen
-> IO [PropertyReport]
generate_integer_ring_properties)
, ([PropertyId]
integer_div_mod_property_names, OutputFormat
-> CheckMode
-> PropertyFilter
-> FilePath
-> Int
-> QCGen
-> IO [PropertyReport]
generate_integer_div_mod_properties)
, ([PropertyId]
integer_quot_rem_property_names, OutputFormat
-> CheckMode
-> PropertyFilter
-> FilePath
-> Int
-> QCGen
-> IO [PropertyReport]
generate_integer_quot_rem_properties)
, ([PropertyId]
integer_order_property_names, OutputFormat
-> CheckMode
-> PropertyFilter
-> FilePath
-> Int
-> QCGen
-> IO [PropertyReport]
generate_integer_order_properties)
, ([PropertyId]
integer_exp_mod_property_names, OutputFormat
-> CheckMode
-> PropertyFilter
-> FilePath
-> Int
-> QCGen
-> IO [PropertyReport]
generate_integer_exp_mod_properties)
, ([PropertyId]
bitwise_cip0122_property_names, OutputFormat
-> CheckMode
-> PropertyFilter
-> FilePath
-> Int
-> QCGen
-> IO [PropertyReport]
generate_bitwise_cip0122_properties)
, ([PropertyId]
bitwise_cip0123_property_names, OutputFormat
-> CheckMode
-> PropertyFilter
-> FilePath
-> Int
-> QCGen
-> IO [PropertyReport]
generate_bitwise_cip0123_properties)
, ([PropertyId]
bls12_381_property_names, OutputFormat
-> CheckMode
-> PropertyFilter
-> FilePath
-> Int
-> QCGen
-> IO [PropertyReport]
generate_bls12_381_properties)
]