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
Exemple #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
def test_make_brush_single_color(colorArgs, qcolor, style):
    testBrush = makeBrush(colorArgs, style=style)
    assert testBrush == QBrush(qcolor, style=style)
Exemple #4
0
def test_make_brush_single_color(colorArgs, qcolor, style):
    testBrush = makeBrush(colorArgs, style=style)
    assert testBrush == QBrush(qcolor, style=style)