示例#1
0
def test_make_brush_list_of_colors(colorArgs, qcolor, style):
    testBrush = makeBrush(colorArgs, style=style)
    refBrushes = [QBrush(c, style=style) for c in qcolor]
    assert testBrush == refBrushes
示例#2
0
def test_make_brush_list_of_colors(colorArgs, qcolor, style):
    testBrush = makeBrush(colorArgs, style=style)
    refBrushes = [QBrush(c, style=style) for c in qcolor]
    assert testBrush == refBrushes
示例#3
0
def test_make_brush_single_color(colorArgs, qcolor, style):
    testBrush = makeBrush(colorArgs, style=style)
    assert testBrush == QBrush(qcolor, style=style)
示例#4
0
def test_make_brush_single_color(colorArgs, qcolor, style):
    testBrush = makeBrush(colorArgs, style=style)
    assert testBrush == QBrush(qcolor, style=style)