Пример #1
0
def test_draw_huge_random():
    with patch.object(Tk, 'mainloop'):
        x = Random_Line_Network(50, sparsity=0.2)
        draw(x)
Пример #2
0
def test_network_draw_tk():
    with patch.object(Tk, 'mainloop'):
        x = Unidirectional_Ring(6)
        LCR(x)
        draw(x)