MealDataTest
This commit is contained in:
parent
f8c9fac7b1
commit
0a87b0ede7
|
@ -0,0 +1,18 @@
|
||||||
|
package info.nightscout.androidaps.data;
|
||||||
|
|
||||||
|
import org.junit.Assert;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
import org.powermock.modules.junit4.PowerMockRunner;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by mike on 26.03.2018.
|
||||||
|
*/
|
||||||
|
@RunWith(PowerMockRunner.class)
|
||||||
|
public class MealDataTest {
|
||||||
|
@Test
|
||||||
|
public void canCreateObject() {
|
||||||
|
MealData md = new MealData();
|
||||||
|
Assert.assertEquals(0d, md.boluses, 0.01d);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue