Merge branch 'master' into SplitAttachmentPaths

This commit is contained in:
Jan Böhmer 2025-02-22 17:27:33 +01:00 committed by GitHub
commit 524900c34a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 5821 additions and 1805 deletions

View file

@ -70,6 +70,16 @@ class ParameterDTOTest extends TestCase
'test'
];
//Test ranges
yield [
new ParameterDTO('test', value_min: 1.0, value_max: 2.0, unit: 'kg', symbol: 'm', group: 'test'),
'test',
'1.0..2.0',
'kg',
'm',
'test'
];
//Test ranges with tilde
yield [
new ParameterDTO('test', value_min: -1.0, value_max: 2.0, unit: 'kg', symbol: 'm', group: 'test'),