only:any value would do here
This commit is contained in:
parent
71ca6328be
commit
949b3b9099
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue