'approved some time ago'
'alr approved some time ago'
this ($a * $b) * $c is the same like this $a * $b * $c
($a + $b) + $c = $a + ($b + $c)
this is basic knowladge in math
needs random tests
thanks for catching that, just fixed
$actual and $expected are swapped in the random test assertion.
I believe I understand now what you are communicating. The phone number for each random test is generated dyanmically and unique for each test. I updated the random tests to have a greater probability (~50%) that the randomly generated phone number will be a valid one, thus causing the random test to expect $true instead of $false.
But they expect false. $PhoneNumber -eq "(123) 456-7890" passes all the tests.
$PhoneNumber -eq "(123) 456-7890"
The fixed tests have a mix of expecting true and false. The random tests will dynamically determine if the expected value is true or false
It looks like random tests always expect $false.