def test_successful_application(self, matrix_name): stencil_matrix = open_matrix('stencil', matrix_name) before_matrix = open_matrix('before', matrix_name) after_matrix = open_matrix('after', matrix_name) computed_matrix = apply_stencil(stencil_matrix, before_matrix) assert computed_matrix == after_matrix