def test_belowRoom(self): self.assertFalse( dc.isInRoom(json.dumps(self.BASIC_GOOD_ROOM), 37.229854, -80.417724, 2000))
def test_outOfLonLow(self): self.assertFalse( dc.isInRoom(json.dumps(self.BASIC_GOOD_ROOM), 37.229854, -80.417994, 2085))
def test_outOfLatHigh(self): self.assertFalse( dc.isInRoom(json.dumps(self.BASIC_GOOD_ROOM), 37.229894, -80.417724, 2085))
def test_completelyOutThere(self): self.assertFalse(dc.isInRoom(json.dumps(self.BASIC_GOOD_ROOM), 0, 0, 0))
def test_clippedCorner(self): self.assertFalse( dc.isInRoom(json.dumps(self.BASIC_GOOD_ROOM), 37.229874, -80.417704, 2085))
def test_inRoom(self): self.assertTrue( dc.isInRoom(json.dumps(self.BASIC_GOOD_ROOM), 37.229854, -80.417724, 2085))