public void GenerateTextEmpty() { var image = new An8Image(); var text = image.GenerateText(); string expected = @"image { name { """" } """" size { 0 0 } } "; Assert.Equal( expected.Replace("\r\n", "\n"), text.Replace("\r\n", "\n")); }
public void GenerateTextSize() { var image = new An8Image(); image.Width = 2; image.Height = 3; var text = image.GenerateText(); string expected = @"image { name { """" } """" size { 2 3 } } "; Assert.Equal( expected.Replace("\r\n", "\n"), text.Replace("\r\n", "\n")); }