-
Notifications
You must be signed in to change notification settings - Fork 1
Tests
https://github.com/blavin/HappyDance/blob/master/Happy%20Dance/tests/UnitTest1.cs
openFileTest() - is used to test the Dance File created from tracking the avatar is correct. Checks if arbitrary thumb and spine positions are as should be. Also tests if the frame rate matches expected frames.
https://github.com/blavin/HappyDance/blob/master/Happy%20Dance/tests/CSVManager.cs
MassTestCSV() - is used to test all possible combinations of slider and dropdown and runs 500+ export commands. run through a test scene:(https://github.com/blavin/HappyDance/blob/master/Happy%20Dance/tests/test-Export-Menu.unity).
With the difficulties of unity, automated testing can be a bit tricky. So we ran four tests comparing the text file of the dance and the actual video stream of the dance for four dance moves. With a little bit of delay the text file shadows the video stream, showcasing the function printOutput() and GetVector3FromFile() are working.
For CSV Testing, our buttons are locked so we are testing the button ports the info to a CSV.
Giving the correct final output that our sliders/drop downs showed.
We ran each of the dance moves individually to make sure they worked inside our scene before combining them. (Note, the frame rate is very low due to computer running program and OBS software.)
Dance Move one - https://github.com/blavin/HappyDance/blob/master/Documents/2018-04-05%2019-25-34.mp4
Dance Move two - https://github.com/blavin/HappyDance/blob/master/Documents/2018-04-05%2019-26-57.mp4
Dance Move three - https://github.com/blavin/HappyDance/blob/master/Documents/2018-04-05%2019-27-59.mp4
Dance Move four -https://github.com/blavin/HappyDance/blob/master/Documents/2018-04-05%2019-29-07.mp4