packagegeodbimport("testing")funcTestNewGeoDB(t*testing.T){// Test with empty pathsg,err:=NewGeoDB("","")iferr==nil{t.Error("NewGeoDB with empty paths should return error")}ifg!=nil{t.Error("NewGeoDB with empty paths should return nil GeoDB")}// Test with non-existent pathsg,err=NewGeoDB("nonexistent_asn.mmdb","nonexistent_city.mmdb")iferr==nil{t.Error("NewGeoDB with non-existent paths should return error")}ifg!=nil{t.Error("NewGeoDB with non-existent paths should return nil GeoDB")}}