!3 A Dynamic Variable can be set and used in storytests !**< def !define test (!|fitlibrary.specify.dynamicVariable.DynamicVariablesUnderTest| |'''set'''|colour|''to''|1| |'''set'''|sum|=|1+2| |get|@{sum}|is|3| |'''set'''|sum|=|@{sum}*@{sum}| |get|@{sum}|is|9| |'''set'''|sum|=|@{sum}*0| |get|@{sum}|is|0| ) **! |!-fitlibrary.spec.SpecifyFixture-!| |${test}|!-
fitlibrary.specify.dynamicVariable.DynamicVariablesUnderTest

set colour to 1

set sum = 1+2

get 3 is 3

set sum = 3*3

get 9 is 9

set sum = 9*0

get 0 is 0
-!|