< Summary - Combined Code Coverage

Information
Class: NLightning.Tests.Utils.Vectors.Bolt3AppendixDVectors
Assembly: NLightning.Tests.Utils
File(s): /home/runner/work/nlightning/nlightning/test/NLightning.Tests.Utils/Vectors/Bolt3AppendixDVectors.cs
Tag: 36_15743069263
Line coverage
100%
Covered lines: 56
Uncovered lines: 0
Coverable lines: 56
Total lines: 96
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.cctor()100%11100%

File(s)

/home/runner/work/nlightning/nlightning/test/NLightning.Tests.Utils/Vectors/Bolt3AppendixDVectors.cs

#LineLine coverage
 1namespace NLightning.Tests.Utils.Vectors;
 2
 3public static class Bolt3AppendixDVectors
 4{
 45    public static readonly byte[] Seed0FinalNode =
 46        Convert.FromHexString("0000000000000000000000000000000000000000000000000000000000000000");
 7
 48    public static readonly byte[] SeedFfFinalNode =
 49        Convert.FromHexString("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
 10
 411    public static readonly byte[] SeedFfAlternateBits1 =
 412        Convert.FromHexString("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
 13
 414    public static readonly byte[] SeedFfAlternateBits2 =
 415        Convert.FromHexString("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
 16
 417    public static readonly byte[] Seed01LastNonTrivialNode =
 418        Convert.FromHexString("0101010101010101010101010101010101010101010101010101010101010101");
 19
 20    public const ulong I0FinalNode = 281474976710655;
 21    public const ulong IFfFinalNode = 281474976710655;
 22    public const ulong IFfAlternateBits1 = 0xaaaaaaaaaaa;
 23    public const ulong IFfAlternateBits2 = 0x555555555555;
 24    public const ulong I01LastNonTrivialNode = 1;
 25
 426    public static readonly byte[] ExpectedOutput0FinalNode =
 427        Convert.FromHexString("02a40c85b6f28da08dfdbe0926c53fab2de6d28c10301f8f7c4073d5e42e3148");
 28
 429    public static readonly byte[] ExpectedOutputFfFinalNode =
 430        Convert.FromHexString("7cc854b54e3e0dcdb010d7a3fee464a9687be6e8db3be6854c475621e007a5dc");
 31
 432    public static readonly byte[] ExpectedOutputFfAlternateBits1 =
 433        Convert.FromHexString("56f4008fb007ca9acf0e15b054d5c9fd12ee06cea347914ddbaed70d1c13a528");
 34
 435    public static readonly byte[] ExpectedOutputFfAlternateBits2 =
 436        Convert.FromHexString("9015daaeb06dba4ccc05b91b2f73bd54405f2be9f217fbacd3c5ac2e62327d31");
 37
 438    public static readonly byte[] ExpectedOutput01LastNonTrivialNode =
 439        Convert.FromHexString("915c75942a26bb3a433a8ce2cb0427c29ec6c1775cfc78328b57f6ba7bfeaa9c");
 40
 41    public const ulong StorageIndexMax = 0xFFFFFFFFFFFFUL;
 42
 443    public static readonly byte[] StorageCorrectSeed =
 444        Convert.FromHexString("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF");
 45
 446    public static readonly byte[] StorageIncorrectSeed =
 447        Convert.FromHexString("0000000000000000000000000000000000000000000000000000000000000000");
 48
 449    public static readonly byte[] StorageExpectedSecret0 =
 450        Convert.FromHexString("7cc854b54e3e0dcdb010d7a3fee464a9687be6e8db3be6854c475621e007a5dc");
 51
 452    public static readonly byte[] StorageExpectedSecret1 =
 453        Convert.FromHexString("c7518c8ae4660ed02894df8976fa1a3659c1a8b4b5bec0c4b872abeba4cb8964");
 54
 455    public static readonly byte[] StorageExpectedSecret2 =
 456        Convert.FromHexString("2273e227a5b7449b6e70f1fb4652864038b1cbf9cd7c043a7d6456b7fc275ad8");
 57
 458    public static readonly byte[] StorageExpectedSecret3 =
 459        Convert.FromHexString("27cddaa5624534cb6cb9d7da077cf2b22ab21e9b506fd4998a51d54502e99116");
 60
 461    public static readonly byte[] StorageExpectedSecret4 =
 462        Convert.FromHexString("c65716add7aa98ba7acb236352d665cab17345fe45b55fb879ff80e6bd0c41dd");
 63
 464    public static readonly byte[] StorageExpectedSecret5 =
 465        Convert.FromHexString("969660042a28f32d9be17344e09374b379962d03db1574df5a8a5a47e19ce3f2");
 66
 467    public static readonly byte[] StorageExpectedSecret6 =
 468        Convert.FromHexString("a5a64476122ca0925fb344bdc1854c1c0a59fc614298e50a33e331980a220f32");
 69
 470    public static readonly byte[] StorageExpectedSecret7 =
 471        Convert.FromHexString("05cde6323d949933f7f7b78776bcc1ea6d9b31447732e3802e1f7ac44b650e17");
 72
 473    public static readonly byte[] StorageExpectedSecret8 =
 474        Convert.FromHexString("02a40c85b6f28da08dfdbe0926c53fab2de6d28c10301f8f7c4073d5e42e3148");
 75
 476    public static readonly byte[] StorageExpectedSecret9 =
 477        Convert.FromHexString("dddc3a8d14fddf2b68fa8c7fbad2748274937479dd0f8930d5ebb4ab6bd866a3");
 78
 479    public static readonly byte[] StorageExpectedSecret10 =
 480        Convert.FromHexString("c51a18b13e8527e579ec56365482c62f180b7d5760b46e9477dae59e87ed423a");
 81
 482    public static readonly byte[] StorageExpectedSecret11 =
 483        Convert.FromHexString("ba65d7b0ef55a3ba300d4e87af29868f394f8f138d78a7011669c79b37b936f4");
 84
 485    public static readonly byte[] StorageExpectedSecret12 =
 486        Convert.FromHexString("631373ad5f9ef654bb3dade742d09504c567edd24320d2fcd68e3cc47e2ff6a6");
 87
 488    public static readonly byte[] StorageExpectedSecret13 =
 489        Convert.FromHexString("b7e76a83668bde38b373970155c868a653304308f9896692f904a23731224bb1");
 90
 491    public static readonly byte[] StorageExpectedSecret14 =
 492        Convert.FromHexString("e7971de736e01da8ed58b94c2fc216cb1dca9e326f3a96e7194fe8ea8af6c0a3");
 93
 494    public static readonly byte[] StorageExpectedSecret15 =
 495        Convert.FromHexString("a7efbc61aac46d34f77778bac22c8a20c6a46ca460addc49009bda875ec88fa4");
 96}

Methods/Properties

.cctor()