def test_get_mag_h_from_geo(self): """ChannelConverter_test.test_get_mag_d_from_geo() ``X`` and ``Y`` are the north and east components of the horizontal magnetic field vector ``H`` """ # Call get_mag_h_from_geo using X,Y of 3,4. Expect H to be 5. X = 3 Y = 4 H = channel.get_mag_h_from_geo(X, Y) assert_almost_equal(H, 5, 8, "Expect H to be 5.", True)