MCPcopy Create free account
hub / github.com/danieljfarrell/pvtrace / test_init

Method test_init

tests/test_material.py:6–7  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4class TestMaterial:
5
6 def test_init(self):
7 assert type(Material(1.5) == Material)
8
9 def test_ior(self):
10 assert Material(1.5).refractive_index == 1.5

Callers

nothing calls this directly

Calls 1

MaterialClass · 0.90

Tested by

no test coverage detected