Spaces:
Sleeping
Sleeping
Download dataset/problem_13/test.py from Viraj0112/rl_code_fix_env: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/spaces/Viraj0112/rl_code_fix_env/resolve/main/dataset/problem_13/test.py
- Command line
-
hf download hf://spaces/Viraj0112/rl_code_fix_env/dataset/problem_13/test.py
-
curl -L -o test.py https://huggingface.co/spaces/Viraj0112/rl_code_fix_env/resolve/main/dataset/problem_13/test.py
289 Bytes
| import unittest | |
| from dataset.problem_13.buggy import run_ops | |
| class TestLRU(unittest.TestCase): | |
| def test_recency_update_on_get(self): | |
| a, b = run_ops() | |
| self.assertEqual(a, 1) | |
| self.assertEqual(b, -1) | |
| if __name__ == "__main__": | |
| unittest.main() | |