Browse Source

Update unit test.

master
Savorboard 2 years ago
parent
commit
fe977f5d50
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      test/DotNetCore.CAP.Test/SnowflakeIdTest.cs

+ 0
- 3
test/DotNetCore.CAP.Test/SnowflakeIdTest.cs View File

@@ -15,9 +15,6 @@ namespace DotNetCore.CAP.Test
var result = instance.NextId();
var result2 = instance.NextId();

Assert.IsType<long>(result);
Assert.True(result > 0);
Assert.True(result.ToString().Length == long.MaxValue.ToString().Length);
Assert.True(result2 - result == 1);
}



Loading…
Cancel
Save