public void GetDotProduct() { ComplexFloatVector a = new ComplexFloatVector(new float[4] { 0, 1, 2, 3 }); ComplexFloatVector b = new ComplexFloatVector(new float[4] { 4, 5, 6, 7 }); Assert.AreEqual(a.GetDotProduct(), (ComplexFloat)14); Assert.AreEqual(b.GetDotProduct(), (ComplexFloat)126); Assert.AreEqual(a.GetDotProduct(b), (ComplexFloat)38); Assert.AreEqual(a.GetDotProduct(b), b.GetDotProduct(a)); }