From 620be763422886e1e0e5506475c4593072b07feb Mon Sep 17 00:00:00 2001 From: Attila Kovacs Date: Fri, 6 Dec 2024 22:44:14 +0100 Subject: [PATCH] Add tests --- .../java/nom/tam/fits/test/BinaryTableTest.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/test/java/nom/tam/fits/test/BinaryTableTest.java b/src/test/java/nom/tam/fits/test/BinaryTableTest.java index c502150724..b246bbc707 100644 --- a/src/test/java/nom/tam/fits/test/BinaryTableTest.java +++ b/src/test/java/nom/tam/fits/test/BinaryTableTest.java @@ -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); + } + }