-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Assert.psm1
35 lines (32 loc) · 1.08 KB
/
Assert.psm1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Import-Module $PSScriptRoot/TypeClass/src/TypeClass.psm1 -DisableNameChecking
Import-Module $PSScriptRoot/Format/src/Format.psm1 -DisableNameChecking
. $PSScriptRoot/Compatibility/src/Compatibility.ps1
Get-ChildItem -Path $PSScriptRoot/src/ -Recurse -Filter *.ps1 |
ForEach-Object { . $_.FullName }
Export-ModuleMember -Function @(
'Get-EquivalencyOption'
'Assert-Equivalent'
'Assert-Equal' # ?= ' ?eq
'Assert-NotEqual' # ?!= ?ne
'Assert-Same' # ?=== ?ref ?same
'Assert-NotSame' # ?!=== ?notref ?notsame
'Assert-Null' # ?0 ?null
'Assert-NotNull' # ?!0 ?notnull
'Assert-Type' # ?type ?is
'Assert-NotType' # ?nottype ?isnot
'Assert-LessThan' # ?< ?lt
'Assert-LessThanOrEqual' # ?<= ?le
'Assert-GreaterThan' # ?> ?gt
'Assert-GreaterThanOrEqual' # ?>= ?ge'
'Assert-True' # ?true
'Assert-False' # ?false
'Assert-Contain' # ?contain
'Assert-NotContain' #?notcontain
'Assert-Any' # ?any
'Assert-All' # ?all
'Assert-Throw'
'Assert-Like'
'Assert-NotLike'
'Assert-StringEqual'
'Assert-StringNotEqual'
)