From decc6043c24cd4e0e36c284fda76714092534ebf Mon Sep 17 00:00:00 2001 From: Gregory Date: Fri, 24 Jan 2020 09:46:48 +0400 Subject: [PATCH] Better russian language (#37541) --- ...compare-the-properties-of-two-elements.russian.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/curriculum/challenges/russian/06-information-security-and-quality-assurance/quality-assurance-and-testing-with-chai/compare-the-properties-of-two-elements.russian.md b/curriculum/challenges/russian/06-information-security-and-quality-assurance/quality-assurance-and-testing-with-chai/compare-the-properties-of-two-elements.russian.md index f449091c82..92d3a5ab83 100644 --- a/curriculum/challenges/russian/06-information-security-and-quality-assurance/quality-assurance-and-testing-with-chai/compare-the-properties-of-two-elements.russian.md +++ b/curriculum/challenges/russian/06-information-security-and-quality-assurance/quality-assurance-and-testing-with-chai/compare-the-properties-of-two-elements.russian.md @@ -13,7 +13,7 @@ localeTitle: Сравните свойства двух элементов ## Instructions
-Use assert.isAbove()(i.e. greater) or assert.isAtMost() (i.e. less than or equal) to make the tests pass. +Используйте assert.isAbove()(т.е. больше) или assert.isAtMost() (т.е. меньше или равно), чтобы пройти тесты.
## Tests @@ -21,15 +21,15 @@ Use assert.isAbove()(i.e. greater) or assert.isAtMost() $.get(getUserInput('url') + '/_api/get-tests?type=unit&n=7').then(data => {assert.equal(data.state,'passed'); }, xhr => { throw new Error(xhr.responseText); }) - - text: Choose the right assertion - isAbove vs. isAtMost + - text: Выберите правильный оператор - isAbove или isAtMost testString: getUserInput => $.get(getUserInput('url') + '/_api/get-tests?type=unit&n=7').then(data => { assert.equal(data.assertions[0].method, 'isAtMost', '5 is at most (<=) 5'); }, xhr => { throw new Error(xhr.responseText); }) - - text: Choose the right assertion - isAbove vs. isAtMost + - text: Выберите правильный оператор - isAbove или isAtMost testString: getUserInput => $.get(getUserInput('url') + '/_api/get-tests?type=unit&n=7').then(data => { assert.equal(data.assertions[1].method, 'isAbove', '1 is greater than 0'); }, xhr => { throw new Error(xhr.responseText); }) - - text: Choose the right assertion - isAbove vs. isAtMost + - text: Выберите правильный оператор - isAbove или isAtMost testString: getUserInput => $.get(getUserInput('url') + '/_api/get-tests?type=unit&n=7').then(data => { assert.equal(data.assertions[2].method, 'isAbove', 'Math.PI = 3.14159265 is greater than 3'); }, xhr => { throw new Error(xhr.responseText); }) - - text: Choose the right assertion - isAbove vs. isAtMost + - text: Выберите правильный оператор - isAbove или isAtMost testString: getUserInput => $.get(getUserInput('url') + '/_api/get-tests?type=unit&n=7').then(data => { assert.equal(data.assertions[3].method, 'isAtMost', '1 - Math.random() is > 0 and <= 1. It is atMost 1 !'); }, xhr => { throw new Error(xhr.responseText); }) ```