def test_size_0_one_line3(self):
     rules = {"F": "F+F", "Axiom": "F-G", "Angle": 90, "Alias": "F"}
     point_string = recDrawLSystem.recGenerateLString(0, rules["Axiom"],
                                                      rules)
     self.assertEqual(point_string, "F-")
 def test_size_2_two_line(self):
     rules = {"A": "-BF+AFA+FB-", "B": "+AF-BFB-FA+", "Axiom": "A",
              "Angle": 90, "Alias": "F"}
     point_string = recDrawLSystem.recGenerateLString(2, rules["Axiom"],
                                                      rules)
     self.assertEqual(point_string, "-+F-F-F+F+-F+F+F-F-F+F+F-+F+F-F-F+-")
 def test_size_3_one_line(self):
     rules = {"F": "F-F", "Axiom": "F", "Angle": 60, "Alias": "F"}
     point_string = recDrawLSystem.recGenerateLString(3, rules["Axiom"],
                                                      rules)
     self.assertEqual(point_string, "F-F-F-F-F-F-F-F")
 def test_size_2_one_line2(self):
     rules = {"F": "F+F-F-F+F", "Axiom": "F", "Angle": 90, "Alias": "F"}
     point_string = recDrawLSystem.recGenerateLString(2, rules["Axiom"],
                                                      rules)
     self.assertEqual(point_string, "F+F-F-F+F+F+F-F-F+F-F+F-F-F+F-F+F-F" +
                                    "-F+F+F+F-F-F+F")
 def test_size_1_one_line2(self):
     rules = {"A": "F+F--F+F", "Axiom": "A", "Angle": 60, "Alias": "F"}
     point_string = recDrawLSystem.recGenerateLString(1, rules["Axiom"],
                                                      rules)
     self.assertEqual(point_string, "F+F--F+F")