Commit Graph
607 Commits
Author SHA1 Message Date
Mateusz Pusz dbcbdbcef5 docs: comments cleanup in tests 2023-06-05 19:42:48 +02:00
Mateusz Pusz 7a730fde58 refactor: constant_unit abstraction removed and replaced with regular named_unit 2023-06-05 19:36:22 +02:00
Mateusz Pusz 6364fcdf7e fix: IntermediateDerivedQuantitySpec now also accounts for kind_of 2023-06-05 19:26:53 +02:00
Mateusz Pusz 06e360ea6d refactor(unit test): angle_test renamed to angular_test 2023-06-05 15:14:42 +02:00
Mateusz Pusz 361ff5c3d1 test: international system tests added 2023-06-05 15:06:06 +02:00
Mateusz Pusz a6434e6b60 test: some checks from the old v2_framework example moved to proper unit tests 2023-06-05 11:12:34 +02:00
Mateusz Pusz 0745fd18f3 fix(unit test): BaseQuantitySpec now is proparly qualified with a detail:: namespace 2023-06-05 11:11:10 +02:00
Mateusz Pusz 067076143e fix(unit test): detail namespace applied to BaseDimension concept 2023-06-02 10:57:04 +02:00
Mateusz Pusz 2e759b29be test: fractional_exponent_quantity test added 2023-06-02 10:54:47 +02:00
Mateusz Pusz 03b58ee073 refactor: square and cubic are now functions (not variable templates) 2023-06-01 08:45:41 +02:00
Mateusz Pusz 1a5f22f5c8 test: concepts test added 2023-05-30 12:04:32 +02:00
Mateusz Pusz d13165d9ae test: CGS tests added 2023-05-27 17:26:06 +02:00
Mateusz Pusz 4a93c30593 test: check for inHg and deg_F added to USC tests 2023-05-27 17:24:55 +02:00
Mateusz Pusz fb54781543 build: magnitude_test disabled for now 2023-05-26 18:36:35 +02:00
Mateusz Pusz 6458cd343c ci: pre-commit related changes 2023-05-26 17:05:33 +02:00
Mateusz Pusz 4788aa64be build: linear_algebra test disables as the latest version of the LA lib is broken 2023-05-26 15:56:06 +02:00
Mateusz Pusz 52bbd00ab4 style: clang-format new rules applied to the code base 2023-05-26 14:20:00 +02:00
Mateusz Pusz 561fbf7c93 merge branch master 2023-05-26 13:53:52 +02:00
Mateusz Pusz 7d9ae3ec31 refactor: mp_units subdirectory renamed to mp-units 2023-05-25 12:47:10 +02:00
Mateusz Pusz 68b32533a8 test: many new reference tests added 2023-05-22 20:16:37 +02:00
Mateusz Pusz d04dab7002 test: more quantity_spec tests added 2023-05-22 17:59:37 +02:00
Mateusz Pusz 81eafbf13e refactor: convertible_result renamed to specs_convertible_result 2023-05-16 16:02:10 +02:00
Mateusz Pusz eaca8d073a refactor: convertible_to_result renamed to convertible_result 2023-05-14 12:58:32 +02:00
Mateusz Pusz 1e28c11cfc refactor: convertible_to(U1, U2) renamed to convertible(U1, U2) 2023-05-14 12:43:26 +02:00
Mateusz Pusz 2bb8e4e739 test: quantity tests updated 2023-04-21 15:22:14 +01:00
Mateusz Pusz 11dd023143 docs: comments updated in chrono_test 2023-04-21 15:18:58 +01:00
Mateusz Pusz 546a8a79a9 test: fmt test fixed for radian 2023-04-21 15:03:07 +01:00
Mateusz Pusz 237640cad8 refactor: ratio refactored to use conteval + _ratio_maths.h_ removed 2023-04-21 14:49:51 +01:00
Mateusz Pusz cc3314903d feat: quantity_spec logic implemented 2023-04-21 14:41:33 +01:00
Mateusz Pusz 7ef8193dfc fix: modulo operation logic fixed 2023-04-10 19:46:50 +02:00
Mateusz Pusz c807ba31be feat: quecto, ronto, ronna, quetta prefixed versions of unit symbols added 2023-04-08 19:54:31 +02:00
Mateusz Pusz d65393b4e2 refactor: quantity_spec casts functions renamed 2023-04-08 19:49:51 +02:00
Mateusz Pusz 40f6ae2da7 refactor: quantity refactored + quantity_test updated to reflect and test changes 2023-04-05 17:24:08 +02:00
Mateusz Pusz 1a940399c9 refactor: chrono types now convert to quantity kinds 2023-04-04 14:28:38 +02:00
Mateusz Pusz 54dd8844b7 test: unit_symbol_test updated for a new unicode symbol of standard_gravity_unit 2023-04-03 19:28:51 +02:00
Mateusz Pusz 42a73739eb refactor: angle_test refactored to V2 2023-04-03 19:23:39 +02:00
Mateusz Pusz 660e62c0a6 refactor: chrono_test refactored to V2 2023-04-03 19:23:08 +02:00
Mateusz Pusz 8da791f8ba refactor(unit test): math tests refactored to not use removed constructor 2023-04-03 18:07:10 +02:00
Mateusz Pusz 079e640614 test: linear algebra test refactored to benefit from the latest features 2023-02-14 12:29:45 +01:00
Mateusz Pusz b7628a1752 feat: initial version of quantity_spec conversions implemented 2023-02-14 12:28:34 +01:00
Mateusz Pusz 858b1e625b test: tests for new features added to references test 2023-02-13 19:38:33 +01:00
Mateusz Pusz e353bb3436 refactor(unit test): support for new features added to unit and dimension unit tests 2023-02-13 19:07:16 +01:00
Mateusz Pusz 6d033d72fe fix(unit test): quantity construction switched to a new syntax in unit tests 2023-02-13 19:05:58 +01:00
Mateusz Pusz 9436229ed2 refactor: the rest of the code refactored for new quantity construction way 2023-02-10 17:20:48 -08:00
Mateusz Pusz 83aee04da0 refactor: quantity_io.h renamed to iostream.h 2023-02-03 16:57:48 +01:00
Mateusz Pusz b4f47c3fef feat: value_cast support added
Resolves #239 and #120
2023-02-03 11:08:13 +01:00
Mateusz Pusz cf3408a3c8 refactor: implementation cleanup + support for units as references started 2023-02-02 14:56:29 +01:00
Mateusz Pusz 622b3e3cbd test: unit_symbol() tests moved to a dedicated separate test file 2023-01-28 11:11:07 +01:00
Mateusz Pusz 1b2d77af41 feat: quantities of the same kind can now be added, subtracted, or compared to each other 2023-01-28 11:00:50 +01:00
Mateusz Pusz 9a7a55b873 test: test's text output fixed after unit ordering change 2023-01-05 10:39:23 +01:00