Ryujinx-SDL/test
Simon McVittie 69f3bb2e34 test: Accept small numerical differences in more mathematical tests
We can't rely on irrational numbers like pi being represented exactly,
particularly when compiling for i386, where the i387 floating-point
interface carries out calculations in registers that have higher
precision than the actual double-precision variable. The 1980s were a
strange time.

Resolves: https://github.com/libsdl-org/SDL/issues/8311
Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit 6248472c0c738496a6f246aafa07a0e30afa6a01)
2024-01-09 06:06:46 -08:00
..
emscripten
n3ds N3DS port (squashed) 2022-10-10 08:50:59 -07:00
nacl
shapes
acinclude.m4 revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 2022-11-07 21:15:30 +03:00
autogen.sh minor tidy-up to configury. 2022-06-15 17:00:02 +03:00
axis.bmp
button.bmp
checkkeys.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
checkkeysthreads.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
CMakeLists.txt cmake: copy sources to binary directory in separate target 2023-11-28 23:03:30 +01:00
configure revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 2022-11-07 21:15:30 +03:00
configure.ac revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 2022-11-07 21:15:30 +03:00
controllermap_back.bmp
controllermap.bmp
controllermap.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
COPYING
icon.bmp
loopwave.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
loopwavequeue.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
Makefile.in Added subsystem refcount tests to testautomation 2023-11-07 08:40:15 -08:00
Makefile.os2 tests: added -DHAVE_SIGNAL_H to CFLAGS in watcom makefiles 2023-03-08 18:56:50 +03:00
Makefile.w32 tests: added -DHAVE_SIGNAL_H to CFLAGS in watcom makefiles 2023-03-08 18:56:50 +03:00
moose.dat
picture.xbm
README testsurround: Add surround sound channel tester 2021-10-30 21:26:03 -07:00
relative_mode.markdown
sample.bmp
sample.wav
template.test.in test: Install GNOME-style installed-tests metadata 2022-05-04 18:17:55 -07:00
testatomic.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testaudiocapture.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testaudiohotplug.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testaudioinfo.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testautomation_audio.c Only initialize audio drivers that have been requested 2024-01-08 13:38:29 -08:00
testautomation_clipboard.c Removed spurious casts 2023-07-03 16:11:02 -07:00
testautomation_events.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
testautomation_guid.c testautomation_guid.c: fix integer warning in 32 bit builds. 2023-05-31 04:50:02 +03:00
testautomation_hints.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
testautomation_joystick.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
testautomation_keyboard.c cmake: fix uses of undefined macro identifiers (-Wundef) 2023-11-17 03:06:26 +00:00
testautomation_main.c Restore the previously initialized subsystems after the Init/Quit test 2024-01-08 14:32:52 -08:00
testautomation_math.c test: Accept small numerical differences in more mathematical tests 2024-01-09 06:06:46 -08:00
testautomation_mouse.c [SDL2] pointer boolean (#8523) 2023-11-10 06:30:56 -08:00
testautomation_pixels.c Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB 2023-11-20 15:50:51 -08:00
testautomation_platform.c Fix compilation / same as sdl2-compat 2023-12-20 22:29:51 +03:00
testautomation_rect.c Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
testautomation_render.c testautomation: only require accelerated renderer with non-dummy video driver 2024-01-08 11:01:06 -08:00
testautomation_rwops.c Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
testautomation_sdltest.c Clang-Tidy fixes (#6725) 2022-12-01 13:08:50 -08:00
testautomation_stdlib.c Verify that the %p format specifier works for 64-bit pointers 2023-12-17 08:15:19 -08:00
testautomation_subsystems.c Added subsystem refcount tests to testautomation 2023-11-07 08:40:15 -08:00
testautomation_suites.h Added subsystem refcount tests to testautomation 2023-11-07 08:40:15 -08:00
testautomation_surface.c Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB 2023-11-20 15:50:51 -08:00
testautomation_syswm.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
testautomation_timer.c Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
testautomation_video.c tests: Fix whitespace 2023-12-12 17:17:00 -05:00
testautomation.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testbounds.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testcustomcursor.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testdisplayinfo.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testdraw2.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testdrawchessboard.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testdropfile.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testerror.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testevdev.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testfile.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testfilesystem_pre.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testfilesystem.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testgamecontroller.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testgeometry.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testgesture.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testgl2.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testgles2_sdf_img_normal.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 2021-01-24 00:51:24 -05:00
testgles2_sdf_img_sdf.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 2021-01-24 00:51:24 -05:00
testgles2_sdf.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testgles2.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testgles.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testhaptic.c [SDL2] pointer boolean (#8523) 2023-11-10 06:30:56 -08:00
testhittesting.c [SDL2] pointer boolean (#8523) 2023-11-10 06:30:56 -08:00
testhotplug.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testiconv.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testime.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testintersections.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testjoystick.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testkeys.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testloadso.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testlocale.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testlock.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testmessage.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testmouse.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testmultiaudio.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testnative.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testnative.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testnativecocoa.m fixed typo in prev. patch. 2023-07-28 07:35:14 +03:00
testnativeos2.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testnativew32.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testnativex11.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testoffscreen.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testoverlay2.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testplatform.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testpower.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testqsort.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testrelative.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testrendercopyex.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testrendertarget.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testresample.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testrumble.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testscale.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testsem.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testsensor.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testshader.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testshape.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testsprite2.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testspriteminimal.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
teststreaming.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testsurround.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testthread.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testtimer.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testurl.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testutils.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testutils.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testver.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testviewport.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testvulkan.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testwm2.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testyuv_cvt.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testyuv_cvt.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
testyuv.bmp
testyuv.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
torturethread.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
unifont-13.0.06-license.txt Latest Unifont with OFL is now bundled. (#4268) 2021-07-08 14:51:16 -07:00
unifont-13.0.06.hex Latest Unifont with OFL is now bundled. (#4268) 2021-07-08 14:51:16 -07:00
utf8.txt
watcom.mif test/watcom.mif: disable W201 warning for testautomation_stdlib.c. 2023-12-17 20:51:10 +03:00

These are test programs for the SDL library:

	checkkeys	Watch the key events to check the keyboard
	loopwave	Audio test -- loop playing a WAV file
	loopwavequeue	Audio test -- loop playing a WAV file with SDL_QueueAudio
	testsurround	Audio test -- play test tone on each audio channel
	testaudioinfo	Lists audio device capabilities
	testerror	Tests multi-threaded error handling
	testfile	Tests RWops layer
	testgl2		A very simple example of using OpenGL with SDL
	testiconv	Tests international string conversion
	testjoystick	List joysticks and watch joystick events
	testkeys	List the available keyboard keys
	testloadso	Tests the loadable library layer
	testlocale  Test Locale API
	testlock	Hacked up test of multi-threading and locking
	testmouse	Tests mouse coordinates
	testmultiaudio	Tests using several audio devices
	testoverlay2	Tests the overlay flickering/scaling during playback.
	testplatform	Tests types, endianness and cpu capabilities
	testsem		Tests SDL's semaphore implementation
	testshape	Tests shaped windows
	testsprite2	Example of fast sprite movement on the screen
	testthread	Hacked up test of multi-threading
	testtimer	Test the timer facilities
	testver		Check the version and dynamic loading and endianness
	testwm2		Test window manager -- title, icon, events
	torturethread	Simple test for thread creation/destruction
	controllermap   Useful to generate Game Controller API compatible maps



This directory contains sample.wav, which is a sample from Will Provost's
song, The Living Proof:

     From the album The Living Proof
     Publisher: 5 Guys Named Will
     Copyright 1996 Will Provost

You can get a copy of the full song (and album!) from iTunes...

    https://itunes.apple.com/us/album/the-living-proof/id4153978

or Amazon...

    http://www.amazon.com/The-Living-Proof-Will-Provost/dp/B00004R8RH

Thanks to Will for permitting us to distribute this sample with SDL!