Python 3.2.3 (default, Feb 20 2013, 14:44:27) [GCC 4.7.2] on linux2 Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> .. ---------------------------------------------------------------------- Ran 2 tests in 0.007s OK >>> ================================ RESTART ================================ >>> .E. ====================================================================== ERROR: test_create_triangle (__main__.TestApril16) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april16/april16_tests.py", line 37, in test_create_triangle tri = triangle.create( NameError: global name 'triangle' is not defined ---------------------------------------------------------------------- Ran 3 tests in 0.010s FAILED (errors=1) >>> ================================ RESTART ================================ >>> ... ---------------------------------------------------------------------- Ran 3 tests in 0.009s OK >>> ================================ RESTART ================================ >>> ... ---------------------------------------------------------------------- Ran 3 tests in 0.012s OK >>> ================================ RESTART ================================ >>> .F. ====================================================================== FAIL: test_create_triangle (__main__.TestApril16) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april16/april16_tests.py", line 43, in test_create_triangle self.assertEqual(tri.p1, point.create(0, 0)) AssertionError: != ---------------------------------------------------------------------- Ran 3 tests in 0.009s FAILED (failures=1) >>> ================================ RESTART ================================ >>> ... ---------------------------------------------------------------------- Ran 3 tests in 0.016s OK >>> ================================ RESTART ================================ >>> .0 0 .. ---------------------------------------------------------------------- Ran 3 tests in 0.025s OK >>> ================================ RESTART ================================ >>> . IM IN UR CODEZ PRINTIN UR JUNK! 0 0 .. ---------------------------------------------------------------------- Ran 3 tests in 0.020s OK >>> ================================ RESTART ================================ >>> . IM IN UR CODEZ PRINTIN UR JUNK! 0 0 1 .. ---------------------------------------------------------------------- Ran 3 tests in 0.029s OK >>> ================================ RESTART ================================ >>> . IM IN UR CODEZ PRINTIN UR JUNK! 0 0 1 .. ---------------------------------------------------------------------- Ran 3 tests in 0.028s OK >>> ================================ RESTART ================================ >>> . IM IN UR CODEZ PRINTIN UR JUNK! 0 0 1 F. ====================================================================== FAIL: test_create_triangle (__main__.TestApril16) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april16/april16_tests.py", line 55, in test_create_triangle self.assertTrue(point.equal(origin, point.create(0, 0))) AssertionError: False is not true ---------------------------------------------------------------------- Ran 3 tests in 0.030s FAILED (failures=1) >>> ================================ RESTART ================================ >>> . IM IN UR CODEZ PRINTIN UR JUNK! 0 0 1 .. ---------------------------------------------------------------------- Ran 3 tests in 0.024s OK >>> ================================ RESTART ================================ >>> .F. ====================================================================== FAIL: test_create_triangle (__main__.TestApril16) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april16/april16_tests.py", line 44, in test_create_triangle self.assertEqual(tri.p1, origin) AssertionError: != ---------------------------------------------------------------------- Ran 3 tests in 0.012s FAILED (failures=1) >>> ================================ RESTART ================================ >>> . IM IN UR CODEZ PRINTIN UR JUNK! 0 0 0 .. ---------------------------------------------------------------------- Ran 3 tests in 0.057s OK >>> ================================ RESTART ================================ >>> . IM IN UR CODEZ PRINTIN UR JUNK! 0 0 0 ..E ====================================================================== ERROR: test_triangle_area (__main__.TestApril16) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april16/april16_tests.py", line 69, in test_triangle_area self.assertAlmostEqual(triangle.area(tri), 0.5) AttributeError: 'module' object has no attribute 'area' ---------------------------------------------------------------------- Ran 4 tests in 0.053s FAILED (errors=1) >>> ================================ RESTART ================================ >>> . IM IN UR CODEZ PRINTIN UR JUNK! 0 0 0 ... ---------------------------------------------------------------------- Ran 4 tests in 0.056s OK >>> ================================ RESTART ================================ >>> E. IM IN UR CODEZ PRINTIN UR JUNK! 0 0 0 ... ====================================================================== ERROR: test_create_course (__main__.TestApril16) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april16/april16_tests.py", line 72, in test_create_course course1 = course.create( NameError: global name 'course' is not defined ---------------------------------------------------------------------- Ran 5 tests in 0.064s FAILED (errors=1) >>> ================================ RESTART ================================ >>> E. IM IN UR CODEZ PRINTIN UR JUNK! 0 0 0 ... ====================================================================== ERROR: test_create_course (__main__.TestApril16) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april16/april16_tests.py", line 83, in test_create_course self.assertEqual(course1.credits, 3.0) AttributeError: 'Course' object has no attribute 'credits' ---------------------------------------------------------------------- Ran 5 tests in 0.039s FAILED (errors=1) >>> ================================ RESTART ================================ >>> .. IM IN UR CODEZ PRINTIN UR JUNK! 0 0 0 ... ---------------------------------------------------------------------- Ran 5 tests in 0.044s OK >>>