VacuousYes

org.scalatest.Fact.VacuousYes
See theVacuousYes companion class
object VacuousYes

A companion object for the VacuousYes class, providing factory methods to create instances of VacuousYes fact.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
VacuousYes.type

Members list

Value members

Concrete methods

def apply(underlying: Fact): VacuousYes

Creates a new VacuousYes fact with the provided underlying Fact.

Creates a new VacuousYes fact with the provided underlying Fact.

Value parameters

underlying

The underlying Fact that is treated as false (No) but represented as true (Yes).

Attributes

Returns

A new VacuousYes fact instance.

Throws
IllegalArgumentException

if the underlying Fact is not No.