2 # vi: set softtabstop=4 shiftwidth=4 tabstop=8 expandtab:
8 class TestMatch(unittest
.TestCase
):
11 self
.lm
= LandmarkMatcher
.LandmarkMatcher()
13 def testFullMatch(self
):
14 self
.assertEquals(self
.lm
.match("rideau centre"), "RIDEAU CENTRE")
16 def testPartialMatchRideau(self
):
17 self
.assertEquals(self
.lm
.match("rideau"), "RIDEAU TRANSIT MALL")
19 def testPartialMatchBayshore(self
):
20 self
.assertEquals(self
.lm
.match("bayshore"), "BAYSHORE STATION")
22 if __name__
== '__main__':