예제 #1
0
 def test_18(self):
     self.assertEqual(color_expand('ABC80'), 'rgba(170,187,204,0.5)')
예제 #2
0
 def test_16(self):
     self.assertEqual(color_expand('F','.2'), 'rgba(255,255,255,.2)')
예제 #3
0
 def test_17(self):
     self.assertEqual(color_expand('ABCD'), 'rgba(170,187,204,0.87)')
예제 #4
0
 def test_12(self):
     self.assertEqual(color_expand('abcdef'), '#ABCDEF')
예제 #5
0
 def test_16(self):
     self.assertEqual(color_expand('F', '.2'), 'rgba(255,255,255,.2)')
예제 #6
0
 def test_6(self):
     self.assertEqual(color_expand('#CF'), '#CFCFCF')
예제 #7
0
 def test_10(self):
     self.assertEqual(color_expand('#f'), '#FFF')
예제 #8
0
 def test_9(self):
     self.assertEqual(color_expand('111'), '#111')
예제 #9
0
 def test_10(self):
     self.assertEqual(color_expand('#f'), '#FFF')
예제 #10
0
 def test_4(self):
     self.assertEqual(color_expand('#C'), '#CCC')
예제 #11
0
 def test_6(self):
     self.assertEqual(color_expand('#CF'), '#CFCFCF')
예제 #12
0
 def test_1(self):
     self.assertEqual(color_expand('#0'), '#000')
예제 #13
0
 def test_18(self):
     self.assertEqual(color_expand('ABC80'), 'rgba(170,187,204,0.5)')
예제 #14
0
 def test_17(self):
     self.assertEqual(color_expand('ABCD'), 'rgba(170,187,204,0.87)')
예제 #15
0
 def test_1(self):
     self.assertEqual(color_expand('#0'), '#000')
예제 #16
0
 def test_11(self):
     self.assertEqual(color_expand('123456'), '#123456')
예제 #17
0
 def test_4(self):
     self.assertEqual(color_expand('#C'), '#CCC')
예제 #18
0
 def test_12(self):
     self.assertEqual(color_expand('abcdef'), '#ABCDEF')
예제 #19
0
 def test_9(self):
     self.assertEqual(color_expand('111'), '#111')
예제 #20
0
 def test_14(self):
     self.assertEqual(color_expand('0F'), '#0F0F0F')
예제 #21
0
 def test_11(self):
     self.assertEqual(color_expand('123456'), '#123456')
예제 #22
0
 def test_15(self):
     self.assertEqual(color_expand('0','.5'), 'rgba(0,0,0,.5)')
예제 #23
0
 def test_14(self):
     self.assertEqual(color_expand('0F'), '#0F0F0F')
예제 #24
0
 def test_15(self):
     self.assertEqual(color_expand('0', '.5'), 'rgba(0,0,0,.5)')