I am using Finalbuilder 7. I am having below test case,
[Test]
[TestModule]
public void CheckFloat_CorrectValue_Validate()
{
var values = new Dictionary<string, object> { { "value", 7.999 } };
var expectedResult =
"Float value is 7.999";
var obtainedResult = callMethod(values);
Assert.AreEqual(expectedResult, obtainedResult);
}
This test case passing while running in local. But while running in final builder, the dot is removed from the value and test case failed.
Error I am Getting:
Expected String Length 31 But Was 30. Strings Differ At Index 23.
Expected: "...value is 7.999"
But Was: "...value is 7999"
Is anyone faced this issue with finalbuilder ?
Aucun commentaire:
Enregistrer un commentaire