lammps/unittest
Richard Berger 9291d2a9d7
Simplify count_words, add trim_and_count_words
The original count_words function (before it was put into utils::) also trimmed
comments. For compatibility this behaviour was retained at first. However, due
to the name the trimming is not immediatly apparent and many times not
wanted.

Therefore, this commit replaces count_words with an implementation that
just does what it says. If a comment should be trimmed there is a
trim_comment function. For convenience, a trim_and_count_words function was
added and is now used where the old behaviour was needed.
2020-06-04 11:13:37 -04:00
..
force-styles add tests for pair style table 2020-06-02 17:12:52 -04:00
formats add LAMMPS copyright header 2020-06-01 19:08:59 -04:00
utils Simplify count_words, add trim_and_count_words 2020-06-04 11:13:37 -04:00
CMakeLists.txt Add unit tests for PotentialFileReader 2020-05-27 13:02:39 -04:00