From 2ed966516e4fc35b1e444cc233c57049f898e252 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Fri, 14 Sep 2018 08:11:11 +1000 Subject: [PATCH] Rename Froude to FroudeConverter --- scaling/scaling.py | 8 ++++---- tests/froude_test.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) 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():