Ejemplo n.º 1
0
    def test030(self):
        "testing a ZYB == 2 string"

        pool = {}
        parse("lizard_riool/data/f3478.rmb", pool)
        mrios = string_of_riool_to_string_of_rioolmeting(
            pool, ['6400001', '6400002', '6400003', '6400004'])
        self.assertEqual(
            ['6400004:00001.50', '6400004:00000.75'],
            [mrios[-2].suf_id, mrios[-1].suf_id])
Ejemplo n.º 2
0
    def test010(self):
        "simple case: everything read in same direction"

        pool = {}
        parse("lizard_riool/data/f3478-bb.rmb", pool)
        target = []
        target.extend(pool['6400002'][1:])
        target.extend(pool['6400003'][1:])
        target.extend(pool['6400004'][1:])
        current = string_of_riool_to_string_of_rioolmeting(
            pool, ['6400002', '6400003', '6400004'])
        self.assertEqual(target, current)