合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
[TOC] > [github.com](https://github.com/stretchr/testify) ## demo ``` func TestIsIPV4WithTestify(t *testing.T) { // 调用方式一 assertion := assert.New(t) assertion.False(IsIPV4("192.168.0")) // 方式二 assert.Equal(t, 123, 123, "they should be equal") } ```