Testing
Run and write tests for Cylend smart contracts
Run Tests
Run all tests:
npx hardhat testRun with coverage:
npx hardhat coverageRun specific test:
npx hardhat test test/LendingCore.test.tsTest Categories
Unit Tests
Individual function tests for each contract
Integration Tests
Cross-chain flow simulations
Fuzz Tests
Random input testing for edge cases
Gas Tests
Gas consumption optimization checks