Skip to content

Commit

Permalink
hdf5: tests handle values
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Jun 30, 2018
1 parent 62aebb4 commit 409260a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions h5t_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,20 @@ func TestSimpleDatatypes(t *testing.T) {
{v: (*float64)(nil), illegalPtr: false},
{v: (*string)(nil), illegalPtr: true},
{v: (*bool)(nil), illegalPtr: false},
{v: (**int)(nil), illegalPtr: true},
{v: (**int8)(nil), illegalPtr: true},
{v: (**int16)(nil), illegalPtr: true},
{v: (**int32)(nil), illegalPtr: true},
{v: (**int64)(nil), illegalPtr: true},
{v: (**uint)(nil), illegalPtr: true},
{v: (**uint8)(nil), illegalPtr: true},
{v: (**uint16)(nil), illegalPtr: true},
{v: (**uint32)(nil), illegalPtr: true},
{v: (**uint64)(nil), illegalPtr: true},
{v: (**float32)(nil), illegalPtr: true},
{v: (**float64)(nil), illegalPtr: true},
{v: (**string)(nil), illegalPtr: true},
{v: (**bool)(nil), illegalPtr: true},
}

for _, test := range tests {
Expand Down

0 comments on commit 409260a

Please sign in to comment.