/gem5/src/systemc/tests/systemc/misc/synth/wait_until/test15/ |
H A D | define.h | 47 #define test_value(actual, expected) \ 48 wait (); if (expected != actual) \ 49 cout << "Mismatch. Expected: " << expected \ 52 #define test_value_now(actual, expected) \ 53 if (expected != actual) cout << "Mismatch. Expected: " << expected \
|
/gem5/src/systemc/tests/systemc/misc/synth/wait_until/test16/ |
H A D | define.h | 47 #define test_value(actual, expected) \ 48 wait (); if (expected != actual) \ 49 cout << "Mismatch. Expected: " << expected \ 52 #define test_value_now(actual, expected) \ 53 if (expected != actual) cout << "Mismatch. Expected: " << expected \
|
/gem5/src/systemc/tests/systemc/misc/synth/wait_until/test17/ |
H A D | define.h | 47 #define test_value(actual, expected) \ 48 wait (); if (expected != actual) \ 49 cout << "Mismatch. Expected: " << expected \ 52 #define test_value_now(actual, expected) \ 53 if (expected != actual) cout << "Mismatch. Expected: " << expected \
|
/gem5/src/systemc/tests/systemc/misc/synth/inlining/test1/ |
H A D | define.h | 46 #define test_value(actual, expected) \ 47 wait (TEST_TIME); if (expected != actual) \ 48 cout << "Mismatch. Expected: " << expected \ 51 #define test_value_now(actual, expected) \ 52 if (expected != actual) cout << "Mismatch. Expected: " << expected \
|
/gem5/src/systemc/tests/systemc/misc/synth/inlining/test2/ |
H A D | define.h | 46 #define test_value(actual, expected) \ 47 wait (TEST_TIME); if (expected != actual) \ 48 cout << "Mismatch. Expected: " << expected \ 51 #define test_value_now(actual, expected) \ 52 if (expected != actual) cout << "Mismatch. Expected: " << expected \
|
/gem5/src/systemc/tests/systemc/misc/synth/inlining/test3/ |
H A D | define.h | 46 #define test_value(actual, expected) \ 47 wait (TEST_TIME); if (expected != actual) \ 48 cout << "Mismatch. Expected: " << expected \ 51 #define test_value_now(actual, expected) \ 52 if (expected != actual) cout << "Mismatch. Expected: " << expected \
|
/gem5/src/systemc/tests/systemc/misc/synth/inlining/test4/ |
H A D | define.h | 46 #define test_value(actual, expected) \ 47 wait (TEST_TIME); if (expected != actual) \ 48 cout << "Mismatch. Expected: " << expected \ 51 #define test_value_now(actual, expected) \ 52 if (expected != actual) cout << "Mismatch. Expected: " << expected \
|
/gem5/src/systemc/tests/systemc/misc/synth/inlining/test5/ |
H A D | define.h | 46 #define test_value(actual, expected) \ 47 wait (TEST_TIME); if (expected != actual) \ 48 cout << "Mismatch. Expected: " << expected \ 51 #define test_value_now(actual, expected) \ 52 if (expected != actual) cout << "Mismatch. Expected: " << expected \
|
/gem5/src/systemc/tests/systemc/misc/synth/inlining/test6/ |
H A D | define.h | 46 #define test_value(actual, expected) \ 47 wait (TEST_TIME); if (expected != actual) \ 48 cout << "Mismatch. Expected: " << expected \ 51 #define test_value_now(actual, expected) \ 52 if (expected != actual) cout << "Mismatch. Expected: " << expected \
|
/gem5/src/systemc/tests/systemc/misc/synth/wait_until/test01/ |
H A D | define.h | 46 #define test_value(actual, expected) \ 47 wait (TEST_TIME); if (expected != actual) \ 48 cout << "Mismatch. Expected: " << expected \ 51 #define test_value_now(actual, expected) \ 52 if (expected != actual) cout << "Mismatch. Expected: " << expected \
|
/gem5/src/systemc/tests/systemc/datatypes/int/misc/test02/ |
H A D | test02.cpp | 64 unsigned long long expected; local 98 expected = j; 99 expected = expected << i; 100 sprintf(buffer, "0Xus%llx", expected); 101 TEST(buffer, expected); 102 TESTs64(buffer, expected); 103 TESTu64(buffer, expected); 104 sprintf(buffer, "0ous%llo", expected); 105 TEST(buffer, expected); [all...] |
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_uninitialized_test.py | 47 def AssertEq(expected, actual): 48 if expected != actual: 49 print('Expected: %s' % (expected,))
|
H A D | gtest_repeat_test.cc | 63 #define GTEST_CHECK_INT_EQ_(expected, actual) \ 65 const int expected_val = (expected);\ 70 << "Expected: " #expected "\n"\ 152 // Checks that the count for each test is expected. 153 void CheckCounts(int expected) { argument 154 GTEST_CHECK_INT_EQ_(expected, g_environment_set_up_count); 155 GTEST_CHECK_INT_EQ_(expected, g_environment_tear_down_count); 156 GTEST_CHECK_INT_EQ_(expected, g_should_fail_count); 157 GTEST_CHECK_INT_EQ_(expected, g_should_pass_count); 158 GTEST_CHECK_INT_EQ_(expected, g_death_test_coun [all...] |
H A D | gtest_env_var_test.py | 48 def AssertEq(expected, actual): 49 if expected != actual: 50 print('Expected: %s' % (expected,))
|
H A D | gtest_xml_outfiles_test.py | 118 expected = minidom.parseString(expected_xml) 124 self.AssertEquivalentNodes(expected.documentElement, 126 expected.unlink()
|
H A D | gtest_xml_output_unittest.py | 163 tests that the XML output is expected. 171 tests that the XML output is expected. 185 # parse the expected datetime manually. 203 Confirms that Google Test produces an XML output file with the expected 248 'the expected exit code %s.' 282 'the expected exit code %s.' 298 expected = minidom.parseString(expected_xml) 300 self.AssertEquivalentNodes(expected.documentElement, 302 expected.unlink()
|
/gem5/ext/googletest/googlemock/scripts/generator/cpp/ |
H A D | gmock_class_test.py | 340 expected = """\ 354 expected, self.GenerateMocks(source)) 363 expected = """\ 371 expected, self.GenerateMocks(source)) 381 expected = """\ 389 expected, self.GenerateMocks(source)) 399 expected = """\ 408 expected, self.GenerateMocks(source)) 418 expected = """\ 426 expected, sel [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_kwargs_and_defaults.py | 116 expected = refcount(myval) 117 assert m.arg_refcount_h(myval) == expected 118 assert m.arg_refcount_o(myval) == expected + 1 119 assert m.arg_refcount_h(myval) == expected 120 assert refcount(myval) == expected 123 assert refcount(myval) == expected 126 assert refcount(myval) == expected 129 assert refcount(myval) == expected 132 assert refcount(myval) == expected 136 assert refcount(myval) == expected [all...] |
H A D | test_sequences_and_iterators.py | 75 expected = [0, 56.78, 0, 0, 12.34] 76 assert allclose(rev, expected) 77 assert allclose(rev2, expected) 114 expected = {'hi': 'bye', 'black': 'white', 'orange': 'banana'} 116 assert sm[k] == expected[k] 118 assert v == expected[k]
|
H A D | test_pytypes.py | 174 expected = {t.__name__: t() for t in types} 175 assert m.default_constructors() == expected 189 expected = {k.__name__: k(v) for k, v in data.items()} 191 assert m.converting_constructors(inputs) == expected 192 assert m.cast_functions(inputs) == expected 196 noconv1 = m.converting_constructors(expected) 198 assert noconv1[k] is expected[k] 200 noconv2 = m.cast_functions(expected) 202 assert noconv2[k] is expected[k]
|
/gem5/src/base/ |
H A D | fiber.test.cc | 51 /** This test is checking if the "started" member has its expected 95 std::vector<SwitchingFiber *> expected({ 109 ASSERT_NE(expectedIt, expected.end()); 126 expectedIt = expected.begin(); 129 EXPECT_EQ(expectedIt - expected.begin(), 4); 132 EXPECT_EQ(expectedIt - expected.begin(), 9); 135 EXPECT_EQ(expectedIt - expected.begin(), 10); 142 EXPECT_EQ(expected.end(), expectedIt) << 143 "Didn't exactly use up the expected Fiber sequence";
|
H A D | coroutine.test.cc | 97 for (const auto expected : expected_values) { 99 ASSERT_EQ(argument, expected); 133 for (const auto expected : expected_values) { 135 ASSERT_EQ(returned, expected); 171 for (const auto expected : expected_values) { 174 ASSERT_EQ(returned, expected); 191 const std::string expected("Hello World!"); 211 ASSERT_EQ(result, expected); 223 const std::string expected("Inner + Outer"); 249 ASSERT_EQ(result, expected); [all...] |
/gem5/tests/test-progs/insttest/src/riscv/ |
H A D | insttest.h | 63 expect(const T& expected, std::function<T()> func, argument 70 if (result == expected) { 73 cout << "\033[1;31mFAIL\033[0m (expected " << expected << "; found " <<
|
/gem5/src/systemc/tests/systemc/datatypes/misc/concat/test12/ |
H A D | test12.cpp | 45 expected = TARGET(high,low); \ 47 if ( result != expected ) \ 52 cout << "Expected " << hex << expected << " got " << result \ 106 sc_uint<64> expected; local
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64si/ |
H A D | scall.S | 29 # This is the expected trap code.
|