Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * SPO2 TEST
- * @throws MeasurementValueNotFoundException
- */
- @Test
- public void spO2Test() throws MeasurementValueNotFoundException, CommonException {
- /**
- * EMERGENCY TEST (SpO2)
- */
- Double[][] emergencyValues = {
- {90d},
- {89.9},
- {60d},
- {90.9d}
- };
- checkValues(Type.SpO2, emergencyValues, "emergency");
- /**
- * ALARMING TEST (SpO2)
- */
- Double[][] alarmingValues = {
- {91.01d},
- {91d},
- {93.9d},
- {92d},
- {94.9d}
- };
- checkValues(Type.SpO2, alarmingValues, "alarming");
- /**
- * NORMAL TEST (SpO2)
- */
- Double[][] normalValues = {
- {95d},
- {95.01d},
- {99.9d},
- {100d}
- };
- checkValues(Type.SpO2, normalValues, "normal");
- }
- /**
- * BMI Test
- *
- * value1: weight
- * value2: BMI
- * value3: height
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement