I have a PowerShell function that returns value with multiple decimals from a range of values. How do I write Pester unit test for this kind of function. This kind of function is used to check version of some of applications like Outlook.
function randomVersion{
$randomVersion= Get-Random -InputObject '14.1.3.5397', '14.2.3.5399', '15.4.2.1327', '15.5.2.1328', '16.3.7.9437', '16.7.7.9438'
return $randomVersion
}