12 lines
209 B
Go
12 lines
209 B
Go
package assert
|
|
|
|
// True asserts that the given value is true
|
|
func True(t test, a bool) {
|
|
Equal(t, a, true)
|
|
}
|
|
|
|
// False asserts that the given value is false
|
|
func False(t test, a bool) {
|
|
Equal(t, a, false)
|
|
}
|