[lang-ref] ( increment_operator ) ( powershell )
It 'should increment operator' {
# ++ / --
$a = 1
$a | Should -Be 1
$a++
$a | Should -Be 2
$a--
$a | Should -Be 1
}
It 'should increment operator' {
# ++ / --
$a = 1
$a | Should -Be 1
$a++
$a | Should -Be 2
$a--
$a | Should -Be 1
}