public void NullRHS() { var e = Assert.ThrowsException <ArgumentNullException>( () => FastMath.Dot(Float0, null)); Assert.AreEqual(RHS, e.ParamName); }
public void Dot() => FastMath.Dot(new MyStruct[0], new MyStruct[0]);
public void TwoArgs() { var dot = FastMath.Dot(Float123, Float123); Assert.AreEqual(14, dot); }
public void InvalidLength() { Assert.ThrowsException <IndexOutOfRangeException>( () => FastMath.Dot(Float0, Float1)); }