mirror of https://github.com/dahall/Vanara.git
16 lines
363 B
C#
16 lines
363 B
C#
namespace Vanara.PInvoke.Tests;
|
|
|
|
internal partial class BackgroundCopyTests
|
|
{
|
|
[Test]
|
|
public void EnumJobTest()
|
|
{
|
|
var cnt = 0;
|
|
|
|
Assert.That(() => BackgroundCopyManager.Jobs.Count, Throws.Nothing);
|
|
|
|
Assert.That(cnt = BackgroundCopyManager.Jobs.Count, Is.GreaterThanOrEqualTo(0));
|
|
|
|
Assert.That(BackgroundCopyManager.Jobs.Count(), Is.EqualTo(cnt));
|
|
}
|
|
} |