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