def test(self): print('in test()') RDHcoords = [107035.288471878,479440.269438375] cnvt = Conversion() testconvertion = cnvt.fromRdToWgs(RDHcoords) ConvertedCoords = [52.169665976510366,5.3887030701270335] self.assertEqual(ConvertedCoords, testconvertion)
def setUp(self): print('In setUp()') convertlist = [107035.288471878,479440.269438375] cnvt = Conversion() testconvertion = cnvt.fromRdToWgs(convertlist)