379cb741ed
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
15 lines
480 B
Rust
15 lines
480 B
Rust
#[cfg(test)]
|
|
mod tests {
|
|
use pezframe_support::traits::Contains;
|
|
use snowbridge_core::AllowSiblingsOnly;
|
|
use xcm::prelude::{Junction::Teyrchain, Location};
|
|
|
|
#[test]
|
|
fn allow_siblings_predicate_only_allows_siblings() {
|
|
let sibling = Location::new(1, [Teyrchain(1000)]);
|
|
let child = Location::new(0, [Teyrchain(1000)]);
|
|
assert!(AllowSiblingsOnly::contains(&sibling), "Sibling returns true.");
|
|
assert!(!AllowSiblingsOnly::contains(&child), "Child returns false.");
|
|
}
|
|
}
|