MonoidalAttackTrees / ILL-Impl

Implementation of a term assignment for intuitionistic linear logic
0 stars 0 forks source link

Testing TypeCheck #19

Open tattymennis opened 8 years ago

tattymennis commented 8 years ago

What is a good way to create contexts for testing purposes? My instinct is to use the context parser to take "TmName:Type" strings and extend the context with the pair that is returned from the parser. However, my implementation of typeCheck demands two contexts.

Should I create separate "gamma" and "delta" contexts that are tailored to my test cases?