'Test the sum_smallest atom and related atoms.'

def test_sum_smallest(self):

    with self.assertRaises(Exception) as cm:
        sum_smallest(self.x, (-1))
    self.assertEqual(str(cm.exception), 'Second    argument    must    be    a    positive    integer.')
    with self.assertRaises(Exception) as cm:
        lambda_sum_smallest(Variable(2, 2), 2.4)
    self.assertEqual(str(cm.exception), 'Second    argument    must    be    a    positive    integer.')
