MCPcopy Create free account
hub / github.com/MetaMask/torus-node / TestLagrangeInterpolatePolynomial

Function TestLagrangeInterpolatePolynomial

pvss/pvss_test.go:202–238  ·  view source on GitHub ↗

func TestLarangeInterpolationNormalNumbers(test *testing.T) { // polyCoeff := make([]big.Int, 3) // polyCoeff[0] = *new(big.Int).SetInt64(int64(0)) // polyCoeff[1] = *new(big.Int).SetInt64(int64(1)) // polyCoeff[2] = *new(big.Int).SetInt64(int64(1)) // poly := pcmn.PrimaryPolynomial{polyCoeff,

(test *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

createRandomNodesFunction · 0.85
RandomBigIntFunction · 0.85
CreateAndPrepareSharesFunction · 0.85
UnsigncryptShareFunction · 0.85
LagrangeScalarFunction · 0.85

Tested by

no test coverage detected