From 0e2d05788a97b1ff803790eb08f7c128ea647824 Mon Sep 17 00:00:00 2001 From: Dexoron Date: Mon, 6 Jul 2026 15:02:04 +0800 Subject: [PATCH] New translations test-framework.mdx (Russian) [ci skip] --- .../ru-RU/docs/testing/test-framework.mdx.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs-crowdin-export/ru-RU/docs/testing/test-framework.mdx.mdx b/docs-crowdin-export/ru-RU/docs/testing/test-framework.mdx.mdx index c1f0a6a..08f1581 100644 --- a/docs-crowdin-export/ru-RU/docs/testing/test-framework.mdx.mdx +++ b/docs-crowdin-export/ru-RU/docs/testing/test-framework.mdx.mdx @@ -25,12 +25,12 @@ EXPECT(ptr != NULL, "ptr should not be NULL"); SKIP("not implemented on Windows yet"); ``` -### `TEST(name)` +### `TEST(имя)` Определяет тест. ```c -TEST(addition) { +TEST(сложение) { EXPECT(1 + 1 == 2); EXPECT(2 + 2 == 4); } @@ -38,7 +38,7 @@ TEST(addition) { ### `TEST_CASE(name, ...)` -Registers a test case. +Регистрирует тестовый случай. ```c TEST_CASE(math, a, b) { @@ -66,4 +66,4 @@ tests/ └── ... # дополнительные .c файлы с тестами ``` -Only `.c` files are compiled (`.cpp` is not supported). +Компилируются только файлы с расширением `.c` (файлы с расширением `.cpp` не поддерживаются).