Skip to content

Add tests for replace method #87

Add tests for replace method

Add tests for replace method #87

GitHub Actions / MATLAB Test Results succeeded Feb 1, 2024 in 0s

119 passed, 0 failed and 0 skipped

Tests passed successfully

✅ results.xml

119 tests were completed in 15s with 119 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tApplyCalibration 5✅ 2s
tApplyRange 5✅ 26ms
tArea 3✅ 2s
tCalibration 7✅ 678ms
tComputeMagnitude 3✅ 48ms
tConvertToDateTime 1✅ 50ms
tConvertToSignedInteger 3✅ 51ms
tData 7✅ 361ms
tDownsample 1✅ 235ms
tHK 5✅ 648ms
tLine 12✅ 1s
tMissing 3✅ 190ms
tMustBeColor 12✅ 65ms
tPlot 11✅ 908ms
tScatter 6✅ 713ms
tScience 13✅ 5s
tStairs 11✅ 962ms
tStem 11✅ 966ms

✅ tApplyCalibration

✅ noCalibration
✅ applyScale
✅ applyMisalignment
✅ applyOffset
✅ applyCalibration

✅ tApplyRange

✅ applyRange(UnscaledValue=4x4_double,ScaleFactor=4x1_double,ScaledValue=4x4_double)
✅ applyRange(UnscaledValue=4x4_double_1,ScaleFactor=4x1_double_1,ScaledValue=4x4_double_1)
✅ applyRange(UnscaledValue=4x4_double_2,ScaleFactor=4x1_double_2,ScaledValue=4x4_double_2)
✅ applyRange(UnscaledValue=4x4_double_3,ScaleFactor=4x1_double_3,ScaledValue=4x4_double_3)
✅ applyRange(UnscaledValue=4x4_double_4,ScaleFactor=4x1_double_4,ScaledValue=4x4_double_4)

✅ tArea

✅ setColorProperty(ColorProperties=struct)
✅ setColorProperty(ColorProperties=struct_1)
✅ setColorProperty(ColorProperties=struct_2)

✅ tCalibration

✅ load
✅ default_emptyModel
✅ default_unknownModel
✅ calibration_sensor
✅ calibration_range
✅ calibration_temperature
✅ calibration_all

✅ tComputeMagnitude

✅ computeMagnitude(Vector=1x3_double,Magnitude=0)
✅ computeMagnitude(Vector=1x3_double_1,Magnitude=3.74165738677394)
✅ computeMagnitude(Vector=2x3_double,Magnitude=2x1_double)

✅ tConvertToDateTime

✅ convertToDateTime

✅ tConvertToSignedInteger

✅ convertToSignedInteger(UnsignedInteger=-23321,SignedInteger=-23321)
✅ convertToSignedInteger(UnsignedInteger=18858,SignedInteger=18858)
✅ convertToSignedInteger(UnsignedInteger=2x2_double,SignedInteger=2x2_double)

✅ tData

✅ getMethod_singleProperty
✅ getMethod_multipleProperties_manyScalars
✅ getMethod_multipleProperties_singleVector
✅ getMethod_other
✅ getMethod_invalidProperty
✅ getMethod_invalidSignature
✅ copyMethod

✅ tDownsample

✅ downsample

✅ tHK

✅ cropMethod_timerange
✅ cropMethod_noSelection
✅ resampleMethod_higherFrequency
✅ downsampleMethod_lowerFrequency
✅ getHKType

✅ tLine

✅ setColorProperty(ColorProperties=struct)
✅ setColorProperty(ColorProperties=struct_1)
✅ setColorProperty(ColorProperties=struct_2)
✅ setSimpleProperty(Properties=struct)
✅ setSimpleProperty(Properties=struct_1)
✅ setSimpleProperty(Properties=struct_2)
✅ setSimpleProperty(Properties=struct_3)
✅ setSimpleProperty(Properties=struct_4)
✅ setSimpleProperty(Properties=struct_5)
✅ setSimpleProperty(Properties=struct_6)
✅ setSimpleProperty(Properties=struct_7)
✅ setSimpleProperty(Properties=struct_8)

✅ tMissing

✅ removeInterestingRowsWithNaNs
✅ onlyRemoveRowsWithAllNaNs
✅ ignoreNaNsInOtherRows

✅ tMustBeColor

✅ supportedValues(SupportedColor=0x0_double)
✅ supportedValues(SupportedColor=1x3_double)
✅ supportedValues(SupportedColor=2x3_double)
✅ supportedValues(SupportedColor=0x0_char)
✅ supportedValues(SupportedColor=1x1_string_green)
✅ supportedValues(SupportedColor=1x3_char_red)
✅ supportedValues(SupportedColor=1x1_string_none)
✅ supportedValues(SupportedColor=1x1_string__7be7d5)
✅ invalidValues(InvalidColor=1x1_double_1)
✅ invalidValues(InvalidColor=1x2_double)
✅ invalidValues(InvalidColor=1x4_double)
✅ invalidValues(InvalidColor=1x1_string_)

✅ tPlot

✅ setMarkerProperty(MarkerProperties=struct)
✅ setMarkerProperty(MarkerProperties=struct_1)
✅ setMarkerProperty(MarkerProperties=struct_2)
✅ setMarkerProperty(MarkerProperties=struct_3)
✅ setMarkerProperty(MarkerProperties=struct_4)
✅ setMarkerProperty(MarkerProperties=struct_5)
✅ setColorProperty(ColorProperties=struct)
✅ setColorProperty(ColorProperties=struct_1)
✅ setColorProperty(ColorProperties=struct_2)
✅ setSimpleProperty(Properties=struct)
✅ setSimpleProperty(Properties=struct_1)

✅ tScatter

✅ setSimpleProperty(Properties=struct)
✅ setSimpleProperty(Properties=struct_1)
✅ setSimpleProperty(Properties=struct_2)
✅ setSimpleProperty(Properties=struct_3)
✅ setSimpleProperty(Properties=struct_4)
✅ setSimpleProperty(Properties=struct_5)

✅ tScience

✅ cropMethod_duration
✅ cropMethod_timerange
✅ cropMethod_withtol
✅ cropMethod_events
✅ cropMethod_noSelection
✅ resampleMethod_lowerFrequency
✅ resampleMethod_higherFrequency
✅ resampleMethod_error
✅ downsampleMethod_lowerFrequency
✅ downsampleMethod_error
✅ filterMethod_digitalFilter
✅ replaceMethod_default
✅ replaceMethod_specified

✅ tStairs

✅ setMarkerProperty(MarkerProperties=struct)
✅ setMarkerProperty(MarkerProperties=struct_1)
✅ setMarkerProperty(MarkerProperties=struct_2)
✅ setMarkerProperty(MarkerProperties=struct_3)
✅ setMarkerProperty(MarkerProperties=struct_4)
✅ setMarkerProperty(MarkerProperties=struct_5)
✅ setColorProperty(ColorProperties=struct)
✅ setColorProperty(ColorProperties=struct_1)
✅ setColorProperty(ColorProperties=struct_2)
✅ setSimpleProperty(Properties=struct)
✅ setSimpleProperty(Properties=struct_1)

✅ tStem

✅ setMarkerProperty(MarkerProperties=struct)
✅ setMarkerProperty(MarkerProperties=struct_1)
✅ setMarkerProperty(MarkerProperties=struct_2)
✅ setMarkerProperty(MarkerProperties=struct_3)
✅ setMarkerProperty(MarkerProperties=struct_4)
✅ setMarkerProperty(MarkerProperties=struct_5)
✅ setColorProperty(ColorProperties=struct)
✅ setColorProperty(ColorProperties=struct_1)
✅ setColorProperty(ColorProperties=struct_2)
✅ setSimpleProperty(Properties=struct)
✅ setSimpleProperty(Properties=struct_1)