????

Your IP : 3.16.75.169


Current Path : C:/Program Files/WindowsPowerShell/Modules/Pester/3.4.0/Functions/Assertions/
Upload File :
Current File : C:/Program Files/WindowsPowerShell/Modules/Pester/3.4.0/Functions/Assertions/Test-Assertion.ps1

function Test-PositiveAssertion($result) {
    if (-not $result) {
        throw "Expecting expression to pass, but it failed"
    }
}

function Test-NegativeAssertion($result) {
    if ($result) {
        throw "Expecting expression to pass, but it failed"
    }
}