Files
zk-stats-lib/tests/conftest.py
2024-05-10 14:34:04 +07:00

28 lines
430 B
Python

import pytest
import torch
@pytest.fixture
def error() -> float:
return 0.01
@pytest.fixture
def column_0():
return torch.tensor([3.0, 4.5, 1.0, 2.0, 7.5, 6.4, 5.5, 6.4])
@pytest.fixture
def column_1():
return torch.tensor([2.7, 3.3, 1.1, 2.2, 3.8, 8.2, 4.4, 3.8])
@pytest.fixture
def column_2():
return torch.tensor([1.3, 4.3, 1.1, 2.2, 8.8, 7.0, 2.0, 3.3])
@pytest.fixture
def scales():
return [7]