12345678910111213141516171819 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Xunit;
- namespace XUnity.AutoTranslator.Plugin.Core.Tests
- {
- public class RegexTranslationTests
- {
- [Theory( DisplayName = "Can_Create_Regex" )]
- [InlineData( "r:\"^タイプ([0-90-9]+)$\"", "r:\"Type $1\"" )]
- public void Can_Create_Regex( string key, string value )
- {
- var regex = new RegexTranslation( key, value );
- }
- }
- }
|