Chris Hennes
dd4a477dce
Merge pull request #22788 from pieterhijma/fix-func-expr-simplify
...
Core: Fix expression function simplify
2025-08-12 11:07:44 -05:00
Frank David Martínez M
d4c38502d8
[Core] Add Boolean Functions to expressions (AND, OR, NOT) ( #22506 )
...
* [Core] Add Boolean Functions to expressions (AND, OR, BOOL, NOT)
* [Core] Add `if` function to expressions to overcome ternary operator limitations
* [Core] Update expressions grammar to recognize relational operations as arguments
* [Core] The `if` function has been removed as no consensus was reached regarding its convenience or necessity. Its inclusion was considered potentially confusing or redundant.
* [Core] Make boolean cast based on Confusion threshold.
2025-08-05 03:50:13 +00:00
Pieter Hijma
de17a4a820
Core: Add tests for expression simplify and eval
2025-08-04 16:51:11 +02:00
Chris Hennes
216900bd5d
Tests: Ensure tests use a fixture that inits app
2025-07-23 19:26:14 -05:00
Benjamin Bræstrup Sayoc
8b57e25cb8
Test: Use QStringLiteral
2025-02-10 18:34:57 +01:00
Chris Hennes
c622221c70
Test: Support system GTest, and give warning if no submodule ( #13662 )
2024-06-03 10:40:35 -05:00
farley
789bbeedf6
Core: Fix searching model tree does not work for numbers #12723 ( #13377 )
...
* Fix problem #12723 : Searching model tree does not work for numbers
- Modify ExpressionTokenizer::perform
- Add tests tokenizeCompletion
2024-04-22 10:55:42 -05:00
wmayer
ce59cc0bdc
Tests: add unit tests for all token types defined in ExpressionParser.l
2024-02-21 07:32:14 +01:00
Chris Hennes
950507a498
Revert "Resolve #11825 - no automatic quantity conversion: App::anyToQuantity"
...
This reverts commit c1ef15fbdf5db5aaf2ec86cb44bff237d1966238.
2024-02-12 15:29:15 -06:00
Andrei Pozolotin
71a61cf423
Resolve #11825 - no automatic quantity conversion: App::anyToQuantity
2024-01-11 11:32:18 -06:00
wmayer
910f1e2481
Test: add unit tests for expressions with operator
2023-02-26 09:00:27 +01:00
wmayer
5aabb718b6
Tests: add unit tests for expression tokenizer
2023-02-26 09:00:27 +01:00