soc.TestUtil package¶
Submodules¶
soc.TestUtil.test_helper module¶
-
soc.TestUtil.test_helper.assert_eq(p, o, e)¶ Verifies the given values are equal :param p: Appended to the front of the assert statement :type p: Prefix :param e: The expected value :type e: Expected :param o: The output result :type o: Output
-
soc.TestUtil.test_helper.assert_ne(p, o, e)¶ Verifies the given values are not equal :param p: Appended to the front of the assert statement :type p: Prefix :param e: The expected value :type e: Expected :param o: The output result :type o: Output
-
soc.TestUtil.test_helper.assert_op(pre, o, e, op)¶ Verifies the given values given the particular operand :param p: Appended to the front of the assert statement :type p: Prefix :param e: The expected value :type e: Expected :param o: The output result :type o: Output :param op: (0 => ==), (1 => !=) :type op: Operation