Skip to content

Commit 3c16f84

Browse files
committed
Revert accidentally submitted test changes.
1 parent 9508653 commit 3c16f84

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/main.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,13 @@ TestInfo g_tests[] =
3434
ADD_TEST(testDiningPhilosophers)
3535
};
3636

37-
#include "bitfield.h"
38-
BEGIN_BITFIELD_TYPE(Status, uint32_t)
39-
ADD_BITFIELD_ARRAY(philos, 0, 4, 8)
40-
END_BITFIELD_TYPE()
41-
42-
__declspec(noinline) void foo(Status& s, int index)
43-
{
44-
s.philos[index] = 7;
45-
}
46-
4737
//---------------------------------------------------------
4838
// main
4939
//---------------------------------------------------------
5040
int main()
5141
{
5242
bool allTestsPassed = true;
5343

54-
Status s;
55-
foo(s, 5);
56-
std::cout << Status().philos.maximum() << std::endl;
57-
5844
for (const TestInfo& test : g_tests)
5945
{
6046
std::cout << "Running " << test.name << "...";

0 commit comments

Comments
 (0)