test: 更新单元测试
This commit is contained in:
parent
0b3d794738
commit
33f8bf766d
|
|
@ -110,10 +110,6 @@ public class SearcherTest
|
||||||
var ipAddress = IPAddress.Parse(ipStr);
|
var ipAddress = IPAddress.Parse(ipStr);
|
||||||
var region = fileSearcher.Search(ipAddress);
|
var region = fileSearcher.Search(ipAddress);
|
||||||
Assert.Equal(expected, region);
|
Assert.Equal(expected, region);
|
||||||
|
|
||||||
var ip = XDB.Util.IpAddressToUInt32(ipAddress);
|
|
||||||
region = fileSearcher.Search(ip);
|
|
||||||
Assert.Equal(expected, region);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue