private static int Main() { int returnVal = Pass; if (VectorGetTest <Double> .VectorGet(101D, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <Double> .VectorGet(100D, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <Double> .VectorGetIndexerOutOfRange(100D, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <Single> .VectorGet(101F, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <Single> .VectorGet(100F, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <Single> .VectorGetIndexerOutOfRange(100F, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <int> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <int> .VectorGet(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <int> .VectorGetIndexerOutOfRange(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <long> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <long> .VectorGet(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <long> .VectorGetIndexerOutOfRange(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <ushort> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <ushort> .VectorGet(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <ushort> .VectorGetIndexerOutOfRange(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <byte> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <byte> .VectorGet(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <byte> .VectorGetIndexerOutOfRange(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <short> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <short> .VectorGet(-100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <short> .VectorGetIndexerOutOfRange(-100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <sbyte> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <sbyte> .VectorGet(-100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <sbyte> .VectorGetIndexerOutOfRange(-100, 1) == Fail) { returnVal = Fail; } return(returnVal); }
private static int Main() { int returnVal = Pass; if (VectorGetTest <Double> .VectorGet(101D, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <Double> .VectorGet(100D, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <Double> .VectorGetIndexerOutOfRange(100D, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <Single> .VectorGet(101F, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <Single> .VectorGet(100F, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <Single> .VectorGetIndexerOutOfRange(100F, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <int> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <int> .VectorGet(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <int> .VectorGetIndexerOutOfRange(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <long> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <long> .VectorGet(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <long> .VectorGetIndexerOutOfRange(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <ushort> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <ushort> .VectorGet(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <ushort> .VectorGetIndexerOutOfRange(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <byte> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <byte> .VectorGet(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <byte> .VectorGetIndexerOutOfRange(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <short> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <short> .VectorGet(-100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <short> .VectorGetIndexerOutOfRange(-100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <sbyte> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <sbyte> .VectorGet(-100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <sbyte> .VectorGetIndexerOutOfRange(-100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <uint> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <uint> .VectorGet(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <uint> .VectorGetIndexerOutOfRange(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <ulong> .VectorGet(101, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <ulong> .VectorGet(100, 1) == Fail) { returnVal = Fail; } if (VectorGetTest <ulong> .VectorGetIndexerOutOfRange(100, 1) == Fail) { returnVal = Fail; } JitLog jitLog = new JitLog(); if (!jitLog.Check("get_Item", "Double")) { returnVal = Fail; } if (!jitLog.Check("get_Count", "Double")) { returnVal = Fail; } if (!jitLog.Check("get_Item", "Single")) { returnVal = Fail; } if (!jitLog.Check("get_Count", "Single")) { returnVal = Fail; } if (!jitLog.Check("get_Item", "Int32")) { returnVal = Fail; } if (!jitLog.Check("get_Count", "Int32")) { returnVal = Fail; } if (!jitLog.Check("get_Item", "Int64")) { returnVal = Fail; } if (!jitLog.Check("get_Count", "Int64")) { returnVal = Fail; } if (!jitLog.Check("get_Item", "UInt16")) { returnVal = Fail; } if (!jitLog.Check("get_Count", "UInt16")) { returnVal = Fail; } if (!jitLog.Check("get_Item", "Byte")) { returnVal = Fail; } if (!jitLog.Check("get_Count", "Byte")) { returnVal = Fail; } if (!jitLog.Check("get_Item", "Int16")) { returnVal = Fail; } if (!jitLog.Check("get_Count", "Int16")) { returnVal = Fail; } if (!jitLog.Check("get_Item", "SByte")) { returnVal = Fail; } if (!jitLog.Check("get_Count", "SByte")) { returnVal = Fail; } if (!jitLog.Check("get_Item", "UInt32")) { returnVal = Fail; } if (!jitLog.Check("get_Count", "UInt32")) { returnVal = Fail; } if (!jitLog.Check("get_Item", "UInt64")) { returnVal = Fail; } if (!jitLog.Check("get_Count", "UInt64")) { returnVal = Fail; } jitLog.Dispose(); return(returnVal); }