@@ -0,0 +1,465 @@
+#!/usr/bin/env python%0A%22%22%22%0A:Author Patrik Valkovic%0A:Created 23.06.2017 16:39%0A:Licence GNUv3%0APart of grammpy%0A%0A%22%22%22%0A%0Afrom unittest import main, TestCase%0Afrom grammpy import Rule%0A%0A%0Aclass Single(Rule):%0A    rule = (%5B0%5D, %5B1%5D)%0A%0A%0Aclass TwoRight(Rule):%0A    rule = (%5B0%5D, %5B1, 2%5D)%0A%0A%0Aclass ThreeLeft(Rule):%0A    rule = (%5B0, 1, 'a'%5D, %5B2%5D)%0A%0A%0Aclass Multiple(Rule):%0A    rule = (%5B0, 1, 2%5D, %5B3, 4%5D)%0A%0A%0Aclass FromRuleComputeTest(TestCase):%0A    pass%0A%0A%0Aif __name__ == '__main__':%0A    main()%0A

Create FromRuleCompute test file