'The parser must return the correct args in the correct order.'

def testParseOutputSpec(self):

    (out_dims, out_func, num_classes) = vgsl_model._ParseOutputSpec(output_spec='O1c142')
    self.assertEqual(out_dims, 1)
    self.assertEqual(out_func, 'c')
    self.assertEqual(num_classes, 142)
    (out_dims, out_func, num_classes) = vgsl_model._ParseOutputSpec(output_spec='O2s99')
    self.assertEqual(out_dims, 2)
    self.assertEqual(out_func, 's')
    self.assertEqual(num_classes, 99)
    (out_dims, out_func, num_classes) = vgsl_model._ParseOutputSpec(output_spec='O0l12')
    self.assertEqual(out_dims, 0)
    self.assertEqual(out_func, 'l')
    self.assertEqual(num_classes, 12)
