def check_terms(self, terms, expected, initial_workspace, mask):
        graph = TermGraph(terms)
        results = self.run_graph(graph, initial_workspace, mask)
        for key, (res, exp) in dzip_exact(results, expected).items():
            check_arrays(res, exp)
Compile the given terms into a TermGraph, compute it with
dataset/ETHPy150Open quantopian/zipline/tests/pipeline/base.py/BasePipelineTestCase.check_terms