<div class='type'>Function</div>


<a id='references'></a>


<h2 id="assertleftpositioninrootisequalto-expectedleft">assertLeftPositionInRootIsEqualTo</h2>

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


```kotlin
fun SemanticsNodeInteraction.assertLeftPositionInRootIsEqualTo(
    expectedLeft: Dp
): SemanticsNodeInteraction
```


Asserts that the layout of this node has the left position in the root composable that is equal
to the given position.

#### Parameters

| | |
| --- | --- |
| expectedLeft | The left (x) position to assert. |