public void ReorderOutOfRange()
        {
            MutableDataTable dt = GetTable();

            Assert.Throws <ArgumentOutOfRangeException>(
                () => dt.ReorderColumn("first", 2));

            Assert.Throws <ArgumentOutOfRangeException>(
                () => dt.ReorderColumn("first", -1));
        }
        public void Reorder()
        {
            MutableDataTable dt = GetTable();

            dt.ReorderColumn("first", 1);

            AnalyzeTests.AssertEquals(
                @"last,first
Smith,Bob
Jones,Fred
", dt);
        }