This commit is contained in:
2026-07-23 15:32:41 +08:00
parent fdde1f4421
commit 9756cf6ba8
9 changed files with 193 additions and 0 deletions

View File

@@ -19,3 +19,12 @@ func TestMapBusinessError(t *testing.T) {
t.Fatal("expected ErrSystem for 1003")
}
}
func TestIsQueryBillingProduct(t *testing.T) {
if !isQueryBillingProduct("JRZQK9P2") || !isQueryBillingProduct("JRZQR4N7") {
t.Fatal("洞侦1.0/借贷意向验证3.0 应查空计费")
}
if isQueryBillingProduct("JRZQP8D2") {
t.Fatal("全景雷达BH 查空不计费,不应在白名单中")
}
}