summaryrefslogtreecommitdiff
path: root/tests/db_functions/math
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-0722-250/+268
|
* Refs #33355 -- Added missing tests for database functions and expression on ↵Adam Johnson2021-12-223-0/+6
| | | | null values.
* Fixed #31487 -- Added precision argument to Round().Nick Pope2021-03-291-1/+77
|
* Fixed #32060 -- Added Random database function.Nick Pope2020-10-021-0/+13
|
* Used more specific unittest assertions in tests.Nick Pope2019-10-291-7/+7
| | | | | | | | | | | | * assertIsNone()/assertIsNotNone() instead of comparing to None. * assertLess() for < comparisons. * assertIs() for 'is' expressions. * assertIsInstance() for isinstance() expressions. * rounding of assertAlmostEqual() for round() expressions. * assertIs(..., True/False) instead of comparing to True/False. * assertIs()/assertIsNot() for ==/!= comparisons. * assertNotEqual() for == comparisons. * assertTrue()/assertFalse() instead of comparing to True/False.
* Fixed #30271 -- Added the Sign database function.Nick Pope2019-03-221-0/+53
|
* Simplified test_transform()s in db_functions.math.Mariusz Felisiak2019-03-1416-32/+32
|
* Fixed #29500 -- Fixed SQLite function crashes on null values.Srinivas Reddy Thatiparthy2018-09-1020-0/+116
| | | | | Co-authored-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
* Fixed #29658 -- Registered model lookups in tests with a context manager.Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-08-2116-64/+32
|
* Refs #28643 -- Added math database functions.Junyi Jiao2018-07-0522-0/+969
Thanks Nick Pope for much review.