[Javamatch-cvs] javamatch/src/net/sourceforge/javamatch/engine/test MatchEngineTest.java,1.6,1.7
Status: Pre-Alpha
Brought to you by:
iterson
From: Walter v. I. <it...@us...> - 2004-10-01 08:02:23
|
Update of /cvsroot/javamatch/javamatch/src/net/sourceforge/javamatch/engine/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6829/test Modified Files: MatchEngineTest.java Log Message: Added getter for threshold Index: MatchEngineTest.java =================================================================== RCS file: /cvsroot/javamatch/javamatch/src/net/sourceforge/javamatch/engine/test/MatchEngineTest.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MatchEngineTest.java 23 Sep 2004 06:11:55 -0000 1.6 --- MatchEngineTest.java 1 Oct 2004 08:02:10 -0000 1.7 *************** *** 186,189 **** --- 186,195 ---- } + public void testSetGetThreshold() { + MatchEngine engine = new MatchEngine(); + engine.setThreshold(0.4f); + assertEquals(0.4f, engine.getThreshold(), 0.0001f); + } + public void testThreshold() { try { |