def test_pulse_analysis9(capsys): """Testing pulse_analysis""" stats = entity.MeasurementStatistics() assert stats.life_threatening_count == 0 assert entity.StatusEnum.LIFE_THREATENING == processor.pulse_analysis( 229, stats) assert stats.life_threatening_count == 1
def test_pulse_analysis10(capsys): """Testing pulse_analysis""" stats = entity.MeasurementStatistics() assert stats.missing_count == 0 assert entity.StatusEnum.MISSING == processor.pulse_analysis(231, stats) assert stats.missing_count == 1
def test_pulse_analysis116(capsys): """Testing test_pulse_analysis_determine""" stats = entity.MeasurementStatistics() res = processor.pulse_analysis(59, stats) assert stats.minor_count == 1 assert res == entity.StatusEnum.MINOR
def test_pulse_analysis114(capsys): """Testing test_pulse_analysis_determine""" stats = entity.MeasurementStatistics() res = processor.pulse_analysis(39, stats) assert stats.life_threatening_count == 1 assert res == entity.StatusEnum.LIFE_THREATENING