Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 904 Bytes

TESTS_EXPLICATION.md

File metadata and controls

34 lines (22 loc) · 904 Bytes

Tests Explication

This folder /test contains all Truffle unit tests for testing smart contracts in /contracts folder.

Bank.test.js

Test all Bank contract methods

Bank#PropertyTransfer.test.js

Test only Bank.propertyTransfer() method related to transfer NFT PROP and pay royalties to creator, here is contract owner.

Board.test.js

Test all Board contract methods

Board#gameStrategist.test.js

Test gameStrategist method only

Board.Random.test.js

Dans ce fichier, nous allons trouver les différents tests relatifs à la génération de l'aléatoire pour le lancer de dé.

Mono.test.js

Test all Mono contract methods

Pawn.test.js

Test all Pawn contract methods

Prop.test.js

Test all Prop contract methods

Prop.PropertyRoyalties.test.js

Test all Prop contract methods related to NFT PROP royalties management.

Staking.test.js

Test all Staking contract methods