Searched refs:expected (Results 51 - 75 of 86) sorted by relevance

1234

/gem5/src/systemc/tests/systemc/misc/synth/wait_until/test15/
H A Ddefine.h47 #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 Ddefine.h47 #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 Ddefine.h47 #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 Ddefine.h46 #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 Ddefine.h46 #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 Ddefine.h46 #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 Ddefine.h46 #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 Ddefine.h46 #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 Ddefine.h46 #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 Ddefine.h46 #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 Dtest02.cpp64 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 Dgtest_uninitialized_test.py47 def AssertEq(expected, actual):
48 if expected != actual:
49 print('Expected: %s' % (expected,))
H A Dgtest_repeat_test.cc63 #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 Dgtest_env_var_test.py48 def AssertEq(expected, actual):
49 if expected != actual:
50 print('Expected: %s' % (expected,))
H A Dgtest_xml_outfiles_test.py118 expected = minidom.parseString(expected_xml)
124 self.AssertEquivalentNodes(expected.documentElement,
126 expected.unlink()
H A Dgtest_xml_output_unittest.py163 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 Dgmock_class_test.py340 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 Dtest_kwargs_and_defaults.py116 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 Dtest_sequences_and_iterators.py75 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 Dtest_pytypes.py174 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 Dfiber.test.cc51 /** 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 Dcoroutine.test.cc97 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 Dinsttest.h63 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 Dtest12.cpp45 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 Dscall.S29 # This is the expected trap code.

Completed in 22 milliseconds

1234