Ir al contenido principal
Versión: 5.8.x

Comparadores de Rangos

[Traducción Beta No Oficial]

Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →

Esta página describe las afirmaciones avanzadas (comparadores) disponibles para los tipos ClosedRange y OpenEndRange.

Ranges
value.shouldBeIn(range)Asserts that an object is contained in range, checking by value and not by reference.
value.shouldNotBeIn(range)Asserts that an object is not contained in range, checking by value and not by reference.