Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated test_atom_arrangement.py #986

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions test/unit_tests/braket/ahs/test_atom_arrangement.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@

from braket.ahs.analog_hamiltonian_simulation import DiscretizationError
from braket.ahs.atom_arrangement import AtomArrangement, SiteType
from decimal import Decimal
from unittest.mock import Mock

import pytest

from braket.ahs.atom_arrangement import AtomArrangement, SiteType, DiscretizationProperties, DiscretizationError


@pytest.fixture
Expand Down Expand Up @@ -111,3 +117,4 @@ def test_discretize(default_atom_arrangement, position_res, expected_x, expected
def test_invalid_discretization_properties(default_atom_arrangement):
properties = "not-a-valid-discretization-property"
default_atom_arrangement.discretize(properties)