mirror of https://github.com/dahall/Vanara.git
21 lines
406 B
C#
21 lines
406 B
C#
using NUnit.Framework;
|
|
using System.Linq;
|
|
|
|
namespace Vanara.IO.Tests
|
|
{
|
|
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));
|
|
}
|
|
}
|
|
}
|