Download PowerShell-master/test/xUnit/csharp/test_ExtensionMethods.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 374 Bytes
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/test/xUnit/csharp/test_ExtensionMethods.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/test/xUnit/csharp/test_ExtensionMethods.cs
-
curl -L -o test_ExtensionMethods.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/test/xUnit/csharp/test_ExtensionMethods.cs
374 Bytes
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System; | |
| using System.Management.Automation; | |
| using Xunit; | |
| namespace PSTests.Parallel | |
| { | |
| public static class PSTypeExtensionsTests | |
| { | |
| [] | |
| public static void TestIsNumeric() | |
| { | |
| Assert.True(PSTypeExtensions.IsNumeric(42.GetType())); | |
| } | |
| } | |
| } | |