1. Takafumi Arakaki
  2. flu8

Commits

Takafumi Arakaki  committed 2f6d353

doctest をつかって簡易テストを含めてみた

  • Participants
  • Parent commits 2915143
  • Branches default

Comments (0)

Files changed (1)

File mod_gear.py

View file
     radius : number
       wheel radius
 
+    Examples
+    --------
+    >>> gear('bike', 2, 30)
+    4600.0
+    >>> gear('kick', 2, 4)
+    920.0
+
     """
 
     if type == "kick":