only:any value would do here

This commit is contained in:
rusEFI LLC 2024-09-07 19:23:21 -04:00
parent 71ca6328be
commit 949b3b9099
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
public class TuneWriterTest {
@Test
public void testFloatRounding() {
ConfigurationImage image = new ConfigurationImage(Fields.TOTAL_CONFIG_SIZE);
ConfigurationImage image = new ConfigurationImage(200);
IniField floatField = new ScalarIniField("test", 0, "test", FieldType.FLOAT, 1, "2");
double value = 0.9;
floatField.setValue(image, new Constant("x", "y", Double.toString(value), "2"));