def test_found_fallback(self): result = ExternalResult(1.0, 1.0, 10, 'lacf') assert not result.not_found()
def test_not_found_accuracy(self): result = ExternalResult(1.0, 1.0, None, None) assert result.not_found()
def test_found(self): result = ExternalResult(1.0, 1.0, 10, None) assert not result.not_found()
def test_found_fallback(self): result = ExternalResult(1.0, 1.0, 10, 'lacf') self.assertFalse(result.not_found())
def test_not_found(self): result = ExternalResult(None, None, None, None) assert result.not_found()
def test_not_found(self): result = ExternalResult(None, None, None, None) self.assertTrue(result.not_found())
def test_found(self): result = ExternalResult(1.0, 1.0, 10, None) self.assertFalse(result.not_found())
def test_found(self): result = ExternalResult(1.0, 1.0, 10, None) self.assertFalse(result.not_found())
def test_found_fallback(self): result = ExternalResult(1.0, 1.0, 10, 'lacf') self.assertFalse(result.not_found())
def test_not_found_accuracy(self): result = ExternalResult(1.0, 1.0, None, None) self.assertTrue(result.not_found())
def test_not_found(self): result = ExternalResult(None, None, None, None) self.assertTrue(result.not_found())
def test_found_fallback(self): result = ExternalResult(1.0, 1.0, 10, 'lacf') assert not result.not_found()
def test_found(self): result = ExternalResult(1.0, 1.0, 10, None) assert not result.not_found()
def test_not_found(self): result = ExternalResult(None, None, None, None) assert result.not_found()