public void NormalizeExternalFormat_WithCorrectLayout_ShouldWork() { //Arrange var positionHelper = new PositionHelper(); const string TestPosition = @" yyy yyy yyy bbb rrr ggg ooo bbb rrr ggg ooo bbb rrr ggg ooo hhh hhh hhh "; const string Expected = @" yyy yyy yyy bbb rrr ggg ooo bbb rrr ggg ooo bbb rrr ggg ooo hhh hhh hhh "; //Act string actual = positionHelper.NormalizeExternalFormat(TestPosition); //Assert Assert.AreEqual(Expected, actual); }
private static void AssertPositionsAreEqual(string expected, string actual) { var positionHelper = new PositionHelper(); Assert.AreEqual(positionHelper.NormalizeExternalFormat(expected), positionHelper.NormalizeExternalFormat(actual)); }