Function

assertRangeInfoEquals

Asserts the node's range info equals the given value.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

assertRangeInfoEquals

Common
fun SemanticsNodeInteraction.assertRangeInfoEquals(
    value: ProgressBarRangeInfo
): SemanticsNodeInteraction

Asserts the node's range info equals the given value.

For further details please check SemanticsProperties.ProgressBarRangeInfo. Throws AssertionError if the node's value is not equal to value, or if the node has no value