diff --git a/scaling/scaling.py b/scaling/scaling.py index 9481f59..9956f1e 100644 --- a/scaling/scaling.py +++ b/scaling/scaling.py @@ -146,9 +146,9 @@ class DimensionConverter(object): return scaling_exponent -class Froude(DimensionConverter): +class FroudeConverter(DimensionConverter): def __init__(self): - super(Froude, self).__init__() + super(FroudeConverter, self).__init__() # Define Froude scaling relationships self.LENGTH_EXPONENT = 1 @@ -156,9 +156,9 @@ class Froude(DimensionConverter): self.MASS_EXPONENT = 3 -class Reynolds(DimensionConverter): +class ReynoldsConverter(DimensionConverter): def __init__(self): - super(Reynolds, self).__init__() + super(ReynoldsConverter, self).__init__() # Define Reynolds scaling relationships self.LENGTH_EXPONENT = 1 diff --git a/tests/froude_test.py b/tests/froude_test.py index 136b518..6cee032 100644 --- a/tests/froude_test.py +++ b/tests/froude_test.py @@ -1,8 +1,8 @@ import pandas as pd import pytest -from scaling import Froude +from scaling import FroudeConverter -froude = Froude() +froude = FroudeConverter() def test_unit_to_same_unit():