< Summary

Information
Class: Renci.SshNet.Security.Org.BouncyCastle.Math.EC.Abc.ZTauElement
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\math\ec\abc\ZTauElement.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 36
Line coverage: 0%
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 Cyclomatic complexity Line coverage
.ctor(...)100%10%

File(s)

\home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\math\ec\abc\ZTauElement.cs

#LineLine coverage
 1namespace Renci.SshNet.Security.Org.BouncyCastle.Math.EC.Abc
 2{
 3  /**
 4  * Class representing an element of <code><b>Z</b>[&#964;]</code>. Let
 5  * <code>&#955;</code> be an element of <code><b>Z</b>[&#964;]</code>. Then
 6  * <code>&#955;</code> is given as <code>&#955; = u + v&#964;</code>. The
 7  * components <code>u</code> and <code>v</code> may be used directly, there
 8  * are no accessor methods.
 9  * Immutable class.
 10  */
 11  internal class ZTauElement
 12  {
 13    /**
 14    * The &quot;real&quot; part of <code>&#955;</code>.
 15    */
 16    public readonly BigInteger u;
 17
 18    /**
 19    * The &quot;<code>&#964;</code>-adic&quot; part of <code>&#955;</code>.
 20    */
 21    public readonly BigInteger v;
 22
 23    /**
 24    * Constructor for an element <code>&#955;</code> of
 25    * <code><b>Z</b>[&#964;]</code>.
 26    * @param u The &quot;real&quot; part of <code>&#955;</code>.
 27    * @param v The &quot;<code>&#964;</code>-adic&quot; part of
 28    * <code>&#955;</code>.
 29    */
 030    public ZTauElement(BigInteger u, BigInteger v)
 031    {
 032      this.u = u;
 033      this.v = v;
 034    }
 35  }
 36}