public void Test_Spo2_WithinRange_Warning() { Spo2Validator spo2Validator = new Spo2Validator(); int retVal = spo2Validator.ValidateVital(70, 95, 73); Assert.AreEqual(retVal, 1); }
public void Test_Spo2_WithinRange_Normal() { Spo2Validator spo2Validator = new Spo2Validator(); int retVal = spo2Validator.ValidateVital(70, 95, 100); Assert.AreEqual(retVal, 0); }
public void Test_Spo2_OutOfRange() { Spo2Validator spo2Validator = new Spo2Validator(); int retVal = spo2Validator.ValidateVital(70, 95, 50); Assert.AreEqual(retVal, 2); }