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