public static void RunTests_Int16ImplicitCastToComplex() { VerifyInt16ImplicitCastToComplex(Int16.MinValue); for (int i = 0; i < Support.RandomSampleCount; ++i) { Int16 randomValue = Support.GetRandomInt16Value(true); VerifyInt16ImplicitCastToComplex(randomValue); } VerifyInt16ImplicitCastToComplex(-1); VerifyInt16ImplicitCastToComplex(0); VerifyInt16ImplicitCastToComplex(1); for (int i = 0; i < Support.RandomSampleCount; ++i) { Int16 randomValue = Support.GetRandomInt16Value(false); VerifyInt16ImplicitCastToComplex(randomValue); } VerifyInt16ImplicitCastToComplex(Int16.MaxValue); }