Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6eb47082ff
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (13 sloc) 0.44 kb
import unittest
import fastcat
class FastcatTests(unittest.TestCase):
def test_narrower(self):
f = fastcat.FastCat()
self.assertTrue("Functional languages" in f.narrower("Functional programming"))
def test_broader(self):
f = fastcat.FastCat()
self.assertTrue("Computing" in f.broader("Computer programming"))
if __name__ == "__main__":
f = fastcat.FastCat()
f.load()
unittest.main()
Jump to Line
Something went wrong with that request. Please try again.