'Row accurately reflects table values and attributes'

def test_values(self, table_types):

    self._setup(table_types)
    table = self.t
    row = table[1]
    assert (row['a'] == 2)
    assert (row['b'] == 5)
    assert (row[0] == 2)
    assert (row[1] == 5)
    assert (row.meta is table.meta)
    assert (row.colnames == table.colnames)
    assert (row.columns is table.columns)
    with pytest.raises(IndexError):
        row[2]
    if (sys.byteorder == 'little'):
        assert (str(row.dtype) == "[('a',    '<i8'),    ('b',    '<i8')]")
    else:
        assert (str(row.dtype) == "[('a',    '>i8'),    ('b',    '>i8')]")
