Download PowerShell-master/test/xUnit/csharp/test_Binders.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/test/xUnit/csharp/test_Binders.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/test/xUnit/csharp/test_Binders.cs
-
curl -L -o test_Binders.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/test/xUnit/csharp/test_Binders.cs
477 Bytes
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System; | |
| using System.Management.Automation.Language; | |
| using Xunit; | |
| namespace PSTests.Parallel | |
| { | |
| public static class PSEnumerableBinderTests | |
| { | |
| [] | |
| public static void TestIsStaticTypePossiblyEnumerable() | |
| { | |
| // It just needs an arbitrary type | |
| Assert.False(PSEnumerableBinder.IsStaticTypePossiblyEnumerable(42.GetType())); | |
| } | |
| } | |
| } | |