add failing test
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*.qbot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.snfm filter=lfs diff=lfs merge=lfs -text
|
||||||
BIN
files/000002d3-852a-4e9f-b0c9-c95411683806.qbot
LFS
Normal file
BIN
files/000002d3-852a-4e9f-b0c9-c95411683806.qbot
LFS
Normal file
Binary file not shown.
@@ -23,3 +23,13 @@ fn main(){
|
|||||||
// let mut playback1=head::PlaybackHead::new(&bot,SessionTime::ZERO);
|
// let mut playback1=head::PlaybackHead::new(&bot,SessionTime::ZERO);
|
||||||
// playback1.set_time(&bot,SessionTime::ZERO,sample_time);
|
// playback1.set_time(&bot,SessionTime::ZERO,sample_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn get_position_no_panic(){
|
||||||
|
let bot_file=include_bytes!("../../files/000002d3-852a-4e9f-b0c9-c95411683806.qbot");
|
||||||
|
let timelines=v0::read_all_to_block(std::io::Cursor::new(bot_file)).unwrap();
|
||||||
|
let bot=bot::CompleteBot::new(timelines);
|
||||||
|
let head=head::PlaybackHead::new(&bot,SessionTime::ZERO);
|
||||||
|
// This can panic if the head is mismanaged!
|
||||||
|
let _pos=head.get_position(&bot,SessionTime::ZERO);
|
||||||
|
}
|
||||||
|
|||||||
2
web-demo/.gitattributes
vendored
2
web-demo/.gitattributes
vendored
@@ -1,2 +0,0 @@
|
|||||||
bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d.qbot filter=lfs diff=lfs merge=lfs -text
|
|
||||||
bhop_marble_5692093612.snfm filter=lfs diff=lfs merge=lfs -text
|
|
||||||
Reference in New Issue
Block a user