Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d405a2af
authored
Feb 23, 2016
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base_cpp: removed redundant assignment in test
parent
0456ebc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
base_cpp/test/atomic_test.cc
+0
-4
No files found.
base_cpp/test/atomic_test.cc
View file @
d405a2af
...
@@ -173,10 +173,6 @@ AtomicTest::TestStressSwap::TestStressSwap(
...
@@ -173,10 +173,6 @@ AtomicTest::TestStressSwap::TestStressSwap(
size_t
number_threads
,
size_t
number_iterations
)
size_t
number_threads
,
size_t
number_iterations
)
:
TestUnit
(
"Swap Stress test for Atomics"
),
swap1_counter
(
1
)
:
TestUnit
(
"Swap Stress test for Atomics"
),
swap1_counter
(
1
)
,
swap2_counter
(
2
)
{
,
swap2_counter
(
2
)
{
bitsets
[
0
]
=
std
::
bitset
<
ATOMIC_TESTS_ITERATIONS
*
2
+
1
>
();
bitsets
[
1
]
=
std
::
bitset
<
ATOMIC_TESTS_ITERATIONS
*
2
+
1
>
();
bitsets
[
2
]
=
std
::
bitset
<
ATOMIC_TESTS_ITERATIONS
*
2
+
1
>
();
PT_ASSERT
(
number_threads
==
1
);
PT_ASSERT
(
number_threads
==
1
);
Pre
(
&
TestStressSwap
::
Init
,
this
);
Pre
(
&
TestStressSwap
::
Init
,
this
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment