class_docstr: Helpers for writing expectation functions over tests.
  Each test has a list of testcases, and each testcase has a list of examples.
  Expectation function will act on whole tests, testcases, individual examples, or pairs of examples.
  In any of these, the output of an expectation function for a single example
  is an integer, float, bool, or None, where:
      > 0 (or True) means passed,
      <= 0 or False means fail, and (optionally) the magnitude of the
        failure, indicated by distance from 0, e.g. -10 is worse than -1
      None means the test does not apply, and this should not be counted
docstr: Combines two expectation functions with the 'and' function
  See 'combine' for more details.
docstr_tok: ["Combines","two","expectation","functions","with","the","'and","'","function","See","'combine","'","for","more","details","."]
code: def combine_and(expect_fn1, expect_fn2):
      """Combines two expectation functions with the 'and' function
      See 'combine' for more details.
      """
  
      def combine_fn(x1, x2):
          return min(x1, x2)
  
      return Expect.combine(expect_fn1, expect_fn2, combine_fn)
  
imports: import numpy
  import itertools
label_desc: Use image node_id 14 for calling the Expect obj's underlying member method code with example usage: obj.combine_and(expect_fn1, expect_fn2) and returns: Expect, min