anchor.diff:  open FSharp.Management
   open NUnit.Framework
   open FsUnit
  +open FSharp.Management.PowerShellProvider.Types
   
   let [<Literal>]Modules = "Microsoft.PowerShell.Management;Microsoft.PowerShell.Core"
   
  
positive.code: [<Test>]
  let ``Check that process `testtest` does not started x64``() =
      match PS64.``Get-Process``(name=[|"testtest"|]) with
      | None -> ignore()
      | _ -> failwith "Unexpected result"
  
  [<Test>]
  let ``Get list of registered snapins x64``() =
      match PS64.``Get-PSSnapin``(registered = true) with
      | Some(snapins) ->
          snapins.IsEmpty |> should be False
      | _ -> failwith "Unexpected result"
  
  
negative.code: [<Test>]
  let ``Check that process `testtest` does not started``() =
      match PS.``Get-Process``(name=[|"testtest"|]) with
      | Failure(err) -> ignore()
      | _ -> failwith "Unexpected result"
  
  [<Test>]
  let ``Get list of registered snapins``() =
      match PS.``Get-PSSnapin``(registered = true) with
      | Success(snapins) ->
          snapins.IsEmpty |> should be False
      | _ -> failwith "Unexpected result"
  
  [<Test>]
  let ``Get random number from range`` () =
      match PS.``Get-Random``(minimum = 0, maximum = 10) with
      | Success(Choice1Of3 [value]) when value >=0 && value <= 10 -> ()
      | _ -> failwith "Unexpected result"
  
  [<Test>]
  let ``Get events from event log`` () =
      match PS.``Get-EventLog``(logName="Application", entryType=[|"Error"|], newest=2) with
      | Success(Choice2Of3 entries) ->
          entries |> should haveLength 2
      | _ -> failwith "Unexpected result"
      
  