mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-21 01:29:33 +00:00
Merge branch 'master' into SplitAttachmentPaths
This commit is contained in:
commit
524900c34a
55 changed files with 5821 additions and 1805 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue