Exemple #1
0
def test_label():
    e = symbol('e', '3 * int')
    assert e._name == 'e'
    assert label(e, 'foo')._name == 'foo'
    assert label(e, 'e').isidentical(e)
Exemple #2
0
def test_label():
    e = symbol('e', '3 * int')
    assert e._name == 'e'
    assert label(e, 'foo')._name == 'foo'
    assert label(e, 'e').isidentical(e)
Exemple #3
0
def test_label():
    e = symbol("e", "3 * int")
    assert e._name == "e"
    assert label(e, "foo")._name == "foo"
    assert label(e, "e").isidentical(e)