class_docstr: Test methods for resolution of new dimension
class_docstr_tok: ["Test","methods","for","resolution","of","new","dimension"]
docstr: Verify instantiation of resolution with default value given by user
docstr_tok: ["Verify","instantiation","of","resolution","with","default","value","given","by","user"]
code: def test_init_with_default(
      self, new_dimension_conflict, new_dimension_with_default_conflict
  ):
      """Verify instantiation of resolution with default value given by user"""
      default_value = 1.1
      resolution = new_dimension_conflict.AddDimensionResolution(
          new_dimension_conflict, default_value=default_value
      )
      assert resolution.default_value == default_value
  
      assert (
          new_dimension_with_default_conflict.dimension.default_value
          != default_value
      )
      resolution = new_dimension_conflict.AddDimensionResolution(
          new_dimension_with_default_conflict,
          default_value=default_value,
      )
      assert resolution.default_value == default_value
  
imports: import pytest
  from orion.algo.space import Dimension
  from orion.core.evc import adapters, conflicts
  from orion.testing.evc import add_default_config_for_missing
label_desc: Use image node_id 3 for calling the TestAddDimensionResolution obj's underlying member method code with example usage: obj.test_init_with_default(new_dimension_conflict, new_dimension_with_default_conflict) without return types