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