mirror of
https://github.com/Dangoware/dango-music-player.git
synced 2025-04-19 10:02:53 -05:00
committing possibly broken code as a backup
This commit is contained in:
parent
96cfbe9a50
commit
7dcca94174
1 changed files with 2 additions and 2 deletions
|
@ -332,10 +332,10 @@ fn item_add_test() {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_() {
|
fn test_() {
|
||||||
let mut q = Queue::new().unwrap();
|
let mut q = Queue::new().unwrap();
|
||||||
for _ in 0..1 {
|
for _ in 0..400 {
|
||||||
q.items.push(QueueItem { item: QueueItemType::Song(Uuid::new_v4()), state: QueueState::Played, source: QueueSource::File, by_human: false });
|
q.items.push(QueueItem { item: QueueItemType::Song(Uuid::new_v4()), state: QueueState::Played, source: QueueSource::File, by_human: false });
|
||||||
}
|
}
|
||||||
for _ in 0..2 {
|
for _ in 0..50000 {
|
||||||
q.add_item(QueueItemType::Song(Uuid::new_v4()), QueueSource::Library, true).unwrap();
|
q.add_item(QueueItemType::Song(Uuid::new_v4()), QueueSource::Library, true).unwrap();
|
||||||
}
|
}
|
||||||
q.add_item_next(QueueItemType::Test, QueueSource::File);
|
q.add_item_next(QueueItemType::Test, QueueSource::File);
|
||||||
|
|
Loading…
Reference in a new issue