mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-06 23:12:36 +00:00
* SPESSMEN 2.0: le cargo resprite (no mining) ((i hate mining)) * Update role_tablet_presets.dm * Revert "Update role_tablet_presets.dm" This reverts commit ef1373dcd5e101030dcb6147e0c0739a612f74c9. * Update role_tablet_presets.dm * Screenshot test file was missed for some reason. * Add to loadout items * Digi sprites * Digi flags * Update cargo_digi.dmi * Update cargo_digi.dmi * Update loadout_datum_suit.dm --------- Co-authored-by: axietheaxolotl <86872535+axietheaxolotl@users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This folder contains the results for screenshot tests. Screenshot tests make sure an icon looks the same as it did before a change to prevent regressions.
You can create one by simply using the test_screenshot proc.
This example test screenshots a red image and keeps it.
/// This is an example for screenshot tests, and a meta-test to make sure they work in the success case.
/// It creates a picture that is red on the left side, green on the other.
/datum/unit_test/screenshot_basic
/datum/unit_test/screenshot_basic/Run()
var/icon/red = icon('icons/blanks/32x32.dmi', "nothing")
red.Blend(COLOR_RED, ICON_OVERLAY)
test_screenshot("red", red)
Unfortunately, screenshot tests are sanest to test through a pull request directly, due to limitations with both DM and GitHub.