(stu_code, passes)
| 47 | ], |
| 48 | ) |
| 49 | def test_check_object_exotic_compare2(stu_code, passes): |
| 50 | output = helper.run( |
| 51 | { |
| 52 | "DC_PEC": "import numpy as np", |
| 53 | "DC_SOLUTION": "x = (np.array([1, 2]), np.array([3, 4]))", |
| 54 | "DC_SCT": "Ex().check_object('x').has_equal_value()", |
| 55 | "DC_CODE": stu_code, |
| 56 | } |
| 57 | ) |
| 58 | assert output["correct"] == passes |
| 59 | |
| 60 | |
| 61 | @pytest.mark.parametrize( |