Safe Haskell | Safe-Infered |
---|
Unittests for the MonD data parse function
- case_parseMonDData :: Assertion
- isAlEqual :: [(String, [DCReport])] -> [(String, [DCReport])] -> Bool
- tupleIsAlEqual :: (String, [DCReport]) -> (String, [DCReport]) -> Bool
- dcReportIsAlmostEqual :: DCReport -> DCReport -> Bool
- cpuavgloadDataIsAlmostEq :: JSValue -> JSValue -> Bool
- compareCPUavgload :: CPUavgload -> CPUavgload -> Bool
Documentation
case_parseMonDData :: AssertionSource
Test a MonD data file.
isAlEqual :: [(String, [DCReport])] -> [(String, [DCReport])] -> BoolSource
Check for quality two list of tuples.
tupleIsAlEqual :: (String, [DCReport]) -> (String, [DCReport]) -> BoolSource
Check a tuple for quality.
dcReportIsAlmostEqual :: DCReport -> DCReport -> BoolSource
Check if two DCReports are equal. Only reports from CPUload Data Collectors are supported.
cpuavgloadDataIsAlmostEq :: JSValue -> JSValue -> BoolSource
Converts two JSValue objects and compares them.
compareCPUavgload :: CPUavgload -> CPUavgload -> BoolSource
Compares two CPuavgload objects.