(t *testing.T)
| 38 | } |
| 39 | |
| 40 | func TestBool(t *testing.T) { |
| 41 | boolPointer := Bool(true) |
| 42 | assert.Equal(t, *boolPointer, true, "Returned bool pointer points wrong") |
| 43 | |
| 44 | boolPointer = Bool(false) |
| 45 | assert.Equal(t, *boolPointer, false, "Returned bool pointer points wrong") |
| 46 | } |
| 47 | |
| 48 | func TestReverseBool(t *testing.T) { |
| 49 | someBool := true |