企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[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") } ```