Exemplo n.º 1
0
def test__key():
    """Test key of Point used for hashing."""
    coords = (1.0, 2.0, 3.0)
    p = Point(*coords)
    assert p._key() == coords