mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +00:00
Resurrecting old unit tests
This commit is contained in:
25
ICD.Common.Utils.Tests/PathUtilsTest.cs
Normal file
25
ICD.Common.Utils.Tests/PathUtilsTest.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System.Linq;
|
||||
using NUnit.Framework;
|
||||
using ICD.Common.Utils;
|
||||
using ICD.Common.Properties;
|
||||
#if SIMPLSHARP
|
||||
using Crestron.IO;
|
||||
#else
|
||||
using System.IO;
|
||||
#endif
|
||||
|
||||
namespace RSD.SimplSharp.Common.Interfaces.Tests.Utils
|
||||
{
|
||||
[TestFixture]
|
||||
public sealed class PathUtilsTest
|
||||
{
|
||||
[Test, UsedImplicitly]
|
||||
public void JoinTest()
|
||||
{
|
||||
string expected = Path.Combine("A", "B");
|
||||
expected = Path.Combine(expected, "C");
|
||||
|
||||
Assert.AreEqual(expected, PathUtils.Join("A", "B", "C"));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user