File: fp64_test.go

package info (click to toggle)
golang-github-cloudflare-circl 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 18,060 kB
  • sloc: asm: 20,492; ansic: 1,292; makefile: 68
file content (21 lines) | stat: -rw-r--r-- 464 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated from ./templates/field_test.go.tmpl. DO NOT EDIT.

package arith

import (
	"testing"

	"github.com/cloudflare/circl/vdaf/prio3/arith/fp64"
)

func TestFp64(t *testing.T) {
	t.Run("Fp", testFp[fp64.Fp])
	t.Run("Vec", testVec[fp64.Vec])
	t.Run("Poly", testPoly[fp64.Poly, fp64.Vec])
}

func BenchmarkFp64(b *testing.B) {
	b.Run("Fp", benchmarkFp[fp64.Fp])
	b.Run("Vec", benchmarkVec[fp64.Vec])
	b.Run("Poly", benchmarkPoly[fp64.Poly, fp64.Vec])
}