Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 8 of 8) sorted by relevance

/test/xts/acts/kernel_lite/utils/
Dutils.cpp31 int CheckValueClose(double target, double actual, double accuracy) in CheckValueClose() argument
33 double diff = actual - target; in CheckValueClose()
38 if(actual == 0) { in CheckValueClose()
41 pct = diff / actual; in CheckValueClose()
Dutils.h38 int CheckValueClose(double target, double actual, double accuracy = 0.05);
/test/testfwk/developer_test/
DREADME_zh.md140 int actual = Sub(4,0);
143 EXPECT_EQ(4, actual);
217 int actual = Sub(4,0);
220 EXPECT_EQ(4, actual);
DREADME.md251 …Configure device forms based on the actual development board, for example, **developertest/config…
/test/testfwk/arkxtest/jsunit/src/
Dservice.js680 assertThrow: function (actual, args) { argument
684 if (typeof actual !== 'function') {
690 actual();
/test/testfwk/arkxtest/
DREADME_en.md25 | 2 | Assertion library | Provides APIs for checking whether the actual value of a test case is…
83 | 1 | assertClose | Checks whether the proximity between the actual value and the expected …
84 | 2 | assertContain | Checks whether the actual value contains the expected value. …
85 | 3 | assertEqual | Checks whether the actual value is equal to the expected value. …
87 | 5 | assertFalse | Check whether the actual value is **false**. …
88 | 6 | assertTrue | Checks whether the actual value is **true**. …
89 | 7 | assertInstanceOf | Checks whether the actual value is of the type specified by the expecte…
90 | 8 | assertLarger | Checks whether the actual value is greater than the expected value. …
91 | 9 | assertLess | Checks whether the actual value is less than the expected value. …
92 | 10 | assertNull | Checks whether the actual value is null. …
[all …]
/test/xts/dcts/communication/dsoftbus/rpc/src/main/js/test/
DRpcJsunit.test.js272 function assertArrayElementEqual(actual, expected) { argument
273 expect(actual.length).assertEqual(expected.length);
274 for (let i = 0; i < actual.length; i++) {
275 expect(actual[i]).assertEqual(expected[i]);
/test/xts/acts/communication/dsoftbus/rpc/src/main/js/test/
DRpcClientJsunit.test.js772 function assertArrayElementEqual(actual, expected) { argument
773 expect(actual.length).assertEqual(expected.length);
774 for (let i = 0; i < actual.length; i++) {
775 expect(actual[i]).assertEqual(expected[i]);