Skip to content
  • Iustin Pop's avatar
    Add test for checking Haskell/Python opcode equivalence · 0384c457
    Iustin Pop authored
    
    
    This is a very big hack for testing the equivalence of Python and
    Haskell opcode definitions. See the docstring for details; I'm not
    very happy with the solution but it does the job.
    
    An alternate option would be to launch the Python code when
    initialising the tests, pass (somehow) the resource through all of the
    test suite to this function, and then use normal QuickCheck
    properties. Or maybe we find a better solution later; for now, this
    does the job.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarAgata Murawska <agatamurawska@google.com>
    0384c457