mirror of
https://github.com/luxfi/fhe.git
synced 2026-09-24 00:27:17 +00:00
Add complete test coverage for FHE package: - evm_types_test.go: All EVM types (ebool → euint256) with big.Int - testutil_test.go: Shared test utilities (testContext struct) - pure_go_test.go: CGO_ENABLED=0 mode verification - gpu_test.go: CGO_ENABLED=1 mode with serialization tests - CHANGELOG.md: Track changes in semver format Test coverage includes: - Arithmetic: Add, Sub, Mul for all integer widths - Comparison: Eq, Lt, Le, Gt, Ge - Bitwise: And, Or, Xor, Not, Shl, Shr - Operations: Min, Max, Select, Neg - Memory management and benchmarks Two serialization tests skipped with TODO(fhe#2) for pre-existing bugs.
22 lines
577 B
AMPL
22 lines
577 B
AMPL
module github.com/luxfi/fhe
|
|
|
|
go 1.25.5
|
|
|
|
require (
|
|
github.com/luxfi/lattice/v6 v6.1.2
|
|
github.com/luxfi/mlx v0.29.4
|
|
github.com/stretchr/testify v1.10.0
|
|
)
|
|
|
|
require (
|
|
github.com/ALTree/bigfloat v0.2.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/google/go-cmp v0.7.0 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
golang.org/x/crypto v0.35.0 // indirect
|
|
golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 // indirect
|
|
golang.org/x/sys v0.33.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|