Beispiel #1
0
 def test_triangular_coord(self):
     coord = [0.5, 0.5]
     coord = triangular_coord(coord)
     self.assertTrue(np.allclose(coord, [0.75, 0.4330127]))
 def test_triangular_coord(self):
     coord = [0.5, 0.5]
     coord = triangular_coord(coord)
     self.assertTrue(np.allclose(coord, [ 0.75, 0.4330127]))