Skip to content

Commit 3690cd7

Browse files
committed
Remove obsolete tests, format update
1 parent d3fd94e commit 3690cd7

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

src/classy_blocks/grading/grading.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
""" In theory, combination of three of these 6 values can be specified:
1+
"""In theory, combination of three of these 6 values can be specified:
22
- Total length
33
- Number of cells
44
- Total expansion ratio
@@ -32,7 +32,7 @@
3232
3333
calculations meticulously transcribed from the blockmesh grading calculator:
3434
https://gitlab.com/herpes-free-engineer-hpe/blockmeshgradingweb/-/blob/master/calcBlockMeshGrading.coffee
35-
(since block length is always known, there's less wrestling but the calculation principle is similar) """
35+
(since block length is always known, there's less wrestling but the calculation principle is similar)"""
3636

3737
import dataclasses
3838
import math

tests/test_optimize/test_clamps.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,6 @@ def test_line_init(self):
4545

4646
self.assertAlmostEqual(clamp.params[0], 0)
4747

48-
def test_line_init_noncoincident(self):
49-
"""Initialization of LineClamp with a non-coincident vertex;
50-
update vertex with closest point"""
51-
clamp = LineClamp(self.position, [1, 1, 1], [2, 1, 1], (-100, 100))
52-
53-
# don't be too strict about initial parameters,
54-
# optimization will move everything away anyhow
55-
np.testing.assert_array_almost_equal(clamp.position, [0, 1, 1], decimal=3)
56-
5748
def test_line_init_far(self):
5849
"""Initialization that will yield t < 0"""
5950
clamp = LineClamp(self.position, [1, 1, 1], [2, 2, 2], (-100, 100))

0 commit comments

Comments
 (0)