NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links


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,v 1.1.2.4 2010/02/22 14:55:50 healpix Exp $
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
 
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,
                             net.ivoa.fits.FitsException
Test loading data from fits

Throws:
Exception
net.ivoa.fits.FitsException

testReadTableHDU

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

Throws:
Exception
net.ivoa.fits.FitsException

"Built from revision exported"

Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650