Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starfly 13 Branding Update #19

Merged
merged 2 commits into from
Mar 1, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Unit Tests: STARFLY13
  • Loading branch information
blinkdog committed Mar 1, 2025
commit 0009d0400a5d2d98a6df4ad3adf3dcc9980b69c3
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ jobs:
- "PLANET_GEN_TEST"
- "RUIN_PLACEMENT_TEST"
- "SHIP_PLACEMENT_TEST"
- "STARFLY13_TEST"

services:
mariadb:
Expand Down
1 change: 1 addition & 0 deletions code/_compile_options.dm
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
#define PLANET_GEN_TEST
#define RUIN_PLACEMENT_TEST
#define SHIP_PLACEMENT_TEST
#define STARFLY13_TEST
#endif

#if defined(OPENDREAM)
Expand Down
4 changes: 4 additions & 0 deletions code/modules/unit_tests/_unit_tests.dm
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@
#include "ship_outpost_placement.dm"
#endif //SHIP_PLACEMENT_TEST

#ifdef STARFLY13_TEST
#include "starfly13.dm"
#endif //STARFLY13_TEST

#include "unit_test.dm"

#undef TEST_ASSERT
Expand Down
23 changes: 23 additions & 0 deletions code/modules/unit_tests/starfly13.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// starfly13.dm
// Copyright 2025 Patrick Meade.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//---------------------------------------------------------------------------

/datum/unit_test/starfly13_ion_laws

/datum/unit_test/starfly13_ion_laws/Run()
var/ionabstract = strings(ION_FILE, "ionabstract")
TEST_ASSERT_NOTNULL(ionabstract, "Unable to load ionabstract list from ION_FILE")
TEST_ASSERT_NOTNULL(GLOB.string_cache[ION_FILE], "Unable to cache strings from ION_FILE")
Loading