2023-07-05 13:46:19 +00:00
|
|
|
package assert
|
|
|
|
|
|
|
|
// True asserts that the given parameter is true.
|
2023-08-31 15:03:52 +00:00
|
|
|
func True(t test, a bool) {
|
2023-07-05 13:46:19 +00:00
|
|
|
Equal(t, a, true)
|
|
|
|
}
|
|
|
|
|
|
|
|
// False asserts that the given parameter is false.
|
2023-08-31 15:03:52 +00:00
|
|
|
func False(t test, a bool) {
|
2023-07-05 13:46:19 +00:00
|
|
|
Equal(t, a, false)
|
|
|
|
}
|