Exemplo n.º 1
0
 def test_calcSearchRadiusForRcvr(self):
     # a silly test really - they ALL get calculated in the __init__
     sc = SourceConflicts()
     r  = Receiver.objects.get(name = 'Rcvr4_6') 
     rad = sc.calcSearchRadiusForRcvr('C')
     self.assertAlmostEquals(0.0014544, rad, 7)