factor out common lua code to helper files

This commit is contained in:
Emil Tin
2017-01-23 21:23:33 +01:00
committed by Michael Krasnyk
parent b3ef27d104
commit 97c0a74c04
7 changed files with 956 additions and 1115 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ Feature: Testbot - side bias
Given the profile file "car" extended with
"""
properties.left_hand_driving = true
turn_bias = properties.left_hand_driving and 1/1.075 or 1.075
profile.turn_bias = properties.left_hand_driving and 1/1.075 or 1.075
"""
Given the node map
"""
@@ -35,7 +35,7 @@ Feature: Testbot - side bias
Given the profile file "car" extended with
"""
properties.left_hand_driving = false
turn_bias = properties.left_hand_driving and 1/1.075 or 1.075
profile.turn_bias = properties.left_hand_driving and 1/1.075 or 1.075
"""
And the node map
"""