Function

assertCountEquals

Asserts that this collection of nodes is equal to the given expectedSize.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

assertCountEquals

Common
fun SemanticsNodeInteractionCollection.assertCountEquals(
    expectedSize: Int
): SemanticsNodeInteractionCollection

Asserts that this collection of nodes is equal to the given expectedSize.

Provides a detailed error message on failure.