mirror of https://github.com/dahall/Vanara.git
15 lines
339 B
C#
15 lines
339 B
C#
using NUnit.Framework;
|
|
|
|
namespace Vanara.Windows.Shell.Tests;
|
|
|
|
[TestFixture]
|
|
public class ResourceTests
|
|
{
|
|
[Test]
|
|
public void IndirectStringTest()
|
|
{
|
|
Assert.IsTrue(IndirectString.TryParse(@"@%SystemRoot%\system32\shell32.dll,-21810", out var ids));
|
|
Assert.That(ids.ResourceId, Is.EqualTo(-21810));
|
|
Assert.NotNull(ids.Value);
|
|
}
|
|
} |