Exemple #1
0
 def test_coordinate_to_index_invalid(self, coordinate):
     with pytest.raises(ValueError):
         PlateCollection.coordinate_to_index(coordinate)
Exemple #2
0
        def test_coordinate_to_index(self, coordinate, expected):
            result = PlateCollection.coordinate_to_index(coordinate)

            assert result == expected