/
katherinesiv
/
CSharp_Practice6
Обзор
Документация
Войти
/
katherinesiv
/
CSharp_Practice6
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
TestCase.cs
25 строк
993 B
Сиваева Екатерина
create TestCase.cs
16 ноя 2025, 21:11
16 ноя 2025, 21:11
f8f0069
Код
Авторство
О чём код?
[TestCase("text", new[] {"text"})] [TestCase("hello world", new[] {"hello", "world"})] [TestCase("a b", new[] {"a", "b"})] [TestCase("", new string[0])] [TestCase(" ", new string[0])] [TestCase("a b", new[] {"a", "b"})] [TestCase(" a b ", new[] {"a", "b"})] [TestCase("'a b'", new[] {"a b"})] [TestCase("'a' b", new[] {"a", "b"})] [TestCase("'a\\'b'", new[] {"a'b"})] [TestCase("\"a\\\"b\"", new[] {"a\"b"})] [TestCase("'a", new[] {"a"})] [TestCase("''", new[] {""})] [TestCase("a 'b'", new[] {"a", "b"})] [TestCase("'a\\\\'", new[] {"a\\"})] [TestCase("'a\\\\b'", new[] {"a\\b"})] [TestCase("\"a'b\"", new[] {"a'b"})] [TestCase("'a\"b'", new[] {"a\"b"})] [TestCase("ab", new[] {"ab"})] [TestCase("a'b", new[] {"a", "b"})] [TestCase("'a ", new[] {"a "})] public static void RunTests(string input, string[] expectedOutput) { Test(input, expectedOutput); }