1616</a >
1717
1818<a href =" https://codecov.io/gh/atomicgo/assert " >
19- <!-- unittestcount:start --> <img src =" https://img.shields.io/badge/Unit_Tests-129 -magenta?style=flat-square " alt =" Unit test count " ><!-- unittestcount:end -->
19+ <!-- unittestcount:start --> <img src =" https://img.shields.io/badge/Unit_Tests-123 -magenta?style=flat-square " alt =" Unit test count " ><!-- unittestcount:end -->
2020</a >
2121
2222<a href =" https://opensource.org/licenses/MIT " target =" _blank " >
@@ -78,42 +78,40 @@ Package assert provides a set of assertion functions.
7878- [ func ContainsAny[ T any] (s [ ] T, v [ ] T) bool] ( < #func-containsany > )
7979- [ func ContainsNone[ T any] (s [ ] T, v [ ] T) bool] ( < #func-containsnone > )
8080- [ func Equal[ T any] (a, b T) bool] ( < #func-equal > )
81- - [ func False(a bool) bool] ( < #func-false > )
8281- [ func Implements(a, iface any) bool] ( < #func-implements > )
8382- [ func Kind(a any, kind reflect.Kind) bool] ( < #func-kind > )
8483- [ func Nil(a any) bool] ( < #func-nil > )
8584- [ func Number(a any) bool] ( < #func-number > )
8685- [ func Panic(f func()) (panicked bool)] ( < #func-panic > )
87- - [ func True(a bool) bool] ( < #func-true > )
8886- [ func Unique[ T any] (s [ ] T) bool] ( < #func-unique > )
8987- [ func Zero(a any) bool] ( < #func-zero > )
9088
9189
92- ## func [ Contains] ( < https://github.com/atomicgo/assert/blob/main/assert.go#L101 > )
90+ ## func [ Contains] ( < https://github.com/atomicgo/assert/blob/main/assert.go#L91 > )
9391
9492``` go
9593func Contains [T any](s []T , v T ) bool
9694```
9795
9896Contains returns true if the slice contains the value. Items are considered equal if they are deep equal.
9997
100- ## func [ ContainsAll] ( < https://github.com/atomicgo/assert/blob/main/assert.go#L114 > )
98+ ## func [ ContainsAll] ( < https://github.com/atomicgo/assert/blob/main/assert.go#L104 > )
10199
102100``` go
103101func ContainsAll [T any](s []T , v []T ) bool
104102```
105103
106104ContainsAll returns true if the slice contains all the values. Items are considered equal if they are deep equal.
107105
108- ## func [ ContainsAny] ( < https://github.com/atomicgo/assert/blob/main/assert.go#L134 > )
106+ ## func [ ContainsAny] ( < https://github.com/atomicgo/assert/blob/main/assert.go#L124 > )
109107
110108``` go
111109func ContainsAny [T any](s []T , v []T ) bool
112110```
113111
114112ContainsAny returns true if the slice contains any of the values. Items are considered equal if they are deep equal.
115113
116- ## func [ ContainsNone] ( < https://github.com/atomicgo/assert/blob/main/assert.go#L149 > )
114+ ## func [ ContainsNone] ( < https://github.com/atomicgo/assert/blob/main/assert.go#L139 > )
117115
118116``` go
119117func ContainsNone [T any](s []T , v []T ) bool
@@ -129,15 +127,7 @@ func Equal[T any](a, b T) bool
129127
130128Equal compares two values and returns true if they are equal.
131129
132- ## func [ False] ( < https://github.com/atomicgo/assert/blob/main/assert.go#L50 > )
133-
134- ``` go
135- func False (a bool ) bool
136- ```
137-
138- False returns true if the value is false.
139-
140- ## func [Implements](<https:// github.com/atomicgo/assert/blob/main/assert.go#L60>)
130+ ## func [ Implements] ( < https://github.com/atomicgo/assert/blob/main/assert.go#L50 > )
141131
142132``` go
143133func Implements (a , iface any ) bool
@@ -169,31 +159,23 @@ func Number(a any) bool
169159
170160Number returns true if the value is a number.
171161
172- ## func [Panic](<https:// github.com/atomicgo/assert/blob/main/assert.go#L74 >)
162+ ## func [Panic](<https:// github.com/atomicgo/assert/blob/main/assert.go#L64 >)
173163
174164```go
175165func Panic(f func()) (panicked bool)
176166```
177167
178168Panic returns true if the function panics.
179169
180- ## func [True](<https:// github.com/atomicgo/assert/blob/main/assert.go#L45>)
181-
182- ```go
183- func True(a bool) bool
184- ```
185-
186- True returns true if the value is true.
187-
188- ## func [Unique](<https:// github.com/atomicgo/assert/blob/main/assert.go#L86>)
170+ ## func [Unique](<https:// github.com/atomicgo/assert/blob/main/assert.go#L76>)
189171
190172```go
191173func Unique[T any](s []T) bool
192174```
193175
194176Unique returns true if the slice contains unique values. Items are considered unique if they are not deep equal.
195177
196- ## func [Zero](<https:// github.com/atomicgo/assert/blob/main/assert.go#L55 >)
178+ ## func [Zero](<https:// github.com/atomicgo/assert/blob/main/assert.go#L45 >)
197179
198180```go
199181func Zero(a any) bool
0 commit comments