Commit graph

55 commits

Author SHA1 Message Date
marauder2k7 2ed9fbb6ff Update mathMatrixTest.cpp 2024-08-01 05:07:54 +01:00
marauder2k7 b72b7882c2 unit test improved precision
change matrix unit tests to use POINT_EPSILON macro for testing precision
remove old matrix test class, was not used anyway
2024-08-01 05:04:13 +01:00
marauder2k7 165a2bea01 fix
fix invertTo function
unitTest to make sure matrix calling invertTo does not get changed.
reimplemented gauss jordan.
2024-07-31 18:52:18 +01:00
marauder2k7 ab4b4cbf96 cramer for inverse
added #if block around inverse methods to track down shadow bug

uses old inverse method as default for now.
2024-07-31 17:32:00 +01:00
marauder2k7 4078f3ad4e inverse fixes
further tests showed issues with inverse function, now to better match what was originally happening, the inverse only happens on the 3x3 portion of the matrix and translation is handled separately.

Frustum test now uses more real world examples of a projection matrix. Test for the full unproject stack of math to test its result as unproject was where the issue about inverse originated
2024-07-30 17:54:16 +01:00
marauder2k7 f96e044d89 unit tests and fixes
implemented the rest of the tests
euler single dimension angle tests now pass, missed 1.0f in z
2024-07-30 13:00:32 +01:00
marauder2k7 d03851958d more fixes
more unit tests revealed more discrepancies fixes applied.
2024-07-30 08:30:42 +01:00
marauder2k7 a5de2d9add tests
added more unit tests to match values between templated and matrix

tests showed discrepancies in affineInverse, fixed the function to return what is expected.
2024-07-30 07:20:57 +01:00
marauder2k7 5883e3d45b Update mathMatrixTest.cpp
test box multiplication
test transformPlane
2024-07-29 22:46:16 +01:00
marauder2k7 8c19f6d8ca inverse function
fixed inverse function, was not returning correctly.
2024-07-29 21:50:33 +01:00
marauder2k7 fc058aaa5c Update mathMatrixTest.cpp
change mul tests to use more real world examples
2024-07-29 20:45:30 +01:00
marauder2k7 409f523dc3 Update mathMatrixTest.cpp
more tests that match between template and matrixf
2024-07-29 20:01:39 +01:00
marauder2k7 f77ff37e08 Create mathMatrixTest.cpp
committed tests for matrix class
so far all tests are matching between templated and stock matrixf class
2024-07-29 19:24:33 +01:00
marauder2k7 e0c80ac909 fix for the fix because original fix did jack 2024-03-15 22:59:27 +00:00
Brian Roberts 2fe2e7925e
Merge pull request #1212 from Azaezel/alpah41/UnitTestTrouble
supress concurent threadsafedeque test as invalid
2024-02-10 10:48:39 -06:00
AzaezelX 0ccb27b7ad supress concurent threadsafedeque test as invalid
it's never actually used like that in practice, and while the cornercase reminder is useful, it's activetly causing overlooks for practical problems
2024-02-10 10:16:23 -06:00
marauder2k7 4b2abd4828 Merge remote-tracking branch 'upstream/development' into ThreadSafeDeque 2024-02-10 03:20:59 +00:00
marauder2k7 ae8a2a74f7 Update threadSafeDequeTest.cpp
change value to 50
2024-02-07 17:25:48 +00:00
James Urquhart 45898694e4 Reimplement FrameAllocator and FrameTemp; Tidy up DataChunker header.
- Also additional work on tests to reflect watermark behavior change
2024-02-06 02:35:16 +00:00
James Urquhart 7332dd6643 Add tests for FrameAllocator and DataChunker 2024-02-05 22:53:09 +00:00
Jeff Hutchinson 0d743c8bb9 TScript Bugfix
If the statement is a terminating statement on slot assignment (such as %var[%i]++;), the stack has to be popped everytime slot arrays are used regardless of the expression type.
2024-01-30 18:24:48 -05:00
James Urquhart 6605ddc66a Improve ray intersection tests 2023-09-26 12:03:51 -05:00
James Urquhart d278aab929 Improve SceneContainer testing code 2023-09-26 12:03:51 -05:00
jamesu@gmail.com 32a5644d2e Add preliminary testing code for SceneContainer util classes 2023-09-26 12:03:51 -05:00
Lukas Aldershaab c6047b24eb Fix foreach over non-existant objects 2023-09-24 14:36:56 -05:00
Lukas Aldershaab 09befb1e3b Cleanup includes 2023-09-17 00:35:03 +02:00
Lukas Aldershaab 7c46789a9e Add assertions around registerObjects 2023-09-17 00:30:40 +02:00
Lukas Aldershaab 24f8e6ff87 Update InspectorField test name 2023-09-17 00:28:23 +02:00
Lukas Aldershaab 6de2b455c4 Fix evaluatef argument handling and add regression test 2023-09-17 00:22:44 +02:00
Lukas Aldershaab ff03c43b03 Cleanup after datablock tests 2023-09-16 23:34:48 +02:00
Lukas Aldershaab e7d17e5453 Fix error in DB substitution logic and add regressiontest 2023-09-16 23:29:13 +02:00
Lukas Aldershaab 89b0c7f73b Console Refactor 2023-09-13 10:33:20 +02:00
marauder2k7 f86f947f70 Update unitTesting.cpp
Return 0
2023-07-27 21:46:07 +01:00
marauder2k7 5427e941ce UnitTest
Change unit tests to run without script
runTests now just holds a purely script test example
Test Explorer in VS now works with tests
NB do not use test explorer on purely script based tests.
2023-07-27 21:02:27 +01:00
marauder2k7 37dd2fe349 Update unitTesting.cpp 2023-07-26 16:00:03 +01:00
marauder2k7 434c7f7ea2 test report
-check to see if emojis are messing with triggering the test reporters
-remove success spam from unit test output
2023-07-26 15:49:58 +01:00
marauder2k7 3ba845cd6f test report file
-fix test report file path
2023-07-26 10:36:58 +01:00
marauder2k7 f2292a6a1f missed define 2023-07-25 13:30:53 +01:00
marauder2k7 564d48e95f fix for windows
Windows segfault was only appearing after changes to windowManagerTest, either that or because linux was failing first it wasn't giving windows a chance to fail. see if this works.
2023-07-25 13:29:22 +01:00
marauder2k7 0636ba5765 Update windowManagerTest.cpp
test to see if segfault triggers at this point in testing
2023-07-25 07:26:37 +01:00
marauder2k7 2ef93acac6 define TORQUE_TESTS_ENABLED 2023-07-24 13:47:22 +01:00
marauder2k7 c09f79d199 separate testing environment
-Separate main for running unit tests
-Move unit tests into testing folder
2023-07-24 12:38:36 +01:00
Lukas Aldershaab 1d28ddf734 Cleanup and improve 2023-04-06 15:28:09 +02:00
Azaezel a7fc407284 corrects a pair of conversions. one object oriented, one not. 2018-12-12 14:52:14 -06:00
Glenn Smith d9a723d533 More cats and cpys in files that xcode doesn't see 2018-03-07 01:13:56 -05:00
Daniel Buckmaster fae1bad96c All unit tests that run now pass. 2014-09-29 11:38:44 +10:00
Daniel Buckmaster d02cc94edd Allow test runs to be non-verbose. 2014-09-29 11:38:34 +10:00
Daniel Buckmaster 85a0c1c59f Allow test flags to be specified, so we don't need TEST_STRESS. 2014-08-02 10:21:28 +10:00
Daniel Buckmaster 867997f398 Allow stress tests to be quarantined. 2014-08-01 15:00:57 +10:00
Daniel Buckmaster ad0899ae27 Capitalisation, which actually doesn't matter. 2014-07-15 12:25:06 +02:00