Beispiel #1
0
        public void GetInternalData()
        {
            float[] testvector = new float[2] {
                0, 1
            };
            ComplexFloatVector test = new ComplexFloatVector(testvector);

            ComplexFloat[] internaldata = test.GetInternalData();

            Assert.AreEqual(internaldata.Length, testvector.Length);
            Assert.AreEqual(internaldata[0], (ComplexFloat)testvector[0]);
            Assert.AreEqual(internaldata[1], (ComplexFloat)testvector[1]);
        }