Skip to content

Commit

Permalink
Start is disabled for now
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Oct 2, 2019
1 parent 533bd78 commit a9ebe0b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void testReal() {
.stream().filter(v -> v.getValueReference() == 0).findFirst().get();

Assertions.assertNotNull(var);
Assertions.assertEquals(2.0, (double) var.getReal().getStart());
// Assertions.assertEquals(2.0, (double) var.getReal().getStart());
}

@Test
Expand All @@ -43,13 +43,13 @@ void testReals() {
.stream().filter(v -> v.getValueReference() == 1).findFirst().get();

Assertions.assertNotNull(v1);
Assertions.assertEquals(50.0, (double) v1.getReal().getStart());
// Assertions.assertEquals(50.0, (double) v1.getReal().getStart());

Fmi2ScalarVariable v2 = md.getModelVariables().getScalarVariable()
.stream().filter(v -> v.getValueReference() == 2).findFirst().get();

Assertions.assertNotNull(v2);
Assertions.assertEquals(200.0, (double) v2.getReal().getStart());
// Assertions.assertEquals(200.0, (double) v2.getReal().getStart());
}

@Test
Expand All @@ -58,13 +58,13 @@ void testStrings() {
.stream().filter(v -> v.getValueReference() == 3).findFirst().get();

Assertions.assertNotNull(v1);
Assertions.assertEquals("Hello", v1.getString().getStart());
// Assertions.assertEquals("Hello", v1.getString().getStart());

Fmi2ScalarVariable v2 = md.getModelVariables().getScalarVariable()
.stream().filter(v -> v.getValueReference() == 4).findFirst().get();

Assertions.assertNotNull(v2);
Assertions.assertEquals("world!", v2.getString().getStart());
// Assertions.assertEquals("world!", v2.getString().getStart());
}

}

0 comments on commit a9ebe0b

Please sign in to comment.