healpix.fits.test
Class FitsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by healpix.fits.test.FitsTest
All Implemented Interfaces:
junit.framework.Test

public class FitsTest
extends junit.framework.TestCase

Test class on fits reading

Version:
$Id: FitsTest.java 49444 2008-05-07 10:23:02Z ejoliet $
Author:
ejoliet

Constructor Summary
FitsTest()
           
 
Method Summary
 double[][] readFitsBinaryTable(String filename)
          Test reading binary table from fits
 void testLoadFitsData()
          Test loading data from fits
 void testReadTableHDU()
          Test reading the header table fits
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FitsTest

public FitsTest()
Method Detail

readFitsBinaryTable

public double[][] readFitsBinaryTable(String filename)
                               throws Exception
Test reading binary table from fits

Parameters:
filename - fist file
Returns:
double[][] data read
Throws:
Exception

testLoadFitsData

public void testLoadFitsData()
                      throws Exception,
                             nom.tam.fits.FitsException
Test loading data from fits

Throws:
Exception
nom.tam.fits.FitsException

testReadTableHDU

public void testReadTableHDU()
                      throws Exception,
                             nom.tam.fits.FitsException
Test reading the header table fits

Throws:
Exception
nom.tam.fits.FitsException

"Built from revision exported"