Skip to content

Commit

Permalink
Update unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
yang-xiaodong committed Mar 3, 2022
1 parent c816e48 commit fe977f5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/DotNetCore.CAP.Test/SnowflakeIdTest.cs
Expand Up @@ -15,9 +15,6 @@ public void NextIdTest()
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);
}

Expand Down

0 comments on commit fe977f5

Please sign in to comment.