ScottLogic / lookingatyou

Looking At You is a front-end application which uses computer vision to enable a pair of eyes to follow people using a webcam. The application was developed as part of the 2019 Scott Logic Internship Program.
http://scottlogic.github.io/lookingatyou
MIT License
0 stars 3 forks source link

Write more tests for poseDetection.ts #562

Open Adam-McDevitt opened 5 years ago

Adam-McDevitt commented 5 years ago

All pose-detecting functions are run using the current test suite, but most of them only ever return false. Further tests should be written so that we test the positive case for all pose-detecting functions, as currently only a few are tested. This will not increase coverage per-se, but it will make sure the app is more robust and ensure that pose-detection functions work as intended.