Ejemplo n.º 1
0
        public void ValidateTest()
        {
            var table = new Table1D(new[] { 3.0, 4.0, 5.0 },
                                    new[] { 8.0, -7.5, 1.35 });

            table.Validate();
        }
Ejemplo n.º 2
0
        public void TableTooSmallNotValid()
        {
            Assert.Throws <ArgumentException>(() =>
            {
                var table = new Table1D(
                    new[] { 3.0, 4.0, 5.0 },
                    new[] { 8.0, -7.5 });

                table.Validate();
            });
        }