File: test_aspect.py

package info (click to toggle)
dart 6.13.2%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 56,948 kB
  • sloc: cpp: 274,310; python: 3,973; xml: 1,272; sh: 404; makefile: 31
file content (15 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import pytest
import dartpy as dart


def test_simple_frame():
    shape_frame = dart.dynamics.SimpleFrame()
    assert not shape_frame.hasVisualAspect()
    assert shape_frame.getVisualAspect() is None
    assert shape_frame.getVisualAspect(False) is None
    visual = shape_frame.createVisualAspect()
    assert visual is not None


if __name__ == "__main__":
    pytest.main()