", "中文", "用中文优化下这段文字,不要带片名。如果是其他语言请翻译成中文。如果内容有带网址请删除。" )] public void TranslationVcntrshans(string text, string source, string expected) { var result = Translation.TrancVcntrshans(text, source); Assert.Equal(expected, result); } [Theory()] [InlineData( "Was ich hier mache", "德文", "Ich mache hier." )] [InlineData( "Was ich hier mache风格", "德文", "Ich mache hier风格." )] [InlineData( "我会多少种语言不会", "中文", "我会多少中文语言不会." )] public void TranslationJans(string text, string source, string expected) { var result = Translation.TrancJans(text, source); Assert.Equal(expected, result); } [Theory()] [InlineData( "お疲れ様", "日文", "お疲れ様" )] public void TranslationNjans(string text, string source, string expected) { var result = Translation.TrancNjans(text,source); Assert.Equal(expected, result); } }}
免責聲明:若本站收錄的資源侵犯了您的權益,我們會及時刪除侵權內容,謝謝合作!