-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoverage.txt
38 lines (35 loc) · 4.54 KB
/
coverage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Compiling 50 files with Solc 0.8.28
Solc 0.8.28 finished in 2.88s
Compiler run successful!
Analysing contracts...
Running tests...
Ran 3 tests for test/integration/DungeonTest.t.sol:DungeonIntegrationTest
[PASS] testIntegrationCreateDungeonAndImportItems() (gas: 309828)
[PASS] testIntegrationLinkNFTWithPayment() (gas: 374966)
[PASS] testIntegrationTransferDungeonWithAssetsAndLinks() (gas: 475077)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 532.96ms (4.04ms CPU time)
Ran 13 tests for test/unit/DungeonTest.t.sol:DungeonTest
[PASS] testAddLinkedAsset() (gas: 371626)
[PASS] testAddLinkedAssetIncorrectPayment() (gas: 265342)
[PASS] testCreateDungeon() (gas: 144254)
[PASS] testExportItem() (gas: 203228)
[PASS] testExportItemNotOwner() (gas: 227461)
[PASS] testImportItem() (gas: 224148)
[PASS] testMoveItemBetweenDungeons() (gas: 339241)
[PASS] testMoveItemBetweenDungeonsNotOwner() (gas: 327425)
[PASS] testSetLinkingCharge() (gas: 48095)
[PASS] testSignTerms() (gas: 100307)
[PASS] testTransferDungeonOwnership() (gas: 154184)
[PASS] testTransferDungeonOwnershipNotOwner() (gas: 146436)
[PASS] testTransferDungeonWithImportedItems() (gas: 237033)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 597.93ms (19.68ms CPU time)
Ran 2 test suites in 599.15ms (1.13s CPU time): 16 tests passed, 0 failed, 0 skipped (16 total tests)
| File | % Lines | % Statements | % Branches | % Funcs |
|-------------------------------|----------------|----------------|---------------|-----------------|
| script/DeployDungeonMOW.s.sol | 100.00% (4/4) | 100.00% (5/5) | 100.00% (0/0) | 100.00% (1/1) |
| src/Dungeon.sol | 92.45% (49/53) | 84.72% (61/72) | 33.33% (4/12) | 100.00% (9/9) |
| src/sampleNfts/Nft1.sol | 100.00% (3/3) | 100.00% (4/4) | 100.00% (0/0) | 100.00% (1/1) |
| src/sampleNfts/Nft2.sol | 100.00% (3/3) | 100.00% (4/4) | 100.00% (0/0) | 100.00% (1/1) |
| src/sampleNfts/Potion.sol | 100.00% (3/3) | 100.00% (4/4) | 100.00% (0/0) | 100.00% (1/1) |
| src/sampleNfts/Sword.sol | 100.00% (3/3) | 100.00% (4/4) | 100.00% (0/0) | 100.00% (1/1) |
| Total | 94.20% (65/69) | 88.17% (82/93) | 33.33% (4/12) | 100.00% (14/14) |