mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +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 { test } from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { aircraftIncludedInNearby } from './aircraftNearbyPolicy.js';
|
||||
|
||||
test('awareness proximity includes horizon-hidden loaded aircraft without changing the default', () => {
|
||||
const horizonHidden = {
|
||||
isTracked: false,
|
||||
billboardShown: false,
|
||||
modelRendering: false,
|
||||
};
|
||||
assert.equal(aircraftIncludedInNearby(horizonHidden), false);
|
||||
assert.equal(aircraftIncludedInNearby({ ...horizonHidden, includeHidden: true }), true);
|
||||
});
|
||||
Reference in new issue
Block a user