torrust-actix 4.2.3

A rich, fast and efficient Bittorrent Tracker.
1
2
3
4
5
6
7
8
use crate::rtctorrent_bridge::structs::rtc_torrent_bridge::RtcTorrentBridge;

#[test]
fn test_bridge_creation() {
    let tracker_url = "http://localhost:6969/announce".to_string();
    let bridge = RtcTorrentBridge::new(tracker_url);
    assert_eq!(bridge.tracker_url, "http://localhost:6969/announce");
}