• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lumip / CompactCryptoGroupAlgebra / 11419755082

19 Oct 2024 06:18PM UTC coverage: 43.483%. First build
11419755082

Pull #5

github

web-flow
Merge 35b7fb76e into 8e1b35867
Pull Request #5: GitHub actions

310 of 362 branches covered (85.64%)

Branch coverage included in aggregate %.

30 of 111 new or added lines in 18 files covered. (27.03%)

1895 of 4709 relevant lines covered (40.24%)

5887.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/CompactCryptoGroupAlgebra.Tests/TestUtils/BigIntegerUtils.cs
1
// CompactCryptoGroupAlgebra - C# implementation of abelian group algebra for experimental cryptography
2

3
// SPDX-FileCopyrightText: 2020-2021 Lukas Prediger <lumip@lumip.de>
4
// SPDX-License-Identifier: GPL-3.0-or-later
5
// SPDX-FileType: SOURCE
6

7
// CompactCryptoGroupAlgebra is free software: you can redistribute it and/or modify
8
// it under the terms of the GNU General Public License as published by
9
// the Free Software Foundation, either version 3 of the License, or
10
// (at your option) any later version.
11
//
12
// CompactCryptoGroupAlgebra is distributed in the hope that it will be useful,
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
// GNU General Public License for more details.
16
//
17
// You should have received a copy of the GNU General Public License
18
// along with this program.  If not, see <https://www.gnu.org/licenses/>.
19

20
using System.Globalization;
21
using System.Numerics;
22

23
namespace CompactCryptoGroupAlgebra.TestUtils
24
{
25
    public static class BigIntegerUtils
26
    {
27
        /// <summary>
28
        /// Parses a hex-formatted integer string as a <see cref="BigInteger" />.
29
        /// </summary>
30
        /// <param name="hexEncodedInteger">Hexadecimal string representation of the integer.</param>
31
        /// <returns>The <see cref="BigInteger"/> determined by the given hex string.</returns>
32
        public static BigInteger ParseHex(string hexEncodedInteger)
33
        {
×
34
            return BigInteger.Parse(hexEncodedInteger, NumberStyles.AllowHexSpecifier);
×
NEW
35
        }
×
36
    }
37
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc