public void ConvertCustomClass() { CustomClass customClass = new CustomClass("Test", "Category"); string text = PythonPropertyValueAssignment.ToString(customClass); string expectedText = "ICSharpCode.Scripting.Tests.Utils.CustomClass(\"Test\", \"Category\")"; Assert.AreEqual(expectedText, text); }
public void ConvertCustomClass() { CustomClass customClass = new CustomClass("Test", "Category"); string text = RubyPropertyValueAssignment.ToString(customClass); string expectedText = "ICSharpCode::Scripting::Tests::Utils::CustomClass.new(\"Test\", \"Category\")"; Assert.AreEqual(expectedText, text); }