Check VM's cfp in string tests.
@@ -17,6 +17,7 @@ func TestEvalStringExpression(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
@@ -36,6 +37,7 @@ func TestStringConversion(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
@@ -60,6 +62,7 @@ func TestStringComparison(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
@@ -79,6 +82,7 @@ func TestStringOperation(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
@@ -100,6 +104,7 @@ func TestCapitalizingString(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
@@ -117,6 +122,7 @@ func TestUpcasingString(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
@@ -134,6 +140,7 @@ func TestDowncasingString(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
@@ -151,6 +158,7 @@ func TestSizeAndLengthOfString(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
@@ -169,6 +177,7 @@ func TestReversingString(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
@@ -185,6 +194,7 @@ func TestIncludingString(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
@@ -200,5 +210,6 @@ func TestChainingStringMethods(t *testing.T) {
vm := initTestVM()
evaluated := vm.testEval(t, tt.input)
checkExpected(t, i, evaluated, tt.expected)
+ vm.checkCFP(t, i, 0)
}
}
