def test_nearby_location_correct_power(): station = Station(Point(0, 0), 10) device_location = Point(5, 5) assert round(station.power(device_location), 4) == 8.5786
def test_out_of_distance_location_no_power(): station = Station(Point(0, 0), 10) device_location = Point(11, 11) assert station.power(device_location) == 0
def test_location_full_power(): station = Station(Point(0, 0), 10) device_location = Point(0, 0) assert station.power(device_location) == 100