public void PropertyRangeManagerConstructor() { tlog.Debug(tag, $"PropertyRangeManagerConstructor START"); var testingTarget = new PropertyRangeManager(); Assert.IsNotNull(testingTarget, "Can't create success object PropertyRangeManager."); Assert.IsInstanceOf <PropertyRangeManager>(testingTarget, "Should return PropertyRangeManager instance."); tlog.Debug(tag, $"PropertyRangeManagerConstructor END (OK)"); }
public void PropertyRangeManagerGetPropertyIndexScriptableTypeNotDefault() { tlog.Debug(tag, $"PropertyRangeManagerGetPropertyIndexScriptableTypeNotDefault START"); var testingTarget = new PropertyRangeManager(); Assert.IsNotNull(testingTarget, "Can't create success object PropertyRangeManager."); Assert.IsInstanceOf <PropertyRangeManager>(testingTarget, "Should return PropertyRangeManager instance."); using (Spin spin = new Spin()) { spin.Name = "spin"; var result = testingTarget.GetPropertyIndex(spin.Name, typeof(Spin), (ScriptableProperty.ScriptableType) 1); tlog.Debug(tag, "PropertyIndex : " + result); } tlog.Debug(tag, $"PropertyRangeManagerGetPropertyIndexScriptableTypeNotDefault END (OK)"); }