|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
healpix.core.test.HealpixTest
public class HealpixTest
Test suite for Healpix
Field Summary | |
---|---|
static double |
RADIAN_ARCSECOND
Deprecated. |
Constructor Summary | |
---|---|
HealpixTest()
Deprecated. |
Method Summary | |
---|---|
void |
DISABLEDtestQuery_Disc()
Deprecated. Test query_ disc. |
void |
printVec(double[] vec)
Deprecated. Prints the vec. |
double |
radToAm(double rad)
Deprecated. Converts radians to arcmin. |
double |
radToAs(double rad)
Deprecated. Converts radians to arcsecs. |
void |
test64to32Conversions()
Deprecated. Higher resolution to lesser conversions test |
void |
testAng2Pix()
Deprecated. Test ang2 pix. |
void |
testAng2Vect()
Deprecated. Test ang2 vect. |
void |
testAngDist()
Deprecated. Test ang dist. |
void |
testDroegeBigSmall()
Deprecated. |
void |
testGetChildrenAt()
Deprecated. |
void |
testGetNside()
Deprecated. Test get nside. |
void |
testGetParentAt()
Deprecated. |
void |
testGetParentAt(int childnside,
int requirednside)
Deprecated. public void testAllAngVec() throws Exception { HealpixIndex heal = new HealpixIndex(512); for (double theta=0; theta < Constants.PI; theta+=0.1) { for (double phi=0; phi < 2*Constants.PI; phi+=0.1) { AngularPosition pos = new AngularPosition(theta,phi); // SpatialVector vec2 = heal.vector(theta, phi); SpatialVector vec = (SpatialVector)heal.Ang2Vec(theta, phi); double[] ang = heal.Vect2Ang(vec); assertEquals("Ang theta is incorrect",theta,ang[0] ); assertEquals("Ang phi is incorrect",phi,ang[1] ); } } } |
void |
testIssue3983()
Deprecated. |
void |
testKeithCover()
Deprecated. Test keith cover. |
void |
testMaxResolution()
Deprecated. Test max resolution. |
void |
testMODULO()
Deprecated. Test modulo. |
void |
testNeighbours_Nest()
Deprecated. tests Neighbour's method for nest schema of the pixelization |
void |
testNest2Ring()
Deprecated. Test nest2 ring. |
void |
testNpix2Nside()
Deprecated. Test npix2 nside. |
void |
testNside2Npix()
Deprecated. Test nside2 npix. |
void |
testPix2Vect_nest()
Deprecated. Test pix2 vect_nest. |
void |
testPix2Vect_ring()
Deprecated. Test pix2 vect_ring. |
void |
testQuery_DiscFernique()
Deprecated. |
void |
testQuery_DiscFernique2()
Deprecated. still a problem in the poles .. |
void |
testQuery_disk2()
Deprecated. test Query_disk check for consistency in the query for RING/NESTED |
void |
testQuery_Polygon()
Deprecated. Test query_ polygon. |
void |
testQuery_Strip()
Deprecated. Test query_ strip. |
void |
testQuery_Triangle360Nest()
Deprecated. Test query_ triangle360 nest. |
void |
testQuery_Triangle360Ring()
Deprecated. Test query_ triangle360 ring. |
void |
testQuery_TriangleNotCrossing360Nest()
Deprecated. Test query_ triangle not crossing360 nest. |
void |
testQuery_TriangleNotCrossing360Ring()
Deprecated. Test query_ triangle not crossing360 ring. |
void |
testQueryDisck15()
Deprecated. specific problem |
void |
testRing2Nest()
Deprecated. Test ring2 nest. |
void |
testringNum()
Deprecated. Test ring num. |
void |
testSpecificSmallLarge()
Deprecated. |
void |
testSurfaceTriangle()
Deprecated. Test surface triangle. |
void |
testVec2Ang()
Deprecated. Test vec2 ang. |
void |
testVect2Pix_nest()
Deprecated. Test vect2 pix_nest. |
void |
testVect2Pix_ring()
Deprecated. Test vect2 pix_ring. |
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 |
Field Detail |
---|
public static final double RADIAN_ARCSECOND
Constructor Detail |
---|
public HealpixTest()
Method Detail |
---|
public void testMODULO()
public void testAngDist() throws Exception
Exception
- the exceptionpublic void testSurfaceTriangle() throws Exception
Exception
- the exceptionpublic void testNside2Npix() throws Exception
Exception
- the exceptionpublic void testNpix2Nside() throws Exception
Exception
- the exceptionpublic void testVec2Ang()
public void testAng2Pix() throws Exception
Exception
- the exceptionpublic void testAng2Vect() throws Exception
Exception
- the exceptionpublic void testringNum() throws Exception
Exception
- the exceptionpublic void testNest2Ring() throws Exception
Exception
- the exceptionpublic void testRing2Nest() throws Exception
Exception
- the exceptionpublic void testPix2Vect_ring() throws Exception
Exception
- the exceptionpublic void testPix2Vect_nest() throws Exception
Exception
- the exceptionpublic void testVect2Pix_ring() throws Exception
Exception
- the exceptionpublic void testVect2Pix_nest() throws Exception
Exception
- the exceptionpublic void testQuery_Strip() throws Exception
Exception
- the exceptionpublic double radToAs(double rad)
rad
- radians
public double radToAm(double rad)
rad
- radians
public void testQuery_disk2() throws Exception
Exception
public void DISABLEDtestQuery_Disc() throws Exception
Exception
- the exceptionpublic void testQueryDisck15() throws Exception
Exception
public void testQuery_DiscFernique2() throws Exception
Exception
public void testQuery_DiscFernique() throws Exception
Exception
public void testIssue3983() throws Exception
Exception
public void testQuery_Triangle360Nest() throws Exception
Exception
- the exceptionpublic void testQuery_Triangle360Ring() throws Exception
Exception
- the exceptionpublic void testQuery_TriangleNotCrossing360Ring() throws Exception
Exception
- the exceptionpublic void testQuery_TriangleNotCrossing360Nest() throws Exception
Exception
- the exceptionpublic void testQuery_Polygon() throws Exception
Exception
- the exceptionpublic void testMaxResolution() throws Exception
Exception
- the exceptionpublic void test64to32Conversions() throws Exception
Exception
public void testGetNside() throws Exception
Exception
public void printVec(double[] vec)
vec
- the vecpublic void testKeithCover() throws Exception
Exception
- the exceptionpublic void testNeighbours_Nest() throws Exception
Exception
public void testGetParentAt(int childnside, int requirednside) throws Exception
Exception
public void testGetParentAt() throws Exception
Exception
public void testGetChildrenAt() throws Exception
Exception
public void testSpecificSmallLarge() throws Exception
Exception
public void testDroegeBigSmall() throws Exception
Exception
|
"Built from revision exported" | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |