Persimmon


Assertions

Namespace: Persimmon
Attributes:
[<AutoOpen>]

Functions and values

Function or valueDescription
assertEquals expected actual
Signature: expected:'?8321 -> actual:'?8321 -> AssertionResult<unit>
Modifiers: inline
Type parameters: '?8321
assertNotEquals notExpected actual
Signature: notExpected:'?8323 -> actual:'?8323 -> AssertionResult<unit>
Modifiers: inline
Type parameters: '?8323
assertPred(pred)
Signature: pred:bool -> AssertionResult<unit>
Modifiers: inline
fail(message)
Signature: message:string -> AssertionResult<'b>
Modifiers: inline
Type parameters: 'b

This assertion is always violated.

ignoreResult message arg2
Signature: message:string -> AssertionResult<'?8326> -> AssertionResult<'?8327>
Modifiers: inline
Type parameters: '?8326, '?8327
pass(value)
Signature: value:'b -> AssertionResult<'b>
Modifiers: inline
Type parameters: 'b

This assertion is always passed.

replaceViolatedMessage replacer _arg1
Signature: replacer:(string -> string) -> _arg1:AssertionResult<'?8331> -> AssertionResult<'?8331>
Type parameters: '?8331
violatedMessage message _arg1
Signature: message:string -> _arg1:AssertionResult<'?8329> -> AssertionResult<'?8329>
Type parameters: '?8329
Fork me on GitHub