Ask a question to get started
Enter to send•Shift+Enter new line
Assert that the expectation value is approximately equal to the given value.
to_be_approximately( self, value: float, precision: int = 2 ) -> None
value
float
The value to compare against.
precision
int
2
The number of decimal places to round to for comparison.