2020-03-24 11:08:37 -07:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
2018-02-13 09:23:53 -08:00
|
|
|
// Licensed under the MIT License.
|
2018-12-18 21:11:21 +05:00
|
|
|
|
2015-06-11 14:40:28 -07:00
|
|
|
using System;
|
|
|
|
|
using System.Management.Automation;
|
2018-12-18 21:11:21 +05:00
|
|
|
using Xunit;
|
2015-06-11 14:40:28 -07:00
|
|
|
|
2018-01-03 12:43:28 -08:00
|
|
|
namespace PSTests.Parallel
|
2015-06-11 14:40:28 -07:00
|
|
|
{
|
|
|
|
|
public static class PSTypeExtensionsTests
|
|
|
|
|
{
|
2015-07-20 15:31:03 -07:00
|
|
|
[Fact]
|
2017-11-30 14:44:41 -08:00
|
|
|
public static void TestIsNumeric()
|
2015-06-11 14:40:28 -07:00
|
|
|
{
|
2017-11-30 14:44:41 -08:00
|
|
|
Assert.True(PSTypeExtensions.IsNumeric(42.GetType()));
|
2015-06-11 14:40:28 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|