1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using ICSharpCode.NRefactory;
6
using ICSharpCode.RubyBinding;
9
namespace RubyBinding.Tests.Converter
12
/// Tests the CSharpToRubyConverter class.
15
public class EmptyCSharpClassConversionTestFixture
17
string csharp = "class Foo\r\n" +
22
public void ConvertedRubyCode()
24
NRefactoryToRubyConverter converter = new NRefactoryToRubyConverter(SupportedLanguage.CSharp);
25
string Ruby = converter.Convert(csharp);
26
string expectedRuby = "class Foo\r\n" +
29
Assert.AreEqual(expectedRuby, Ruby);