Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Dec 6, 2024
1 parent 2fb15ef commit 620be76
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/test/java/nom/tam/fits/test/BinaryTableTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1772,4 +1772,18 @@ private BinaryTable createTestTable() throws FitsException {
return btab;
}

@Test
public void scalarBitTest() throws Exception {
BinaryTable bt = new BinaryTable();
bt.addColumn(BinaryTable.ColumnDesc.createForScalars(boolean.class));
bt.addRowEntries(true);
}

@Test
public void scalarLogicalTest() throws Exception {
BinaryTable bt = new BinaryTable();
bt.addColumn(BinaryTable.ColumnDesc.createForScalars(Boolean.class));
bt.addRowEntries(true);
}

}

0 comments on commit 620be76

Please sign in to comment.