km3test.checks

Basic check functions for tests, e.g. value comparison.

Module Contents

Classes

ValueChecker

Class holding basic operations to check values against each other

class km3test.checks.ValueChecker[source]

Class holding basic operations to check values against each other

inrange(value, validrange)[source]

check if float value is within a range

Parameters:
  • value: value to be checked (provide int, float or numeral string)

  • validrange: range between upper and lower bound (excluded) for which function returns true as [lowerbound, upperbound]. Use ‘inf’ for infinity.