Beispiel #1
0
        public void FillByDuplicates()
        {
            LinearEquation le = new LinearEquation(5);

            le.FillByDuplicates(4);
            Assert.IsTrue(new double[] { 4, 4, 4, 4, 4 }.SequenceEqual((double[])le));
        }
Beispiel #2
0
        public void FillByDuplicates()
        {
            int            n  = 4;
            LinearEquation le = new LinearEquation(n);

            le.FillByDuplicates(7.3);
            Assert.IsTrue(new double[] { 7.3, 7.3, 7.3, 7.3 }.SequenceEqual((double[])le));
        }