Question about /src/utils/test #5203
Answered
by
jngrad
xiliangmengqi
asked this question in
Q&A
|
Why do the files under the /src/utils/tests directory, in the test, not import the core part separately, but instead seem very independent?**** |
Answered by
jngrad
Nov 20, 2025
Replies: 2 comments
|
The |
0 replies
Answer selected by
jngrad
|
Thank you and your email.
原始邮件
发件人:Jean-Noël Grad ***@***.***>
发件时间:2025年11月20日 17:08
收件人:espressomd/espresso ***@***.***>
抄送:Wang Penghui ***@***.***>, Author ***@***.***>
主题:Re: [espressomd/espresso] Question about /src/utils/test (Discussion#5203)
The utils module is a dependency of the core module. Making utils tests depend on core could potentially introduce a circular dependency, which would make the build system more difficult to maintain. The same reasoning applies to the other modules, such as shapes and particle_observables.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
utilsmodule is a dependency of thecoremodule. Makingutilstests depend oncorecould potentially introduce a circular dependency, which would make the build system more difficult to maintain. The same reasoning applies to the other modules, such asshapesandparticle_observables.