ganeti

Safe HaskellNone

Test.Ganeti.Types

Contents

Description

Unittests for Types.

Synopsis

Arbitrary instance

allDiskTemplates :: [DiskTemplate]Source

Valid disk templates (depending on configure options).

genReasonTrail :: Gen ReasonTrailSource

Generates a reason trail

Properties

prop_NonNeg_pass :: NonNegative Int -> PropertySource

prop_NonNeg_fail :: Positive Int -> PropertySource

prop_Positive_pass :: Positive Int -> PropertySource

prop_Positive_fail :: NonNegative Int -> PropertySource

prop_Neg_pass :: Positive Int -> PropertySource

prop_Neg_fail :: NonNegative Int -> PropertySource

prop_NonEmpty_pass :: NonEmptyList String -> PropertySource