diff options
author | Théo de la Hogue | 2023-07-03 14:53:40 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-07-03 14:53:40 +0200 |
commit | 3d66f3e2d58b7038cdfdf272f2d813e24b730243 (patch) | |
tree | 912f8c70933f1f4b3d0097b93f6089b5f7914f23 /src/argaze.test/GazeAnalysis/KCoefficient.py | |
parent | 25554ea7710c35107f0904532df093f9c15f74ae (diff) | |
download | argaze-3d66f3e2d58b7038cdfdf272f2d813e24b730243.zip argaze-3d66f3e2d58b7038cdfdf272f2d813e24b730243.tar.gz argaze-3d66f3e2d58b7038cdfdf272f2d813e24b730243.tar.bz2 argaze-3d66f3e2d58b7038cdfdf272f2d813e24b730243.tar.xz |
Updating GazeAnalysis test.
Diffstat (limited to 'src/argaze.test/GazeAnalysis/KCoefficient.py')
-rw-r--r-- | src/argaze.test/GazeAnalysis/KCoefficient.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/argaze.test/GazeAnalysis/KCoefficient.py b/src/argaze.test/GazeAnalysis/KCoefficient.py index c834b28..a45d3e4 100644 --- a/src/argaze.test/GazeAnalysis/KCoefficient.py +++ b/src/argaze.test/GazeAnalysis/KCoefficient.py @@ -28,10 +28,10 @@ class TestScanPathAnalyzer(unittest.TestCase): # Check scan path self.assertEqual(len(scan_path), 10) - K = kcoeff_analyzer.analyze(scan_path) + kcoeff_analyzer.analyze(scan_path) # Check that K coefficient is almost equal to 0 - self.assertAlmostEqual(K, 0) + self.assertAlmostEqual(kcoeff_analyzer.K, 0) class TestAOIScanPathAnalyzer(unittest.TestCase): """Test AOIScanPathAnalyzer class.""" @@ -46,10 +46,10 @@ class TestAOIScanPathAnalyzer(unittest.TestCase): # Check aoi scan path self.assertEqual(len(aoi_scan_path), 4) - K = kcoeff_analyzer.analyze(aoi_scan_path) + kcoeff_analyzer.analyze(aoi_scan_path) # Check that K coefficient is almost equal to 0 - self.assertAlmostEqual(K, 0) + self.assertAlmostEqual(kcoeff_analyzer.K, 0) if __name__ == '__main__': |