assert.register(name, fn)
使用提供的名称和函数定义一个新的断言函数。如果已经存在同名的断言,它将被覆盖。
【Defines a new assertion function with the provided name and function. If an assertion already exists with the same name, it is overwritten.】
使用提供的名称和函数定义一个新的断言函数。如果已经存在同名的断言,它将被覆盖。
【Defines a new assertion function with the provided name and function. If an assertion already exists with the same name, it is overwritten.】