mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 04:55:42 +00:00
test: exclude "packing magic" properties from coverage
This commit is contained in:
parent
4152c289e3
commit
09d3c311d9
@ -1,3 +1,4 @@
|
|||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Diagnostics.Contracts;
|
using System.Diagnostics.Contracts;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
@ -23,16 +24,19 @@ public static class SpanExtensions
|
|||||||
#if NETCOREAPP3_0_OR_GREATER
|
#if NETCOREAPP3_0_OR_GREATER
|
||||||
private const ulong IntegerPackingMagic = 0x0102040810204080;
|
private const ulong IntegerPackingMagic = 0x0102040810204080;
|
||||||
|
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
private static Vector64<ulong> IntegerPackingMagicV64
|
private static Vector64<ulong> IntegerPackingMagicV64
|
||||||
{
|
{
|
||||||
get => Vector64.Create(IntegerPackingMagic);
|
get => Vector64.Create(IntegerPackingMagic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
private static Vector128<ulong> IntegerPackingMagicV128
|
private static Vector128<ulong> IntegerPackingMagicV128
|
||||||
{
|
{
|
||||||
get => Vector128.Create(IntegerPackingMagic);
|
get => Vector128.Create(IntegerPackingMagic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ExcludeFromCodeCoverage]
|
||||||
private static Vector256<ulong> IntegerPackingMagicV256
|
private static Vector256<ulong> IntegerPackingMagicV256
|
||||||
{
|
{
|
||||||
get => Vector256.Create(IntegerPackingMagic);
|
get => Vector256.Create(IntegerPackingMagic);
|
||||||
|
Loading…
Reference in New Issue
Block a user