def test_assign_unassigned_colors(self):
     """assign_unassigned_colors should correctly assign unassigned.
     """
     unassigned = ['first', 'second', 'third']
     exp = {'first':(0., 0., 1.),\
         'second':(0.50196078431372548, 0.50196078431372548,\
             0.50196078431372548),\
         'third':(0.50196078431372548, 0., 0.50196078431372548)}
     self.assertEqual(assign_unassigned_colors(unassigned), exp)
 def test_assign_unassigned_colors(self):
     """assign_unassigned_colors should correctly assign unassigned.
     """
     unassigned = ['first','second','third']
     exp = {'first':(0., 0., 1.),\
         'second':(0.50196078431372548, 0.50196078431372548,\
             0.50196078431372548),\
         'third':(0.50196078431372548, 0., 0.50196078431372548)}
     self.assertEqual(assign_unassigned_colors(unassigned),exp)
 def test_assign_unassigned_colors(self):
     """assign_unassigned_colors should correctly assign unassigned.
     """
     unassigned = ['first','second','third']
     exp = {'second': (0.6470588235294118, 0.27843137254901962, 0.0), 
            'third': (0.9882352941176471, 0.77647058823529413, 
                      0.53333333333333333), 
            'first': (0.94901960784313721, 0.45098039215686275, 
                      0.015686274509803921)}
     self.assertEqual(assign_unassigned_colors(unassigned),exp)
 def test_assign_unassigned_colors(self):
     """assign_unassigned_colors should correctly assign unassigned.
     """
     unassigned = ['first', 'second', 'third']
     exp = {
         'second': (0.6470588235294118, 0.27843137254901962, 0.0),
         'third':
         (0.9882352941176471, 0.77647058823529413, 0.53333333333333333),
         'first':
         (0.94901960784313721, 0.45098039215686275, 0.015686274509803921)
     }
     self.assertEqual(assign_unassigned_colors(unassigned), exp)