Stefan Brüns
271abecb53
Test: Provide more useful information when unit translation fails
...
Add the input quantity and the target scheme to the exception output.
Also make the output formatting more canonical and remove the unused
"s" temporary.
2022-03-06 11:20:09 -05:00
wmayer
91c0895e26
Test: add unit tests for FreeCAD.Units.toNumber
2022-02-06 12:48:39 +01:00
wmayer
7330799155
Test: fix exception handling in tests for units
2022-01-25 20:20:46 +01:00
wmayer
fb84f715fa
Base: extend Python wrapper to allow to create a quantity with Units.Quantity(1, 'm') and add a unit test
2022-01-21 14:57:49 +01:00
Bernd Hahnebach
70c5505a75
Test: remove not needed u before py3 unicode string
2021-09-22 08:07:47 +02:00
Przemo Firszt
d008d44a34
[UnitTest] Fix UnitTests - use utf-8
...
On some systems there is a problem with utf-8 during testing. This
commit is trying to address it. Tested only on ubuntu 20.04
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2021-09-22 08:07:38 +02:00
luz paz
31c0099a59
Test: Fix header uniformity, whitespace, doxygen headers
2020-11-18 08:58:06 +01:00
wmayer
f1cd9c05f8
Test: [skip ci] add new tests for quantities
2019-12-19 13:31:12 +01:00
wmayer
2af5a983a2
unit test for / operator of Quantity
2018-10-27 15:58:40 +02:00
wmayer
404b42d0a6
unit tests of Arch and Draft require GUI, improve output of units tests
2018-08-28 19:39:34 +02:00
wmayer
03af975134
fix failing unit tests by using adaptive delte value
2018-04-02 14:04:32 +02:00
wmayer
e589c04662
add unit tests for psi and ksi
2018-03-31 15:43:45 +02:00
wmayer
7ab8a9996d
fixes #0003137 : Unit UserString wrong
2017-07-24 16:52:03 +02:00
Przemo Firszt
bc442592d2
Tests, Units: Add Density test
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-07-31 14:04:14 -03:00
Przemo Firszt
f808f03302
Tests, Units: Fix formatting
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-07-31 14:04:14 -03:00
wmayer
75e5d5f3ac
+ Fix broken unit tests
2014-02-25 15:24:10 +01:00
jriegel
3a3afa0783
Switching the UnitsApi to the new Quantity system
2013-12-03 19:03:08 +01:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00