You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
457 B
22 lines
457 B
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
|
|
namespace NzbDrone.Common.Test
|
|
{
|
|
[TestFixture]
|
|
public class HashUtilFixture
|
|
{
|
|
[Test]
|
|
public void should_create_anon_id()
|
|
{
|
|
HashUtil.AnonymousToken().Should().NotBeNullOrEmpty();
|
|
}
|
|
|
|
[Test]
|
|
public void should_create_the_same_id()
|
|
{
|
|
HashUtil.AnonymousToken().Should().Be(HashUtil.AnonymousToken());
|
|
}
|
|
}
|
|
}
|