File: fp128_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-- 475 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/fp128"
)

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

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