Some tests verify that a condition is true instead of comparing two numbers.

Check a predicate

boolean_assertion.swift
let score = 
let passed = score >= 60
let message = passed ? "passing score" : "failing score"

print(message)
let score = 
let passed = score >= 60
let message = passed ? "passing score" : "failing score"

print(message)
let score = 
let passed = score >= 60
let message = passed ? "passing score" : "failing score"

print(message)
boolean assertion Boolean assertions name the condition being checked and report the result.