Traffy.UnityPython
Traffy.UnityPython copied to clipboard
v0.1 plan: testsuites WIP
All tests are written under the directory `UnityPython.Backend/tests/".
Language
- [ ] test_semantics.py: the whole abstract syntax of Python can be found at (see Python 3.10 ASDL.
Builtin Data Structures
The following test scripts are made so far. We use these scripts to test the methods bound for specific types.
- [x] test_bool.py (Traffy.Objects/Bool.cs)
- [ ] test_builtin_function.py (Traffy.Objects/BuiltinFunction.cs)
- [ ] test_bytearray.py (..)
- [ ] test_bytes.py
- [ ] test_type.py (
typein Python;Traffy.Objects/Class.csin C#) - [ ] test_dict.py
- [ ] test_exceptions.py (there are many exceptions... testing could be painful)
- [ ] test_float.py
- [ ] test_generator.py
- [ ] test_int.py
- [ ] test_iter.py (Traffy.Objects/Iter.cs)
- [ ] test_list.py
- [ ] test_module.py
- [ ] test_method.py
- [x] test_None.py
- [ ] test_object.py (
TrRawObjectinTraffy.Objects/Object.cs) - [ ] test_property.py
- [ ] test_ref.py
- [ ] test_set.py
- [ ] test_slice.py
- [ ] test_staticmethod.py
- [ ] test_classmethod.py
- [ ] test_str.py
- [ ] test_tuple.py
- [ ] test_uniontype.py
- [ ] test_func.py (Traffy.Objects/UserFunc.cs)
Builtin Modules
The complete list of UnityPython's builtin modules are not decided yet.
- [ ] test_abc.py
- ...
@lfkdsk 来玩