Commit 3a9c4b53 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

rename test() to testDivergence() in divergence tester, because we aldeary...

rename test() to testDivergence() in divergence tester, because we aldeary have test() in Predicate class that is a super class of divergence classes.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30703 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 53fe3900
......@@ -63,7 +63,7 @@ class FloatDivergenceTester(Predicate):
# Declarative interfaces
zope.interface.implements( interfaces.IDivergenceTester, )
def test(self, simulation_movement):
def testDivergence(self, simulation_movement):
"""
Tests if simulation_movement is divergent. Returns False (0)
or True (1).
......
......@@ -54,7 +54,9 @@ class IDivergenceTester(Interface):
simulation.
"""
def test(simulation_movement):
# since we aldeary have test() in Predicate class, we use a different
# method name to test a divergence.
def testDivergence(simulation_movement):
"""
Tests if simulation_movement is divergent. Returns False (0)
or True (1).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment