예제 #1
0
                public void NullRHS()
                {
                    var e = Assert.ThrowsException <ArgumentNullException>(
                        () => FastMath.Dot(Float0, null));

                    Assert.AreEqual(RHS, e.ParamName);
                }
예제 #2
0
 public void Dot() => FastMath.Dot(new MyStruct[0], new MyStruct[0]);
예제 #3
0
                public void TwoArgs()
                {
                    var dot = FastMath.Dot(Float123, Float123);

                    Assert.AreEqual(14, dot);
                }
예제 #4
0
 public void InvalidLength()
 {
     Assert.ThrowsException <IndexOutOfRangeException>(
         () => FastMath.Dot(Float0, Float1));
 }