add simple tests and timing code

The tests here may not be much use to you, but typing them out was useful to me in examining the library's workings. There are two files, meant for use with `pytest`:

 * `test_docs_content.py` reproduces most of the tests in the docstrings.
 * `test_large_lists.py` creates some large lists and tests `inverse` and `get_item` on their instantiations as `bidict`s.

The little timing program shows me how much slower `bidict` is than just creating a reversed dictionary. Of course, creation happens only once, and after that there are considerable savings in space and functionality. I am not suggesting any changes to `bidict` on account of this — I just wanted to see the difference in timing.

```python
>>> import time_manual_reverse_dict as M
>>> M.main(200)
Example with int: str.
In 200 trials, average time for a list of cardinality 100000:
    bidict:        1.8498 sec.
    reversed dict: 0.0349 sec.

Example with str: int.
In 200 trials, average time for a list of cardinality 100000:
    bidict:        1.8675 sec.
    reversed dict: 0.0378 sec.
>>>
```
Thanks for these detail other comments. - dpb

Software Developer and Lexicographer of Chinese
brannerchinese.com

On Sat, Sep 27, 2014 at 9:54 AM, jab <notifications@github.com> wrote:

> In test/test_docs_content.py:
>
> > +def test_in_02():
> > +    element_by_symbol = B.bidict(Hg='mercury')
> > +    assert bool('mercury' in ~element_by_symbol) == True
> > +
> > +def test_get():
> > +    element_by_symbol = B.bidict(He='helium')
> > +    assert element_by_symbol.get('C', 'carbon') == 'carbon'
> > +
> > +def test_pop_01():
> > +    element_by_symbol = B.bidict(He='helium')
> > +    assert element_by_symbol.pop('He') == 'helium'
> > +
> > +def test_pop_02():
> > +    element_by_symbol = B.bidict(He='helium')
> > +    element_by_symbol.pop('He')
> > +    assert element_by_symbol == B.bidict({})
>
> Prefer B.bidict() to B.bidict({}).
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jab/bidict/pull/1/files#r18123725>.
>