You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Heinrich Bohne (JIRA)" <ji...@apache.org> on 2019/06/21 13:26:00 UTC

[jira] [Created] (NUMBERS-118) Reduce code duplication between BigFractionTest and FractionTest

Heinrich Bohne created NUMBERS-118:
--------------------------------------

             Summary: Reduce code duplication between BigFractionTest and FractionTest
                 Key: NUMBERS-118
                 URL: https://issues.apache.org/jira/browse/NUMBERS-118
             Project: Commons Numbers
          Issue Type: Improvement
          Components: fraction
    Affects Versions: 1.0
            Reporter: Heinrich Bohne


Apparently, the class {{BigFractionTest}} has been created mainly by copy-pasting {{FractionTest}}, resulting in a lot of duplicate test cases. This code duplication can be mitigated by extracting some of the test cases that are used by both classes to a single location.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)