<div class='sourceset sourceset-common'>Common</div>

```kotlin
class TestOperation
    @TestOnly
    constructor(
        ints: Int = 0,
        objects: Int = 0,
        val block: (Applier<*>, SlotWriter, RememberManager) -> Unit = { _, _, _ -> },
    ) : Operation(ints, objects)
```

Operation type used for tests. Operations can be created with arbitrary int and object
params, which lets us test `Operations` without relying on the implementation details of any
particular operation we use in production.

## Properties

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val intParams = List(ints) { it }
```

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val objParams = List(objects) { index -> ObjectParameter<Any?>(index) }
```

<div class='sourceset sourceset-common'>Common</div>

```kotlin
class TestOperation
    @TestOnly
    constructor(
        ints: Int = 0,
        objects: Int = 0,
        val block: (Applier<*>, SlotTableEditor, RememberManager) -> Unit = { _, _, _ -> },
    ) : Operation(ints, objects)
```

Operation type used for tests. Operations can be created with arbitrary int and object
params, which lets us test `Operations` without relying on the implementation details of any
particular operation we use in production.

## Properties

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val intParams = List(ints) { it }
```

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val objParams = List(objects) { index -> ObjectParameter<Any?>(index) }
```