Commit Graph

58 Commits

Author SHA1 Message Date
f06c4daee0 make format style variable tests unambiguous for rounding issues 2024-12-19 11:09:36 -05:00
804aa4ee85 improve error message 2024-09-16 20:38:50 -04:00
361b8c25c4 use c++11 function to convert strings to numbers 2024-07-30 00:34:12 -04:00
da2bd44b73 modernize and reformat with clang-tidy and clang-format 2024-07-04 11:17:54 -04:00
d75e66dc71 add unit tests for lammps_extract_variable() 2024-06-30 18:32:37 -04:00
371ec2036f support trailing brackets for sort() and rsort() 2024-05-23 01:24:41 -04:00
c95389d58c add unit tests for sort() and rsort() special function 2024-05-22 23:57:13 -04:00
9f88867b37 update parsing of file and atomfile variable files
this allows to handle comments and empty lines everywhere for atomfile
and file variables and in a consistent manner since it used utils functions.
also error messages are improved and more specific.
2024-04-10 03:08:08 -04:00
4a13fe68e0 add tests for new library APIs 2024-01-24 04:47:59 -05:00
64573b7b32 add unit tests for new variable function 2023-11-22 19:47:51 -05:00
e59a665943 add tests for immediate variables 2023-11-17 03:00:16 -05:00
fc365d3d5f Merge branch 'develop' into always-exceptions 2023-06-22 10:53:36 -04:00
4540427e2b add unit tests for is_typelabel() variable function 2023-05-31 08:50:21 -04:00
0facd4cf66 support vector variable definitions with embedded blanks 2023-05-05 01:06:55 -04:00
366b64571d add a few unit tests for static vector style variables 2023-05-04 20:44:46 -04:00
67b6a1de70 fixup broken unit tests 2023-05-04 20:09:57 -04:00
5f4a80d41f remove obsolete unittest code specific to handling the case of lammps exceptions disabled 2023-04-16 12:34:47 -04:00
3c4b0a0c04 expand homepage checker tool to check a few more folders and apply updates 2022-10-24 10:58:39 -04:00
2538929d76 update tests for recent changes and with more death tests. 2022-09-30 15:06:46 -04:00
08acd321f1 add more dedicated tests for format style variables 2022-09-30 09:58:05 -04:00
9b76294d51 add tests for new variable function 2022-09-06 18:56:09 -04:00
75e897b2fe new utility function "utils::expand_type" to convert type labels to numeric strings 2022-09-05 05:45:31 -04:00
bb6ea422b7 avoid global namespace import in header, more consistency 2022-08-28 17:22:26 -04:00
634496b509 consistent naming and style 2022-08-28 17:06:38 -04:00
69b32aef13 Merge remote-tracking branch 'github/develop' into collected-small-changes 2022-08-27 10:12:58 -04:00
b31b20f336 print error if extract_setting() uses unknown setting string. 2022-08-27 07:02:19 -04:00
60b00bfa8f update unit tests for variable command 2022-08-25 05:48:07 -04:00
4ac74a4153 add is_os() special function to the variable command 2022-08-06 21:44:03 -04:00
533a56404a add more unit tests for boolean expressions 2022-06-29 16:45:28 -04:00
793069d8eb update and expand unit tests for if() command boolean evaluation 2022-06-29 12:24:43 -04:00
51c41f09bf recover unit tests for variables 2022-03-28 09:21:25 -04:00
7ee7d0c570 apply clang-format 2022-01-30 17:18:40 -05:00
845ab2dd71 On Windows the Regex matcher for '.' does not match '\n'
Thus we have to use ContainsRegex instead of MatchesRegex
2022-01-29 16:35:30 -05:00
878dd746db reduce warnings and improve portability 2021-12-09 13:55:53 -05:00
b7bf60ea53 use the portable platform::unlink() instead of unlink() 2021-11-03 14:26:50 -04:00
37bfe3d0ce integrate platform sub-namespace into source code and documentation
this updates function calls to functions that have been moved from
the utils namepsace or the Info class to platform::
2021-10-02 16:55:11 -04:00
6bc8da05b9 reformat unittest tree with clang-format 2021-08-23 17:06:30 -04:00
2e6a0112d3 update URLs in some more files 2021-05-24 16:19:37 -04:00
8c50f56548 add unit test for TextFileReader class 2021-04-24 00:31:46 -04:00
a69c5a5cae fix bugs in shell putenv and getenv style variables. add more unit tests. 2021-04-09 20:19:04 -04:00
2dfafe4adb add is_file() special variable function and unit tests for it 2021-04-02 12:07:43 -04:00
20e6174e59 cannot use tokenizer for parse_args() as the search for commata must be away of parenthesis 2021-03-29 21:11:07 -04:00
aaf9aa6d69 Refactoring of more tests 2021-03-29 14:27:42 -04:00
a772c3b7d2 test a few more functions and constants 2021-03-24 21:27:32 -04:00
d04d326413 more tests for expressions and vector style variables 2021-03-24 18:02:30 -04:00
aab51fe70e more coverage of utility functions in Variable class 2021-03-24 16:47:56 -04:00
157698543f add tests for "next" command 2021-03-24 16:47:08 -04:00
407212153f create more variables of different styles 2021-03-24 15:14:58 -04:00
cc54f553e0 complete tests for if command booleans 2021-03-24 14:35:48 -04:00
487c55edf0 simplify and apply clang-format 2021-03-24 11:24:55 -04:00