mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
Release God's Eye View as open source
This commit is contained in:
1 parent
a5aaea7e16
commit
880a672b5e
433 files changed
+219893
-23
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import test from 'node:test';
|
||||
import { satelliteVisualsVisible } from './satellites.js';
|
||||
|
||||
test('restoring Satellite presentation preferences cannot show a disabled layer', () => {
|
||||
assert.equal(satelliteVisualsVisible(false, true), false);
|
||||
assert.equal(satelliteVisualsVisible(false, false), false);
|
||||
});
|
||||
|
||||
test('enabled Satellite layers honor their point and orbit presentation preferences', () => {
|
||||
assert.equal(satelliteVisualsVisible(true, true), true);
|
||||
assert.equal(satelliteVisualsVisible(true, false), false);
|
||||
});
|
||||
Reference in new issue
Block a user