public void TestRankingLongMinPlusOne() { long initial = long.MinValue + 1; var rankedValue = FPEWrapper.RankLong(initial); var unrankedValue = FPEWrapper.UnrankLong(rankedValue); Assert.AreEqual(initial, unrankedValue); }
public void TestRankingLongZero() { long initial = 0; var rankedValue = FPEWrapper.RankLong(initial); var unrankedValue = FPEWrapper.UnrankLong(rankedValue); Assert.AreEqual(initial, unrankedValue); }