Commit Graph

17 Commits

Author SHA1 Message Date
wmayer
4de5400f75 Test: add unit tests for FreeCAD.Units.toNumber 2022-02-06 12:48:39 +01:00
wmayer
6c29c65013 Test: fix exception handling in tests for units 2022-01-25 20:20:46 +01:00
wmayer
07bb92e004 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
61d95e9c5e Test: remove not needed u before py3 unicode string 2021-09-22 08:07:47 +02:00
Przemo Firszt
5bba8795b8 [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
26636dbbad Test: Fix header uniformity, whitespace, doxygen headers 2020-11-18 08:58:06 +01:00
wmayer
cbaff212eb Test: [skip ci] add new tests for quantities 2019-12-19 13:31:12 +01:00
wmayer
81ec84356f unit test for / operator of Quantity 2018-10-27 15:58:40 +02:00
wmayer
844165c062 unit tests of Arch and Draft require GUI, improve output of units tests 2018-08-28 19:39:34 +02:00
wmayer
32e0f51d04 fix failing unit tests by using adaptive delte value 2018-04-02 14:04:32 +02:00
wmayer
6e0f81ea86 add unit tests for psi and ksi 2018-03-31 15:43:45 +02:00
wmayer
6ae540b053 fixes #0003137: Unit UserString wrong 2017-07-24 16:52:03 +02:00
Przemo Firszt
9e439b7087 Tests, Units: Add Density test
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
Przemo Firszt
2d0c9810e2 Tests, Units: Fix formatting
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
wmayer
f0d8650c3c + Fix broken unit tests 2014-02-25 15:24:10 +01:00
jriegel
87c8d5b022 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