Rename Froude to FroudeConverter

master
Dan Howe 6 years ago
parent bb6e651132
commit 2ed966516e

@ -146,9 +146,9 @@ class DimensionConverter(object):
return scaling_exponent return scaling_exponent
class Froude(DimensionConverter): class FroudeConverter(DimensionConverter):
def __init__(self): def __init__(self):
super(Froude, self).__init__() super(FroudeConverter, self).__init__()
# Define Froude scaling relationships # Define Froude scaling relationships
self.LENGTH_EXPONENT = 1 self.LENGTH_EXPONENT = 1
@ -156,9 +156,9 @@ class Froude(DimensionConverter):
self.MASS_EXPONENT = 3 self.MASS_EXPONENT = 3
class Reynolds(DimensionConverter): class ReynoldsConverter(DimensionConverter):
def __init__(self): def __init__(self):
super(Reynolds, self).__init__() super(ReynoldsConverter, self).__init__()
# Define Reynolds scaling relationships # Define Reynolds scaling relationships
self.LENGTH_EXPONENT = 1 self.LENGTH_EXPONENT = 1

@ -1,8 +1,8 @@
import pandas as pd import pandas as pd
import pytest import pytest
from scaling import Froude from scaling import FroudeConverter
froude = Froude() froude = FroudeConverter()
def test_unit_to_same_unit(): def test_unit_to_same_unit():

Loading…
Cancel
Save