'Make a SimpleTable and convert to Table, QTable with copy=False, True'

def test_simple_1(self):

    for table_cls in (table.Table, table.QTable):
        col_c_class = (u.Quantity if (table_cls is table.QTable) else table.MaskedColumn)
        for cpy in (False, True):
            st = self.SimpleTable()
            t = table_cls(st, copy=cpy, extra_meta='extra!')
            assert (t.colnames == ['a', 'b', 'c'])
            assert (t.meta == {'extra_meta': 'extra!'})
            assert np.all((t['a'] == st.columns[0]))
            assert np.all((t['b'] == st.columns[1]))
            vals = (t['c'].value if (table_cls is table.QTable) else t['c'])
            assert np.all((st.columns[2].value == vals))
            assert isinstance(t['a'], table.MaskedColumn)
            assert isinstance(t['b'], table.MaskedColumn)
            assert isinstance(t['c'], col_c_class)
            assert (t['c'].unit is u.m)
            assert (type(t) is table_cls)
            t['a'][0] = 10
            assert ((st.columns[0][0] == 1) if cpy else 10)
