### Question:
TSAGeoMag { public double getNorthIntensity( double dlat, double dlong ) { calcGeoMag( dlat, dlong, defaultDate, defaultAltitude ); return bx; } TSAGeoMag(); double getDeclination( double dlat, double dlong ); double getDeclination( double dlat, double dlong, double year, double altitude ); double getIntensity( double dlat, double dlong ); double getIntensity( double dlat, double dlong, double year, double altitude ); double getHorizontalIntensity( double dlat, double dlong ); double getHorizontalIntensity( double dlat, double dlong, double year, double altitude ); double getVerticalIntensity( double dlat, double dlong ); double getVerticalIntensity( double dlat, double dlong, double year, double altitude ); double getNorthIntensity( double dlat, double dlong ); double getNorthIntensity( double dlat, double dlong, double year, double altitude ); double getEastIntensity( double dlat, double dlong ); double getEastIntensity( double dlat, double dlong, double year, double altitude ); double getDipAngle( double dlat, double dlong ); double getDipAngle( double dlat, double dlong, double year, double altitude ); double decimalYear(GregorianCalendar cal);  }### Answer:
@Test public final void getNorthIntensity() { assertEquals(6627.1, magModel.getNorthIntensity(80, 0, 2015, 0), 5.0E-02); assertEquals(39518.2, magModel.getNorthIntensity(0, 120, 2015, 0), 5.0E-02); assertEquals(5797.3, magModel.getNorthIntensity(-80, 240, 2015, 0), 5.0E-02); assertEquals(6314.3, magModel.getNorthIntensity(80, 0, 2015, 100), 5.0E-02); assertEquals(37535.6, magModel.getNorthIntensity(0, 120, 2015, 100), 5.0E-02); assertEquals(5613.1, magModel.getNorthIntensity(-80, 240, 2015, 100), 5.0E-02); assertEquals(6599.4, magModel.getNorthIntensity(80, 0, 2017.5, 0), 5.0E-02); assertEquals(39571.4, magModel.getNorthIntensity(0, 120, 2017.5, 0), 5.0E-02); assertEquals(5873.8, magModel.getNorthIntensity(-80, 240, 2017.5, 0), 5.0E-02); assertEquals(6290.5, magModel.getNorthIntensity(80, 0, 2017.5, 100), 5.0E-02); assertEquals(37585.5, magModel.getNorthIntensity(0, 120, 2017.5, 100), 5.0E-02); assertEquals(5683.5, magModel.getNorthIntensity(-80, 240, 2017.5, 100), 5.0E-02); assertEquals(6599.4, magModel.getNorthIntensity(80, 0), 5.0E-02); assertEquals(39571.4, magModel.getNorthIntensity(0, 120), 5.0E-02); assertEquals(5873.8, magModel.getNorthIntensity(-80, 240), 5.0E-02); }