Skip to content

Commit 2bbc64a

Browse files
committed
[#1037] Unit test for physics_tools.geometry.pinhole_camera_estimator()
1 parent cf4f971 commit 2bbc64a

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
2+
3+
# Standard
4+
import numpy as np
5+
6+
7+
# tofu-specific
8+
import tofu.physics_tools as tfpt
9+
10+
11+
#######################################################
12+
#
13+
# Setup and Teardown
14+
#
15+
#######################################################
16+
17+
18+
def setup_module():
19+
pass
20+
21+
22+
def teardown_module():
23+
pass
24+
25+
26+
#######################################################
27+
#
28+
# checking Distributions
29+
#
30+
#######################################################
31+
32+
33+
class Test00_Geometry():
34+
35+
@classmethod
36+
def setup_class(cls):
37+
pass
38+
39+
def setup_method(self):
40+
pass
41+
42+
def teardown_method(self):
43+
pass
44+
45+
@classmethod
46+
def teardown_class(cls):
47+
pass
48+
49+
def test01_pinhole_camera_estimator(self):
50+
dout = tfpt.geometry.pinhole_camera_estimator()
51+
assert isinstance(dout, dict)

0 commit comments

Comments
 (0)