Structures
The following structures are available globally.
-
Represents the type of metric you can make assertions for, like
cpu
ormemory
.Use
See moreXCTAssertMetric(_:_:_:_:file:line:)
to write assertions for performance metrics you measured using for examplemeasure(metrics:block:)
.Declaration
Swift
public struct XCTAssertMetric<Identifier> where Identifier : XCTAssertMetricIdentifier