org.sakaiproject.tool.gradebook.test
Class CalculationsTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.sakaiproject.tool.gradebook.test.CalculationsTest
All Implemented Interfaces:
junit.framework.Test

public class CalculationsTest
extends junit.framework.TestCase

Author:
Josh Holtzman

Constructor Summary
CalculationsTest()
           
 
Method Summary
protected  void setUp()
           
 void testAssignmentStatisticsCalculation()
          Tests the statistics calculations for assignments
 void testCourseGradeCalculation()
          Tests the course grade auto-calculation
 void testCourseGradeStatisticsCalculation()
          Tests the statistics calculations on course grade objects
 void testGradeInputConversion()
           
 void testRoundDown()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalculationsTest

public CalculationsTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

testAssignmentStatisticsCalculation

public void testAssignmentStatisticsCalculation()
                                         throws Exception
Tests the statistics calculations for assignments

Throws:
Exception

testCourseGradeStatisticsCalculation

public void testCourseGradeStatisticsCalculation()
                                          throws Exception
Tests the statistics calculations on course grade objects

Throws:
Exception

testCourseGradeCalculation

public void testCourseGradeCalculation()
                                throws Exception
Tests the course grade auto-calculation

Throws:
Exception

testGradeInputConversion

public void testGradeInputConversion()
                              throws Exception
Throws:
Exception

testRoundDown

public void testRoundDown()
                   throws Exception
Throws:
Exception