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