Integrate shared planetary inventories and account sales with the current site
Merge the supplied inventory/exchange package into the latest DuneRealms source. Keep community-reward receipts, verified UUID linking, native menus and current website artwork, Dutch naming and account controls. Wire the inventory/sales adapters into the real CP session and verified-link schema, with isolated reads and honest unconfigured states. Preserve lobby/ender separation and Core-owned atomic exchange checkpoints. Validation: website build and 56 tests; 12 inventory/market adapter tests; Core/Essentials and NPC/Terrain/Lobby builds and tests; local browser inspection of the themed inventory, mannequin and History of sales with fictional fixtures. Paper 1.21.8 source only: live 1.21.4 binaries and databases are unchanged.
This commit is contained in:
parent
73e1bc8b75
commit
9dcd9b084a
1 changed files with 3246 additions and 978 deletions
|
|
@ -0,0 +1,12 @@
|
|||
package com.example.duneess;
|
||||
import com.example.dunegui.DunemarkItems;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
class DunemarkDenominationsTest {
|
||||
@Test void walletArtSelectsOnlySupportedDenominationsWithoutRoundingUp(){
|
||||
assertEquals(1,DunemarkItems.denomination(0)); assertEquals(1,DunemarkItems.denomination(4.99));
|
||||
assertEquals(5,DunemarkItems.denomination(5)); assertEquals(5,DunemarkItems.denomination(99.99));
|
||||
assertEquals(100,DunemarkItems.denomination(100));assertEquals(1000,DunemarkItems.denomination(4999.99));
|
||||
assertEquals(5000,DunemarkItems.denomination(5000));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue

Staff