#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
816 B

// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/>
// <version>$Revision$</version>
// </file>
using System;
using ICSharpCode.PythonBinding;
using ICSharpCode.SharpDevelop.Dom;
using NUnit.Framework;
namespace PythonBinding.Tests.Expressions
{
[TestFixture]
public class FindExpressionOnLineWithSingleSpaceTestFixture
{
ExpressionResult result;
[SetUp]
public void Init()
{
string text = " ";
PythonExpressionFinder expressionFinder = new PythonExpressionFinder();
result = expressionFinder.FindExpression(text, 1);
}
[Test]
public void ExpressionResultExpressionIsEmptyString()
{
Assert.AreEqual(String.Empty, result.Expression);
}
}
}