| @@ -0,0 +1,66 @@ | ||
| """ | ||
| Created on 27.12.2013 | ||
| @author: uhs374h | ||
| """ | ||
| import unittest | ||
| from bruch.Bruch import * | ||
|
|
||
|
|
||
| class TestDivision(unittest.TestCase): | ||
|
|
||
| def setUp(self): | ||
| self.b = Bruch(3, 2) | ||
| self.b2 = Bruch(self.b) | ||
| self.b3 = Bruch(4, 2) | ||
| pass | ||
|
|
||
| def tearDown(self): | ||
| del self.b, self.b2, self.b3 | ||
| pass | ||
|
|
||
| def testdiv(self): | ||
| self.b = self.b / Bruch(4) | ||
| assert(float(self.b) == 0.375) | ||
|
|
||
| def testdiv2(self): | ||
| self.b = self.b / self.b3 | ||
| assert(float(self.b) == 0.75) | ||
|
|
||
| def testdiv3(self): | ||
| self.b2 = self.b / 2 | ||
| assert(float(self.b2) == 0.75) | ||
|
|
||
| def testrdivError(self): | ||
| self.assertRaises(TypeError, self.b2.__rtruediv__, 3.0) | ||
|
|
||
| def testrdiv(self): | ||
| self.b2 = 2 / Bruch(2) | ||
| assert(float(self.b2) == 1) | ||
|
|
||
| def testdivZeroError(self): | ||
| self.assertRaises(ZeroDivisionError, self.b2.__truediv__, 0) | ||
|
|
||
| def testdivTypeError(self): | ||
| self.assertRaises(TypeError, self.b2.__truediv__, 3.1) | ||
|
|
||
| def testdivZeroError2(self): | ||
| self.assertRaises(ZeroDivisionError, self.b2.__truediv__, Bruch(0, 3)) | ||
|
|
||
| def testrdivZeroError(self): | ||
| bneu = Bruch(0, 3) | ||
| self.assertRaises(ZeroDivisionError, bneu.__rtruediv__, 3) | ||
|
|
||
| def testiDiv(self): | ||
| self.b /= 2 | ||
| assert(self.b == Bruch(3, 4)) | ||
|
|
||
| def testiDiv2(self): | ||
| self.b /= Bruch(2) | ||
| assert(self.b == Bruch(3, 4)) | ||
|
|
||
| def testiDivError(self): | ||
| self.assertRaises(TypeError, self.b.__itruediv__, "other") | ||
|
|
||
| if __name__ == "__main__": | ||
| unittest.main() |
| @@ -0,0 +1,53 @@ | ||
| """ | ||
| Created on 27.12.2013 | ||
| @author: uhs374h | ||
| """ | ||
| import unittest | ||
| from bruch.Bruch import * | ||
|
|
||
|
|
||
| class TestMultiplikation(unittest.TestCase): | ||
|
|
||
| def setUp(self): | ||
| self.b = Bruch(3, 2) | ||
| self.b2 = Bruch(self.b) | ||
| self.b3 = Bruch(4, 2) | ||
| pass | ||
|
|
||
| def tearDown(self): | ||
| del self.b, self.b2, self.b3 | ||
| pass | ||
|
|
||
| def testmal(self): | ||
| self.b = self.b * Bruch(4) | ||
| assert(float(self.b) == 6) | ||
|
|
||
| def testmal2(self): | ||
| self.b = self.b * self.b2 | ||
| assert(float(self.b) == 2.25) | ||
|
|
||
| def testmal3(self): | ||
| self.b2 = self.b * 2 | ||
| assert(float(self.b2) == 3) | ||
|
|
||
| def testiMulError(self): | ||
| self.assertRaises(TypeError, self.b.__imul__, "other") | ||
|
|
||
| def testiMul(self): | ||
| self.b *= 2 | ||
| assert(self.b == 3) | ||
|
|
||
| def testiMul2(self): | ||
| self.b *= Bruch(2) | ||
| assert(self.b == 3) | ||
|
|
||
| def testrmal(self): | ||
| self.b2 = 2 * Bruch(3, 2) | ||
| assert(float(self.b2) == 3) | ||
|
|
||
| def testmulError(self): | ||
| self.assertRaises(TypeError, self.b2.__mul__, 2.0) | ||
|
|
||
| if __name__ == "__main__": | ||
| unittest.main() |
| @@ -0,0 +1,33 @@ | ||
| """ | ||
| Created on 27.12.2013 | ||
| @author: uhs374h | ||
| """ | ||
| import unittest | ||
| from bruch.Bruch import * | ||
|
|
||
|
|
||
| class TestString(unittest.TestCase): | ||
|
|
||
| def setUp(self): | ||
| self.b = Bruch(3, 2) | ||
| self.b2 = Bruch(self.b) | ||
| self.b3 = Bruch(4, 2) | ||
| pass | ||
|
|
||
| def tearDown(self): | ||
| del self.b, self.b2, self.b3 | ||
| pass | ||
|
|
||
| def teststr(self): | ||
| str1 = "(3/2)" | ||
| assert(str(self.b) == str1) | ||
|
|
||
| def teststr2(self): | ||
| b2 = Bruch(-3, -2) | ||
| str1 = "(3/2)" | ||
| assert(str(b2) == str1) | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| unittest.main() |
| @@ -0,0 +1,58 @@ | ||
| """ | ||
| Created on 27.12.2013 | ||
| @author: uhs374h | ||
| """ | ||
| import unittest | ||
| from bruch.Bruch import * | ||
|
|
||
|
|
||
| class TestSubtraktion(unittest.TestCase): | ||
|
|
||
| def setUp(self): | ||
| self.b = Bruch(3, 2) | ||
| self.b2 = Bruch(self.b) | ||
| self.b3 = Bruch(4, 2) | ||
| pass | ||
|
|
||
| def tearDown(self): | ||
| del self.b, self.b2, self.b3 | ||
| pass | ||
|
|
||
| def testminus(self): | ||
| self.b = self.b - Bruch(4, 5) | ||
| assert(float(self.b) == 0.7) | ||
|
|
||
| def testminus2(self): | ||
| self.b = self.b - self.b3 | ||
| assert(float(self.b) == -0.5) | ||
|
|
||
| def testminus3(self): | ||
| self.b2 = self.b - Bruch(1) | ||
| assert(float(self.b2) == 0.5) | ||
|
|
||
| def testiSubError(self): | ||
| self.assertRaises(TypeError, self.b.__isub__, "other") | ||
|
|
||
| def testrsubError(self): | ||
| """TypeError!!! | ||
| self.b2=2.0-self.b2 | ||
| """ | ||
| self.assertRaises(TypeError, self.b2.__rsub__, 2.0) | ||
|
|
||
| def testiSub(self): | ||
| self.b -= 2 | ||
| assert(self.b == Bruch(-1, 2)) | ||
|
|
||
| def testiSub2(self): | ||
| self.b -= Bruch(2) | ||
| assert(self.b == Bruch(-1, 2)) | ||
|
|
||
| def testrsub(self): | ||
| self.b2 = 3 - Bruch(3, 2) | ||
| assert(float(self.b2) == 1.5) | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| unittest.main() |
| @@ -0,0 +1,42 @@ | ||
| """ | ||
| Created on 27.12.2013 | ||
| @author: uhs374h | ||
| """ | ||
| import unittest | ||
| from bruch.Bruch import * | ||
|
|
||
|
|
||
| class TestVergleich(unittest.TestCase): | ||
|
|
||
| def setUp(self): | ||
| self.b = Bruch(3, 2) | ||
| self.b2 = Bruch(self.b) | ||
| self.b3 = Bruch(4, 2) | ||
| pass | ||
|
|
||
| def tearDown(self): | ||
| del self.b, self.b2, self.b3 | ||
| pass | ||
|
|
||
| def testEqual(self): | ||
| assert(self.b == self.b2) | ||
|
|
||
| def testNotEqual(self): | ||
| assert(self.b != self.b3) | ||
|
|
||
| def testGE(self): | ||
| assert(self.b >= self.b2) | ||
|
|
||
| def testLE(self): | ||
| assert(self.b <= self.b2) | ||
|
|
||
| def testLT(self): | ||
| assert(self.b < self.b3) | ||
|
|
||
| def testGT(self): | ||
| assert(self.b3 > self.b2) | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| unittest.main() |
| @@ -0,0 +1,39 @@ | ||
| """ | ||
| Created on 27.12.2013 | ||
| @author: uhs374h | ||
| """ | ||
| from bruch.Bruch import * | ||
| import unittest | ||
|
|
||
|
|
||
| class TestAllgemein(unittest.TestCase): | ||
|
|
||
| def setUp(self): | ||
| self.b = Bruch(3, 2) | ||
| self.b2 = Bruch(self.b) | ||
| self.b3 = Bruch(4, 2) | ||
| pass | ||
|
|
||
| def tearDown(self): | ||
| del self.b, self.b2, self.b3 | ||
| pass | ||
|
|
||
| def testTuple(self): | ||
| z, n = Bruch(3, 4) | ||
| assert(z == 3 and n == 4) | ||
|
|
||
| def testTuple2(self): | ||
| z, n = self.b | ||
| self.assertEqual(Bruch(z, n), self.b) | ||
|
|
||
| def testTuple3_Error(self): | ||
| b3 = list(self.b2) | ||
| self.assertRaises(IndexError, self.tryIndex, b3, 3) | ||
|
|
||
| @staticmethod | ||
| def tryIndex(obj, index): | ||
| return obj[index] | ||
|
|
||
| if __name__ == "__main__": | ||
| unittest.main() |
| @@ -0,0 +1,302 @@ | ||
|
|
||
| class Bruch(object): | ||
| ''' | ||
| Bruch überschreibt unzählige standard-Methoedn um sie an Bruchrechnung anzupassen. | ||
| Zum Beispiel : | ||
| - **methods** für brüche: | ||
| * :func:__eq__ : liefert true wenn zähler und nenner gleich sind | ||
| * :func:__abs__ : macht einen negativen bruch positiv | ||
| * :func:__float__ : liefert das Gleitkommaäquivalent zum bruch | ||
| ''' | ||
| def __init__(self,zaehler,nenner=None): | ||
| """ | ||
| __init__ nimmt als Konstruktor einen zähler und einen nenner, mit dem standard-wert none, entgegen. | ||
| danach wird die Validität der einzelnen Parameter überprüft und gegebenenfalls (nenner = 0, nenner oder zähler ist float) | ||
| eine Exception geworfen. falls nicht 2 int-werte sondern nur 1 bruch objekt übergeben wurde bleibt der nenner none und | ||
| es werden zähler und nenner aus dem objekt eingelesen. | ||
| wird bloß 1 int wert übergeben wird der nenner auf 1 gesetzt (ganze zahl) | ||
| :param zaehler: zähler bzw ganze zahl | ||
| :param nenner: nenner bzw none | ||
| """ | ||
| if nenner == 0: | ||
| raise ZeroDivisionError ("zerodiverr") | ||
| if isinstance(nenner,float) : | ||
| raise TypeError | ||
| if isinstance(zaehler,float): | ||
| raise TypeError | ||
| if (nenner != None): | ||
| self.zaehler = zaehler | ||
| self.nenner = nenner | ||
| elif nenner == None and isinstance(zaehler,int): | ||
| self.zaehler = zaehler | ||
| self.nenner = 1 | ||
| else : | ||
| self.zaehler = zaehler.zaehler | ||
| self.nenner = zaehler.nenner | ||
|
|
||
| def __eq__(self, other): | ||
| """ | ||
| Überschreiben der equals-methode , sodass sie true zurückgibt wenn zähler und nenner eines bruchs gleich sind | ||
| :param other: | ||
| :return: True wenn Zähler und Nenner eines Bruchs gleich sind. | ||
| """ | ||
| if isinstance(other,Bruch): | ||
| if(self.zaehler == other.zaehler and self.nenner == other.nenner): | ||
| return True | ||
| else: | ||
| if(float(self) == other): | ||
| return True | ||
|
|
||
| def __float__(self): | ||
| """ | ||
| Überschreibt die methode float, sodass sie den Gleitkommawert des Bruchs zurück gibt | ||
| :return: Gleitkommawert des Brcuhs | ||
| """ | ||
| floatneu = self.zaehler/self.nenner | ||
| return floatneu | ||
|
|
||
| def __int__(self): | ||
| """ | ||
| Überschreibt die methode int, sodass sie den Ganzzahligenwert des Bruchs zurück gibt | ||
| :return: Ganzzahligenwert des Bruchs | ||
| """ | ||
| intneu = int(self.zaehler/self.nenner) | ||
| return intneu | ||
|
|
||
| def __complex__(self): | ||
| """ | ||
| Überschreibt die Methode complex, sodass complex auf den Gleitkommawert des Bruchs angewendet wird. | ||
| :return: | ||
| """ | ||
| complexneu = complex(self.zaehler/self.nenner) | ||
| return complexneu | ||
|
|
||
| def __invert__(self): | ||
| """ | ||
| Überschreibt die Methode invert, sodass der Bruch mit vertauschtem Zähler und Nenner zurückgegeben wird | ||
| :return: Bruch(self.nenner,self.zaehler) | ||
| """ | ||
| zaehlerneu = self.nenner | ||
| nennerneu = self.zaehler | ||
| return Bruch(zaehlerneu,nennerneu) | ||
|
|
||
| def __str__(self): | ||
| """ | ||
| Überschreibt die Methode String, sodass der Bruch in formatierter Form ausgegeben wird. Falls es sich um eine ganze Zahl handelt wird nur der Zähler zurückgegeben. | ||
| :return: Formatierter String des Bruchs | ||
| """ | ||
| if(self.nenner == 1): | ||
| return '('+str(self.zaehler)+')' | ||
| else : | ||
| if float(self.zaehler < 0 and self.nenner < 0): | ||
| return str("(" + str(self.zaehler * (-1)) + "/" + str(self.nenner * (-1)) + ")") | ||
| else: | ||
| return str("(" + str(self.zaehler) + "/" + str(self.nenner) + ")") | ||
|
|
||
| def __abs__(self): | ||
| """ | ||
| Überschreibt die Methode abs, sodass ein neuer Bruch mit dem Betrag das alten Nenners und dem Betrag des altern Zählers zurück gegeben wird. | ||
| :return: Neuer Bruch | ||
| """ | ||
| zaehlerneu = abs(self.zaehler) | ||
| nennerneu = abs(self.nenner) | ||
| return Bruch(zaehlerneu, nennerneu) | ||
|
|
||
| def __neg__(self): | ||
| """ | ||
| Überschreibt die Methode neg, sodass der Bruch invertiert, also mit -1 multipliziert, wird und gibt ihn zurück. | ||
| :return: neuer negierter Bruch | ||
| """ | ||
| return(Bruch(self.zaehler*(-1),self.nenner)) | ||
|
|
||
| def __pow__(self, power, modulo=None): | ||
| """ | ||
| Überschreibt die Methode, sodass der Bruch hoch einer Zahl gehoben wird. Dabei werden je nenner und zähler potenziert | ||
| :param power: potenz | ||
| :param modulo: modulo=None weil kein Modulo benötigt wird | ||
| :return: Bruch hoch der Potenz | ||
| """ | ||
| return Bruch(self.zaehler**power,self.nenner**power) | ||
|
|
||
| def _Bruch__makeBruch(value): | ||
| """ | ||
| private Methode die einen Bruch über die Eingabe eines einzelnen Wert erstellen lässt. Wirft einen TypeError, falls ein String übergeben wird | ||
| :return: neuen Bruch | ||
| """ | ||
| if isinstance(value,str): | ||
| raise TypeError | ||
| else: | ||
| return Bruch(value,value) | ||
|
|
||
| def __add__(self, other): | ||
| """ | ||
| Überschreibt die Methode add, sodass ein Bruch zurück gegeben wird der nach den Bruchrechenregeln eine korrekte Summe zweier Brüche darstellt. | ||
| :param other: Bruch der addiert wird | ||
| :return: neuen Bruch = addition von self und other | ||
| """ | ||
| if isinstance(other, (float, str)): | ||
| raise TypeError | ||
| other = Bruch(other) | ||
| return Bruch(self.zaehler * other.nenner + other.zaehler * self.nenner, self.nenner * other.nenner) | ||
|
|
||
| def __iadd__(self, other): | ||
| """ | ||
| Überschreibt die Methode iadd, sodass es möglich ist den += Operator zu verwenden | ||
| :param other: zweiter Bruch | ||
| :return: neuen Bruch = addition von self und other | ||
| """ | ||
| if isinstance(other,(float,str)): | ||
| raise TypeError | ||
| return self + other | ||
|
|
||
| def __radd__(self, other): | ||
| """ | ||
| Überschreibt die Methode radd, sodass es möglich ist einen Bruch, konform der Bruchrechenregeln, mit einer ganze Zahl zu multiplizieren | ||
| :param other: | ||
| :return: Bruch multipliziert mit einer ganzen Zahl | ||
| """ | ||
| return (Bruch(self.zaehler*other,self.nenner)) | ||
|
|
||
| def __truediv__(self, other): | ||
| """ | ||
| Überschreibt die Methode div, sodass es möglich ist zwei Brüche, konform der Bruchrechenregeln, durcheinander zu dividieren | ||
| :param other: | ||
| :return: neuer Bruch der durch die Division entstanden ist | ||
| """ | ||
| if isinstance(other,(float,str)): | ||
| raise TypeError | ||
| other = Bruch(other) | ||
| return Bruch(self.zaehler*other.nenner, self.nenner*other.zaehler) | ||
|
|
||
| def __rtruediv__(self, other): | ||
| """ | ||
| Überschreibt die Methode div, sodass es möglich is einen Bruch, konform der Bruchrechenregeln, durch eine ganze Zahl zu dividieren | ||
| :param other: | ||
| :return: | ||
| """ | ||
| if isinstance(other, (float, str)): | ||
| raise TypeError | ||
| other = Bruch(other) | ||
| return Bruch(other.zaehler * self.nenner, other.nenner * self.zaehler) | ||
|
|
||
| def __itruediv__(self, other): | ||
| """ | ||
| Überschreibt die Methode itruediv, sodass es möglich ist den =/ Operator zu verwenden | ||
| :param other: | ||
| :return: Neuer Bruch, Ergebnis der Division self other | ||
| """ | ||
| if isinstance(other,(float,str)): | ||
| raise TypeError | ||
| other = Bruch(other) | ||
| return self/other | ||
|
|
||
| def __mul__(self, other): | ||
| """ | ||
| Überschreib die Methode mul, sodass es möglich ist 2 Brüche, gemäß der Bruchrechenregeln, zu multiplizieren | ||
| :param other: | ||
| :return: neuer Bruch, Ergebnis der Multiplikation self other | ||
| """ | ||
| if isinstance(other,(float,str)): | ||
| raise TypeError | ||
| other = Bruch(other) | ||
| return Bruch(self.zaehler*other.zaehler, self.nenner*other.nenner) | ||
|
|
||
| def __rmul__(self, other): | ||
| """ | ||
| Überschreibt die Methode div, sodass es möglich is einen Bruch, konform der Bruchrechenregeln, mit einer ganzen Zahl zu multiplizieren | ||
| :param other: | ||
| :return: neuer Bruch, Ergebnis der Multiplikation | ||
| """ | ||
| other = Bruch(other) | ||
| return Bruch(self.zaehler*other.zaehler, self.nenner*other.nenner) | ||
|
|
||
| def __imul__(self, other): | ||
| """ | ||
| Überschreibt die Methode itruediv, sodass es möglich ist den *= Operator zu verwenden | ||
| :param other: | ||
| :return: neuer Bruch, Ergebnis der Multiplikation | ||
| """ | ||
| if isinstance(other,(float,str)): | ||
| raise TypeError | ||
| other = Bruch(other) | ||
| return Bruch(self.zaehler*other.zaehler, self.nenner*other.nenner) | ||
|
|
||
| def __sub__(self, other): | ||
| """ | ||
| Überschreibt die Methode itruediv, sodass zwei Brüche, gemäß der Bruchrechenregeln, subtrahiert werden können. | ||
| :param other: | ||
| :return: Neuer Bruch, Ergebnis der Subtraktion | ||
| """ | ||
| other = Bruch(other) | ||
| bruchselfneu = Bruch(self.zaehler * other.nenner, self.nenner * other.nenner) | ||
| bruchothneu = Bruch(other.zaehler * self.nenner, other.nenner * self.nenner) | ||
| return Bruch(bruchselfneu.zaehler - bruchothneu.zaehler, self.nenner * other.nenner) | ||
|
|
||
| def __isub__(self, other): | ||
| """ | ||
| Überschreibt die Methode itruediv, sodass es möglich ist eine ganze Zahl von einem Bruch abzuziehen | ||
| :param other: | ||
| :return: Egebnis der Subtraktion | ||
| """ | ||
| if isinstance(other,(float,str)): | ||
| raise TypeError | ||
| other = Bruch(other) | ||
| return self - other | ||
|
|
||
| def __rsub__(self, other): | ||
| """ | ||
| Überschreibt die Methode itruediv, sodass es möglich ist den -= Operator zu verwenden | ||
| :param other: | ||
| :return: Ergebnis der Subtraktion | ||
| """ | ||
| if isinstance(other,(float,str)): | ||
| raise TypeError | ||
| other = Bruch(other) | ||
| return other - self | ||
|
|
||
| def __ge__(self, other): | ||
| """ | ||
| Überschreibt die Methode ge, sodass 2 Brüche verglichen werden können. | ||
| :param other: | ||
| :return: True wenn gleitkomma self >= gleitkomma other | ||
| """ | ||
| if float(self) >= float(other): | ||
| return True | ||
|
|
||
| def __le__(self, other): | ||
| """ | ||
| Überschreibt die Methode le, sodass 2 Brüche verglichen werden können. | ||
| :param other: | ||
| :return:True wenn gleitkomma self <= gleitkomma other | ||
| """ | ||
| if float(self) <= float(other): | ||
| return True | ||
|
|
||
| def __lt__(self, other): | ||
| """ | ||
| Überschreibt die Methode lt, sodass 2 Brüche verglichen werden können. | ||
| :param other: | ||
| :return: True wenn gleitkomma self < gleitkomma other | ||
| """ | ||
| if float(self) < float(other): | ||
| return True | ||
|
|
||
| def __gt__(self, other): | ||
| """ | ||
| Überschreibt die Methode gt, sodass 2 Brüche verglichen werden können. | ||
| :param other: | ||
| :return: True wenn gleitkomma self > gleitkomma other | ||
| """ | ||
| if float(self) > float (other): | ||
| return True | ||
|
|
||
| def __iter__(self): | ||
| """ | ||
| Überschreibt die Methode iter, sodass man Brüche in Listen zurückgeben kann. | ||
| :return: Listenelemente | ||
| """ | ||
|
|
||
| list = [self.zaehler, self.nenner] | ||
| for x in list: | ||
| yield x |
| @@ -0,0 +1,4 @@ | ||
| # Sphinx build info version 1 | ||
| # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
| config: fe2a9054678b238f50a2e555b9643753 | ||
| tags: 645f666f9bcd5a90fca523b33c5a78b7 |
| @@ -0,0 +1,99 @@ | ||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
|
||
|
|
||
| <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
|
|
||
| <title>PythonTDDDoc module — PythonTDD 1 documentation</title> | ||
|
|
||
| <link rel="stylesheet" href="_static/alabaster.css" type="text/css" /> | ||
| <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> | ||
|
|
||
| <script type="text/javascript"> | ||
| var DOCUMENTATION_OPTIONS = { | ||
| URL_ROOT: './', | ||
| VERSION: '1', | ||
| COLLAPSE_INDEX: false, | ||
| FILE_SUFFIX: '.html', | ||
| HAS_SOURCE: true | ||
| }; | ||
| </script> | ||
| <script type="text/javascript" src="_static/jquery.js"></script> | ||
| <script type="text/javascript" src="_static/underscore.js"></script> | ||
| <script type="text/javascript" src="_static/doctools.js"></script> | ||
| <link rel="index" title="Index" href="genindex.html" /> | ||
| <link rel="search" title="Search" href="search.html" /> | ||
| <link rel="top" title="PythonTDD 1 documentation" href="index.html" /> | ||
| <link rel="prev" title="Welcome to PythonTDD’s documentation!" href="index.html" /> | ||
|
|
||
| <link rel="stylesheet" href="_static/custom.css" type="text/css" /> | ||
|
|
||
|
|
||
| <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | ||
|
|
||
| </head> | ||
| <body role="document"> | ||
|
|
||
|
|
||
| <div class="document"> | ||
| <div class="documentwrapper"> | ||
| <div class="bodywrapper"> | ||
| <div class="body" role="main"> | ||
|
|
||
| <div class="section" id="module-bruch.Bruch"> | ||
| <span id="pythontdddoc-module"></span><h1>PythonTDDDoc module<a class="headerlink" href="#module-bruch.Bruch" title="Permalink to this headline">¶</a></h1> | ||
| </div> | ||
|
|
||
|
|
||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | ||
| <div class="sphinxsidebarwrapper"><div class="relations"> | ||
| <h3>Related Topics</h3> | ||
| <ul> | ||
| <li><a href="index.html">Documentation overview</a><ul> | ||
| <li>Previous: <a href="index.html" title="previous chapter">Welcome to PythonTDD’s documentation!</a></li> | ||
| </ul></li> | ||
| </ul> | ||
| </div> | ||
| <div role="note" aria-label="source link"> | ||
| <h3>This Page</h3> | ||
| <ul class="this-page-menu"> | ||
| <li><a href="_sources/PythonTDDDoc.txt" | ||
| rel="nofollow">Show Source</a></li> | ||
| </ul> | ||
| </div> | ||
| <div id="searchbox" style="display: none" role="search"> | ||
| <h3>Quick search</h3> | ||
| <form class="search" action="search.html" method="get"> | ||
| <div><input type="text" name="q" /></div> | ||
| <div><input type="submit" value="Go" /></div> | ||
| <input type="hidden" name="check_keywords" value="yes" /> | ||
| <input type="hidden" name="area" value="default" /> | ||
| </form> | ||
| </div> | ||
| <script type="text/javascript">$('#searchbox').show(0);</script> | ||
| </div> | ||
| </div> | ||
| <div class="clearer"></div> | ||
| </div> | ||
| <div class="footer"> | ||
| ©2016, Hauer Miriam. | ||
|
|
||
| | | ||
| Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4.8</a> | ||
| & <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.9</a> | ||
|
|
||
| | | ||
| <a href="_sources/PythonTDDDoc.txt" | ||
| rel="nofollow">Page source</a> | ||
| </div> | ||
|
|
||
|
|
||
|
|
||
|
|
||
| </body> | ||
| </html> |
| @@ -0,0 +1,12 @@ | ||
| PythonTDDDoc module | ||
| ------------------------ | ||
|
|
||
| .. automodule:: bruch.Bruch | ||
| .. autoclass:: Bruch | ||
| :members: | ||
| :private-members: | ||
| :undoc-members: | ||
| :special-members: | ||
| :show-inheritance: | ||
| :exclude-members: | ||
| __dict__,__weakref__,__hash__,__module__ |
| @@ -0,0 +1,35 @@ | ||
| .. PythonTDD documentation master file, created by | ||
| sphinx-quickstart on Sun Oct 23 23:05:12 2016. | ||
| You can adapt this file completely to your liking, but it should at least | ||
| contain the root `toctree` directive. | ||
|
|
||
| Welcome to PythonTDD's documentation! | ||
| ===================================== | ||
|
|
||
| Contents: | ||
|
|
||
| .. toctree:: | ||
| :maxdepth: 2 | ||
|
|
||
|
|
||
|
|
||
| Indices and tables | ||
| ================== | ||
|
|
||
| * :ref:`genindex` | ||
| * :ref:`modindex` | ||
| * :ref:`search` | ||
|
|
||
|
|
||
| bruch module | ||
| ============ | ||
|
|
||
| .. automodule:: bruch.Bruch | ||
| .. autoclass:: Bruch | ||
| :members: | ||
| :private-members: | ||
| :undoc-members: | ||
| :special-members: | ||
| :show-inheritance: | ||
| :exclude-members: __weakref__,__module__,__dict__,__hash__ | ||
|
|
| @@ -0,0 +1 @@ | ||
| /* This file intentionally left blank. */ |
| @@ -0,0 +1,287 @@ | ||
| /* | ||
| * doctools.js | ||
| * ~~~~~~~~~~~ | ||
| * | ||
| * Sphinx JavaScript utilities for all documentation. | ||
| * | ||
| * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. | ||
| * :license: BSD, see LICENSE for details. | ||
| * | ||
| */ | ||
|
|
||
| /** | ||
| * select a different prefix for underscore | ||
| */ | ||
| $u = _.noConflict(); | ||
|
|
||
| /** | ||
| * make the code below compatible with browsers without | ||
| * an installed firebug like debugger | ||
| if (!window.console || !console.firebug) { | ||
| var names = ["log", "debug", "info", "warn", "error", "assert", "dir", | ||
| "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", | ||
| "profile", "profileEnd"]; | ||
| window.console = {}; | ||
| for (var i = 0; i < names.length; ++i) | ||
| window.console[names[i]] = function() {}; | ||
| } | ||
| */ | ||
|
|
||
| /** | ||
| * small helper function to urldecode strings | ||
| */ | ||
| jQuery.urldecode = function(x) { | ||
| return decodeURIComponent(x).replace(/\+/g, ' '); | ||
| }; | ||
|
|
||
| /** | ||
| * small helper function to urlencode strings | ||
| */ | ||
| jQuery.urlencode = encodeURIComponent; | ||
|
|
||
| /** | ||
| * This function returns the parsed url parameters of the | ||
| * current request. Multiple values per key are supported, | ||
| * it will always return arrays of strings for the value parts. | ||
| */ | ||
| jQuery.getQueryParameters = function(s) { | ||
| if (typeof s == 'undefined') | ||
| s = document.location.search; | ||
| var parts = s.substr(s.indexOf('?') + 1).split('&'); | ||
| var result = {}; | ||
| for (var i = 0; i < parts.length; i++) { | ||
| var tmp = parts[i].split('=', 2); | ||
| var key = jQuery.urldecode(tmp[0]); | ||
| var value = jQuery.urldecode(tmp[1]); | ||
| if (key in result) | ||
| result[key].push(value); | ||
| else | ||
| result[key] = [value]; | ||
| } | ||
| return result; | ||
| }; | ||
|
|
||
| /** | ||
| * highlight a given string on a jquery object by wrapping it in | ||
| * span elements with the given class name. | ||
| */ | ||
| jQuery.fn.highlightText = function(text, className) { | ||
| function highlight(node) { | ||
| if (node.nodeType == 3) { | ||
| var val = node.nodeValue; | ||
| var pos = val.toLowerCase().indexOf(text); | ||
| if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) { | ||
| var span = document.createElement("span"); | ||
| span.className = className; | ||
| span.appendChild(document.createTextNode(val.substr(pos, text.length))); | ||
| node.parentNode.insertBefore(span, node.parentNode.insertBefore( | ||
| document.createTextNode(val.substr(pos + text.length)), | ||
| node.nextSibling)); | ||
| node.nodeValue = val.substr(0, pos); | ||
| } | ||
| } | ||
| else if (!jQuery(node).is("button, select, textarea")) { | ||
| jQuery.each(node.childNodes, function() { | ||
| highlight(this); | ||
| }); | ||
| } | ||
| } | ||
| return this.each(function() { | ||
| highlight(this); | ||
| }); | ||
| }; | ||
|
|
||
| /* | ||
| * backward compatibility for jQuery.browser | ||
| * This will be supported until firefox bug is fixed. | ||
| */ | ||
| if (!jQuery.browser) { | ||
| jQuery.uaMatch = function(ua) { | ||
| ua = ua.toLowerCase(); | ||
|
|
||
| var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || | ||
| /(webkit)[ \/]([\w.]+)/.exec(ua) || | ||
| /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || | ||
| /(msie) ([\w.]+)/.exec(ua) || | ||
| ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || | ||
| []; | ||
|
|
||
| return { | ||
| browser: match[ 1 ] || "", | ||
| version: match[ 2 ] || "0" | ||
| }; | ||
| }; | ||
| jQuery.browser = {}; | ||
| jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; | ||
| } | ||
|
|
||
| /** | ||
| * Small JavaScript module for the documentation. | ||
| */ | ||
| var Documentation = { | ||
|
|
||
| init : function() { | ||
| this.fixFirefoxAnchorBug(); | ||
| this.highlightSearchWords(); | ||
| this.initIndexTable(); | ||
|
|
||
| }, | ||
|
|
||
| /** | ||
| * i18n support | ||
| */ | ||
| TRANSLATIONS : {}, | ||
| PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, | ||
| LOCALE : 'unknown', | ||
|
|
||
| // gettext and ngettext don't access this so that the functions | ||
| // can safely bound to a different name (_ = Documentation.gettext) | ||
| gettext : function(string) { | ||
| var translated = Documentation.TRANSLATIONS[string]; | ||
| if (typeof translated == 'undefined') | ||
| return string; | ||
| return (typeof translated == 'string') ? translated : translated[0]; | ||
| }, | ||
|
|
||
| ngettext : function(singular, plural, n) { | ||
| var translated = Documentation.TRANSLATIONS[singular]; | ||
| if (typeof translated == 'undefined') | ||
| return (n == 1) ? singular : plural; | ||
| return translated[Documentation.PLURALEXPR(n)]; | ||
| }, | ||
|
|
||
| addTranslations : function(catalog) { | ||
| for (var key in catalog.messages) | ||
| this.TRANSLATIONS[key] = catalog.messages[key]; | ||
| this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); | ||
| this.LOCALE = catalog.locale; | ||
| }, | ||
|
|
||
| /** | ||
| * add context elements like header anchor links | ||
| */ | ||
| addContextElements : function() { | ||
| $('div[id] > :header:first').each(function() { | ||
| $('<a class="headerlink">\u00B6</a>'). | ||
| attr('href', '#' + this.id). | ||
| attr('title', _('Permalink to this headline')). | ||
| appendTo(this); | ||
| }); | ||
| $('dt[id]').each(function() { | ||
| $('<a class="headerlink">\u00B6</a>'). | ||
| attr('href', '#' + this.id). | ||
| attr('title', _('Permalink to this definition')). | ||
| appendTo(this); | ||
| }); | ||
| }, | ||
|
|
||
| /** | ||
| * workaround a firefox stupidity | ||
| * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 | ||
| */ | ||
| fixFirefoxAnchorBug : function() { | ||
| if (document.location.hash) | ||
| window.setTimeout(function() { | ||
| document.location.href += ''; | ||
| }, 10); | ||
| }, | ||
|
|
||
| /** | ||
| * highlight the search words provided in the url in the text | ||
| */ | ||
| highlightSearchWords : function() { | ||
| var params = $.getQueryParameters(); | ||
| var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; | ||
| if (terms.length) { | ||
| var body = $('div.body'); | ||
| if (!body.length) { | ||
| body = $('body'); | ||
| } | ||
| window.setTimeout(function() { | ||
| $.each(terms, function() { | ||
| body.highlightText(this.toLowerCase(), 'highlighted'); | ||
| }); | ||
| }, 10); | ||
| $('<p class="highlight-link"><a href="javascript:Documentation.' + | ||
| 'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>') | ||
| .appendTo($('#searchbox')); | ||
| } | ||
| }, | ||
|
|
||
| /** | ||
| * init the domain index toggle buttons | ||
| */ | ||
| initIndexTable : function() { | ||
| var togglers = $('img.toggler').click(function() { | ||
| var src = $(this).attr('src'); | ||
| var idnum = $(this).attr('id').substr(7); | ||
| $('tr.cg-' + idnum).toggle(); | ||
| if (src.substr(-9) == 'minus.png') | ||
| $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); | ||
| else | ||
| $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); | ||
| }).css('display', ''); | ||
| if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { | ||
| togglers.click(); | ||
| } | ||
| }, | ||
|
|
||
| /** | ||
| * helper function to hide the search marks again | ||
| */ | ||
| hideSearchWords : function() { | ||
| $('#searchbox .highlight-link').fadeOut(300); | ||
| $('span.highlighted').removeClass('highlighted'); | ||
| }, | ||
|
|
||
| /** | ||
| * make the url absolute | ||
| */ | ||
| makeURL : function(relativeURL) { | ||
| return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; | ||
| }, | ||
|
|
||
| /** | ||
| * get the current relative url | ||
| */ | ||
| getCurrentURL : function() { | ||
| var path = document.location.pathname; | ||
| var parts = path.split(/\//); | ||
| $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { | ||
| if (this == '..') | ||
| parts.pop(); | ||
| }); | ||
| var url = parts.join('/'); | ||
| return path.substring(url.lastIndexOf('/') + 1, path.length - 1); | ||
| }, | ||
|
|
||
| initOnKeyListeners: function() { | ||
| $(document).keyup(function(event) { | ||
| var activeElementType = document.activeElement.tagName; | ||
| // don't navigate when in search box or textarea | ||
| if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') { | ||
| switch (event.keyCode) { | ||
| case 37: // left | ||
| var prevHref = $('link[rel="prev"]').prop('href'); | ||
| if (prevHref) { | ||
| window.location.href = prevHref; | ||
| return false; | ||
| } | ||
| case 39: // right | ||
| var nextHref = $('link[rel="next"]').prop('href'); | ||
| if (nextHref) { | ||
| window.location.href = nextHref; | ||
| return false; | ||
| } | ||
| } | ||
| } | ||
| }); | ||
| } | ||
| }; | ||
|
|
||
| // quick alias for translations | ||
| _ = Documentation.gettext; | ||
|
|
||
| $(document).ready(function() { | ||
| Documentation.init(); | ||
| }); |
| @@ -0,0 +1,65 @@ | ||
| .highlight .hll { background-color: #ffffcc } | ||
| .highlight { background: #eeffcc; } | ||
| .highlight .c { color: #408090; font-style: italic } /* Comment */ | ||
| .highlight .err { border: 1px solid #FF0000 } /* Error */ | ||
| .highlight .k { color: #007020; font-weight: bold } /* Keyword */ | ||
| .highlight .o { color: #666666 } /* Operator */ | ||
| .highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */ | ||
| .highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */ | ||
| .highlight .cp { color: #007020 } /* Comment.Preproc */ | ||
| .highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */ | ||
| .highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */ | ||
| .highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */ | ||
| .highlight .gd { color: #A00000 } /* Generic.Deleted */ | ||
| .highlight .ge { font-style: italic } /* Generic.Emph */ | ||
| .highlight .gr { color: #FF0000 } /* Generic.Error */ | ||
| .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ | ||
| .highlight .gi { color: #00A000 } /* Generic.Inserted */ | ||
| .highlight .go { color: #333333 } /* Generic.Output */ | ||
| .highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ | ||
| .highlight .gs { font-weight: bold } /* Generic.Strong */ | ||
| .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ | ||
| .highlight .gt { color: #0044DD } /* Generic.Traceback */ | ||
| .highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ | ||
| .highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ | ||
| .highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ | ||
| .highlight .kp { color: #007020 } /* Keyword.Pseudo */ | ||
| .highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ | ||
| .highlight .kt { color: #902000 } /* Keyword.Type */ | ||
| .highlight .m { color: #208050 } /* Literal.Number */ | ||
| .highlight .s { color: #4070a0 } /* Literal.String */ | ||
| .highlight .na { color: #4070a0 } /* Name.Attribute */ | ||
| .highlight .nb { color: #007020 } /* Name.Builtin */ | ||
| .highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ | ||
| .highlight .no { color: #60add5 } /* Name.Constant */ | ||
| .highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ | ||
| .highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ | ||
| .highlight .ne { color: #007020 } /* Name.Exception */ | ||
| .highlight .nf { color: #06287e } /* Name.Function */ | ||
| .highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ | ||
| .highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ | ||
| .highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ | ||
| .highlight .nv { color: #bb60d5 } /* Name.Variable */ | ||
| .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ | ||
| .highlight .w { color: #bbbbbb } /* Text.Whitespace */ | ||
| .highlight .mb { color: #208050 } /* Literal.Number.Bin */ | ||
| .highlight .mf { color: #208050 } /* Literal.Number.Float */ | ||
| .highlight .mh { color: #208050 } /* Literal.Number.Hex */ | ||
| .highlight .mi { color: #208050 } /* Literal.Number.Integer */ | ||
| .highlight .mo { color: #208050 } /* Literal.Number.Oct */ | ||
| .highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ | ||
| .highlight .sc { color: #4070a0 } /* Literal.String.Char */ | ||
| .highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ | ||
| .highlight .s2 { color: #4070a0 } /* Literal.String.Double */ | ||
| .highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ | ||
| .highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ | ||
| .highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ | ||
| .highlight .sx { color: #c65d09 } /* Literal.String.Other */ | ||
| .highlight .sr { color: #235388 } /* Literal.String.Regex */ | ||
| .highlight .s1 { color: #4070a0 } /* Literal.String.Single */ | ||
| .highlight .ss { color: #517918 } /* Literal.String.Symbol */ | ||
| .highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ | ||
| .highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ | ||
| .highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ | ||
| .highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ | ||
| .highlight .il { color: #208050 } /* Literal.Number.Integer.Long */ |
| @@ -0,0 +1,232 @@ | ||
|
|
||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
|
||
|
|
||
| <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
|
|
||
| <title>Index — PythonTDD 1 documentation</title> | ||
|
|
||
| <link rel="stylesheet" href="_static/alabaster.css" type="text/css" /> | ||
| <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> | ||
|
|
||
| <script type="text/javascript"> | ||
| var DOCUMENTATION_OPTIONS = { | ||
| URL_ROOT: './', | ||
| VERSION: '1', | ||
| COLLAPSE_INDEX: false, | ||
| FILE_SUFFIX: '.html', | ||
| HAS_SOURCE: true | ||
| }; | ||
| </script> | ||
| <script type="text/javascript" src="_static/jquery.js"></script> | ||
| <script type="text/javascript" src="_static/underscore.js"></script> | ||
| <script type="text/javascript" src="_static/doctools.js"></script> | ||
| <link rel="index" title="Index" href="#" /> | ||
| <link rel="search" title="Search" href="search.html" /> | ||
| <link rel="top" title="PythonTDD 1 documentation" href="index.html" /> | ||
|
|
||
| <link rel="stylesheet" href="_static/custom.css" type="text/css" /> | ||
|
|
||
|
|
||
| <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | ||
|
|
||
| </head> | ||
| <body role="document"> | ||
|
|
||
|
|
||
| <div class="document"> | ||
| <div class="documentwrapper"> | ||
| <div class="bodywrapper"> | ||
| <div class="body" role="main"> | ||
|
|
||
|
|
||
| <h1 id="index">Index</h1> | ||
|
|
||
| <div class="genindex-jumpbox"> | ||
| <a href="#_"><strong>_</strong></a> | ||
| | <a href="#B"><strong>B</strong></a> | ||
|
|
||
| </div> | ||
| <h2 id="_">_</h2> | ||
| <table style="width: 100%" class="indextable genindextable"><tr> | ||
| <td style="width: 33%" valign="top"><dl> | ||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__abs__">__abs__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__add__">__add__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__complex__">__complex__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__eq__">__eq__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__float__">__float__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__ge__">__ge__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__gt__">__gt__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__iadd__">__iadd__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__imul__">__imul__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__init__">__init__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__int__">__int__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__invert__">__invert__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__isub__">__isub__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__iter__">__iter__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
| </dl></td> | ||
| <td style="width: 33%" valign="top"><dl> | ||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__itruediv__">__itruediv__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__le__">__le__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__lt__">__lt__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__mul__">__mul__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__neg__">__neg__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__pow__">__pow__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__radd__">__radd__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__rmul__">__rmul__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__rsub__">__rsub__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__rtruediv__">__rtruediv__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__str__">__str__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__sub__">__sub__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch.__truediv__">__truediv__() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch._Bruch__makeBruch">_Bruch__makeBruch() (bruch.Bruch.Bruch method)</a> | ||
| </dt> | ||
|
|
||
| </dl></td> | ||
| </tr></table> | ||
|
|
||
| <h2 id="B">B</h2> | ||
| <table style="width: 100%" class="indextable genindextable"><tr> | ||
| <td style="width: 33%" valign="top"><dl> | ||
|
|
||
| <dt><a href="index.html#bruch.Bruch.Bruch">Bruch (class in bruch.Bruch)</a> | ||
| </dt> | ||
|
|
||
| </dl></td> | ||
| <td style="width: 33%" valign="top"><dl> | ||
|
|
||
| <dt><a href="index.html#module-bruch.Bruch">bruch.Bruch (module)</a> | ||
| </dt> | ||
|
|
||
| </dl></td> | ||
| </tr></table> | ||
|
|
||
|
|
||
|
|
||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | ||
| <div class="sphinxsidebarwrapper"> | ||
|
|
||
| <div class="relations"> | ||
| <h3>Related Topics</h3> | ||
| <ul> | ||
| <li><a href="index.html">Documentation overview</a><ul> | ||
| </ul></li> | ||
| </ul> | ||
| </div> | ||
|
|
||
| <div id="searchbox" style="display: none" role="search"> | ||
| <h3>Quick search</h3> | ||
| <form class="search" action="search.html" method="get"> | ||
| <div><input type="text" name="q" /></div> | ||
| <div><input type="submit" value="Go" /></div> | ||
| <input type="hidden" name="check_keywords" value="yes" /> | ||
| <input type="hidden" name="area" value="default" /> | ||
| </form> | ||
| </div> | ||
| <script type="text/javascript">$('#searchbox').show(0);</script> | ||
| </div> | ||
| </div> | ||
| <div class="clearer"></div> | ||
| </div> | ||
| <div class="footer"> | ||
| ©2016, Hauer Miriam. | ||
|
|
||
| | | ||
| Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4.8</a> | ||
| & <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.9</a> | ||
|
|
||
| </div> | ||
|
|
||
|
|
||
|
|
||
|
|
||
| </body> | ||
| </html> |
| @@ -0,0 +1,110 @@ | ||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
|
||
|
|
||
| <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
|
|
||
| <title>Python Module Index — PythonTDD 1 documentation</title> | ||
|
|
||
| <link rel="stylesheet" href="_static/alabaster.css" type="text/css" /> | ||
| <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> | ||
|
|
||
| <script type="text/javascript"> | ||
| var DOCUMENTATION_OPTIONS = { | ||
| URL_ROOT: './', | ||
| VERSION: '1', | ||
| COLLAPSE_INDEX: false, | ||
| FILE_SUFFIX: '.html', | ||
| HAS_SOURCE: true | ||
| }; | ||
| </script> | ||
| <script type="text/javascript" src="_static/jquery.js"></script> | ||
| <script type="text/javascript" src="_static/underscore.js"></script> | ||
| <script type="text/javascript" src="_static/doctools.js"></script> | ||
| <link rel="index" title="Index" href="genindex.html" /> | ||
| <link rel="search" title="Search" href="search.html" /> | ||
| <link rel="top" title="PythonTDD 1 documentation" href="index.html" /> | ||
|
|
||
|
|
||
| <link rel="stylesheet" href="_static/custom.css" type="text/css" /> | ||
|
|
||
|
|
||
| <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | ||
|
|
||
|
|
||
|
|
||
| </head> | ||
| <body role="document"> | ||
|
|
||
|
|
||
| <div class="document"> | ||
| <div class="documentwrapper"> | ||
| <div class="bodywrapper"> | ||
| <div class="body" role="main"> | ||
|
|
||
|
|
||
| <h1>Python Module Index</h1> | ||
|
|
||
| <div class="modindex-jumpbox"> | ||
| <a href="#cap-b"><strong>b</strong></a> | ||
| </div> | ||
|
|
||
| <table class="indextable modindextable" cellspacing="0" cellpadding="2"> | ||
| <tr class="pcap"><td></td><td> </td><td></td></tr> | ||
| <tr class="cap" id="cap-b"><td></td><td> | ||
| <strong>b</strong></td><td></td></tr> | ||
| <tr> | ||
| <td><img src="_static/minus.png" class="toggler" | ||
| id="toggle-1" style="display: none" alt="-" /></td> | ||
| <td> | ||
| <code class="xref">bruch</code></td><td> | ||
| <em></em></td></tr> | ||
| <tr class="cg-1"> | ||
| <td></td> | ||
| <td>    | ||
| <a href="index.html#module-bruch.Bruch"><code class="xref">bruch.Bruch</code></a></td><td> | ||
| <em></em></td></tr> | ||
| </table> | ||
|
|
||
|
|
||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | ||
| <div class="sphinxsidebarwrapper"><div class="relations"> | ||
| <h3>Related Topics</h3> | ||
| <ul> | ||
| <li><a href="index.html">Documentation overview</a><ul> | ||
| </ul></li> | ||
| </ul> | ||
| </div> | ||
| <div id="searchbox" style="display: none" role="search"> | ||
| <h3>Quick search</h3> | ||
| <form class="search" action="search.html" method="get"> | ||
| <div><input type="text" name="q" /></div> | ||
| <div><input type="submit" value="Go" /></div> | ||
| <input type="hidden" name="check_keywords" value="yes" /> | ||
| <input type="hidden" name="area" value="default" /> | ||
| </form> | ||
| </div> | ||
| <script type="text/javascript">$('#searchbox').show(0);</script> | ||
| </div> | ||
| </div> | ||
| <div class="clearer"></div> | ||
| </div> | ||
| <div class="footer"> | ||
| ©2016, Hauer Miriam. | ||
|
|
||
| | | ||
| Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4.8</a> | ||
| & <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.9</a> | ||
|
|
||
| </div> | ||
|
|
||
|
|
||
|
|
||
|
|
||
| </body> | ||
| </html> |
| @@ -0,0 +1,104 @@ | ||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
|
||
|
|
||
| <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
|
|
||
| <title>Search — PythonTDD 1 documentation</title> | ||
|
|
||
| <link rel="stylesheet" href="_static/alabaster.css" type="text/css" /> | ||
| <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> | ||
|
|
||
| <script type="text/javascript"> | ||
| var DOCUMENTATION_OPTIONS = { | ||
| URL_ROOT: './', | ||
| VERSION: '1', | ||
| COLLAPSE_INDEX: false, | ||
| FILE_SUFFIX: '.html', | ||
| HAS_SOURCE: true | ||
| }; | ||
| </script> | ||
| <script type="text/javascript" src="_static/jquery.js"></script> | ||
| <script type="text/javascript" src="_static/underscore.js"></script> | ||
| <script type="text/javascript" src="_static/doctools.js"></script> | ||
| <script type="text/javascript" src="_static/searchtools.js"></script> | ||
| <link rel="index" title="Index" href="genindex.html" /> | ||
| <link rel="search" title="Search" href="#" /> | ||
| <link rel="top" title="PythonTDD 1 documentation" href="index.html" /> | ||
| <script type="text/javascript"> | ||
| jQuery(function() { Search.loadIndex("searchindex.js"); }); | ||
| </script> | ||
|
|
||
| <script type="text/javascript" id="searchindexloader"></script> | ||
|
|
||
|
|
||
| <link rel="stylesheet" href="_static/custom.css" type="text/css" /> | ||
|
|
||
|
|
||
| <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | ||
|
|
||
|
|
||
| </head> | ||
| <body role="document"> | ||
|
|
||
|
|
||
| <div class="document"> | ||
| <div class="documentwrapper"> | ||
| <div class="bodywrapper"> | ||
| <div class="body" role="main"> | ||
|
|
||
| <h1 id="search-documentation">Search</h1> | ||
| <div id="fallback" class="admonition warning"> | ||
| <script type="text/javascript">$('#fallback').hide();</script> | ||
| <p> | ||
| Please activate JavaScript to enable the search | ||
| functionality. | ||
| </p> | ||
| </div> | ||
| <p> | ||
| From here you can search these documents. Enter your search | ||
| words into the box below and click "search". Note that the search | ||
| function will automatically search for all of the words. Pages | ||
| containing fewer words won't appear in the result list. | ||
| </p> | ||
| <form action="" method="get"> | ||
| <input type="text" name="q" value="" /> | ||
| <input type="submit" value="search" /> | ||
| <span id="search-progress" style="padding-left: 10px"></span> | ||
| </form> | ||
|
|
||
| <div id="search-results"> | ||
|
|
||
| </div> | ||
|
|
||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | ||
| <div class="sphinxsidebarwrapper"><div class="relations"> | ||
| <h3>Related Topics</h3> | ||
| <ul> | ||
| <li><a href="index.html">Documentation overview</a><ul> | ||
| </ul></li> | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="clearer"></div> | ||
| </div> | ||
| <div class="footer"> | ||
| ©2016, Hauer Miriam. | ||
|
|
||
| | | ||
| Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4.8</a> | ||
| & <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.9</a> | ||
|
|
||
| </div> | ||
|
|
||
|
|
||
|
|
||
|
|
||
| </body> | ||
| </html> |
| @@ -0,0 +1,281 @@ | ||
| @ECHO OFF | ||
|
|
||
| REM Command file for Sphinx documentation | ||
|
|
||
| if "%SPHINXBUILD%" == "" ( | ||
| set SPHINXBUILD=sphinx-build | ||
| ) | ||
| set BUILDDIR=build | ||
| set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source | ||
| set I18NSPHINXOPTS=%SPHINXOPTS% source | ||
| if NOT "%PAPER%" == "" ( | ||
| set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% | ||
| set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS% | ||
| ) | ||
|
|
||
| if "%1" == "" goto help | ||
|
|
||
| if "%1" == "help" ( | ||
| :help | ||
| echo.Please use `make ^<target^>` where ^<target^> is one of | ||
| echo. html to make standalone HTML files | ||
| echo. dirhtml to make HTML files named index.html in directories | ||
| echo. singlehtml to make a single large HTML file | ||
| echo. pickle to make pickle files | ||
| echo. json to make JSON files | ||
| echo. htmlhelp to make HTML files and a HTML help project | ||
| echo. qthelp to make HTML files and a qthelp project | ||
| echo. devhelp to make HTML files and a Devhelp project | ||
| echo. epub to make an epub | ||
| echo. epub3 to make an epub3 | ||
| echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter | ||
| echo. text to make text files | ||
| echo. man to make manual pages | ||
| echo. texinfo to make Texinfo files | ||
| echo. gettext to make PO message catalogs | ||
| echo. changes to make an overview over all changed/added/deprecated items | ||
| echo. xml to make Docutils-native XML files | ||
| echo. pseudoxml to make pseudoxml-XML files for display purposes | ||
| echo. linkcheck to check all external links for integrity | ||
| echo. doctest to run all doctests embedded in the documentation if enabled | ||
| echo. coverage to run coverage check of the documentation if enabled | ||
| echo. dummy to check syntax errors of document sources | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "clean" ( | ||
| for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i | ||
| del /q /s %BUILDDIR%\* | ||
| goto end | ||
| ) | ||
|
|
||
|
|
||
| REM Check if sphinx-build is available and fallback to Python version if any | ||
| %SPHINXBUILD% 1>NUL 2>NUL | ||
| if errorlevel 9009 goto sphinx_python | ||
| goto sphinx_ok | ||
|
|
||
| :sphinx_python | ||
|
|
||
| set SPHINXBUILD=python -m sphinx.__init__ | ||
| %SPHINXBUILD% 2> nul | ||
| if errorlevel 9009 ( | ||
| echo. | ||
| echo.The 'sphinx-build' command was not found. Make sure you have Sphinx | ||
| echo.installed, then set the SPHINXBUILD environment variable to point | ||
| echo.to the full path of the 'sphinx-build' executable. Alternatively you | ||
| echo.may add the Sphinx directory to PATH. | ||
| echo. | ||
| echo.If you don't have Sphinx installed, grab it from | ||
| echo.http://sphinx-doc.org/ | ||
| exit /b 1 | ||
| ) | ||
|
|
||
| :sphinx_ok | ||
|
|
||
|
|
||
| if "%1" == "html" ( | ||
| %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The HTML pages are in %BUILDDIR%/html. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "dirhtml" ( | ||
| %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "singlehtml" ( | ||
| %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "pickle" ( | ||
| %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished; now you can process the pickle files. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "json" ( | ||
| %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished; now you can process the JSON files. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "htmlhelp" ( | ||
| %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished; now you can run HTML Help Workshop with the ^ | ||
| .hhp project file in %BUILDDIR%/htmlhelp. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "qthelp" ( | ||
| %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished; now you can run "qcollectiongenerator" with the ^ | ||
| .qhcp project file in %BUILDDIR%/qthelp, like this: | ||
| echo.^> qcollectiongenerator %BUILDDIR%\qthelp\PythonTDD.qhcp | ||
| echo.To view the help file: | ||
| echo.^> assistant -collectionFile %BUILDDIR%\qthelp\PythonTDD.ghc | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "devhelp" ( | ||
| %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "epub" ( | ||
| %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The epub file is in %BUILDDIR%/epub. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "epub3" ( | ||
| %SPHINXBUILD% -b epub3 %ALLSPHINXOPTS% %BUILDDIR%/epub3 | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The epub3 file is in %BUILDDIR%/epub3. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "latex" ( | ||
| %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished; the LaTeX files are in %BUILDDIR%/latex. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "latexpdf" ( | ||
| %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex | ||
| cd %BUILDDIR%/latex | ||
| make all-pdf | ||
| cd %~dp0 | ||
| echo. | ||
| echo.Build finished; the PDF files are in %BUILDDIR%/latex. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "latexpdfja" ( | ||
| %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex | ||
| cd %BUILDDIR%/latex | ||
| make all-pdf-ja | ||
| cd %~dp0 | ||
| echo. | ||
| echo.Build finished; the PDF files are in %BUILDDIR%/latex. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "text" ( | ||
| %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The text files are in %BUILDDIR%/text. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "man" ( | ||
| %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The manual pages are in %BUILDDIR%/man. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "texinfo" ( | ||
| %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "gettext" ( | ||
| %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The message catalogs are in %BUILDDIR%/locale. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "changes" ( | ||
| %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.The overview file is in %BUILDDIR%/changes. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "linkcheck" ( | ||
| %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Link check complete; look for any errors in the above output ^ | ||
| or in %BUILDDIR%/linkcheck/output.txt. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "doctest" ( | ||
| %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Testing of doctests in the sources finished, look at the ^ | ||
| results in %BUILDDIR%/doctest/output.txt. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "coverage" ( | ||
| %SPHINXBUILD% -b coverage %ALLSPHINXOPTS% %BUILDDIR%/coverage | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Testing of coverage in the sources finished, look at the ^ | ||
| results in %BUILDDIR%/coverage/python.txt. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "xml" ( | ||
| %SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The XML files are in %BUILDDIR%/xml. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "pseudoxml" ( | ||
| %SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml. | ||
| goto end | ||
| ) | ||
|
|
||
| if "%1" == "dummy" ( | ||
| %SPHINXBUILD% -b dummy %ALLSPHINXOPTS% %BUILDDIR%/dummy | ||
| if errorlevel 1 exit /b 1 | ||
| echo. | ||
| echo.Build finished. Dummy builder generates no files. | ||
| goto end | ||
| ) | ||
|
|
||
| :end |
| @@ -0,0 +1,343 @@ | ||
| #!/usr/bin/env python3 | ||
| # -*- coding: utf-8 -*- | ||
| # | ||
| # PythonTDD documentation build configuration file, created by | ||
| # sphinx-quickstart on Sun Oct 23 23:05:12 2016. | ||
| # | ||
| # This file is execfile()d with the current directory set to its | ||
| # containing dir. | ||
| # | ||
| # Note that not all possible configuration values are present in this | ||
| # autogenerated file. | ||
| # | ||
| # All configuration values have a default; values that are commented out | ||
| # serve to show the default. | ||
|
|
||
| # If extensions (or modules to document with autodoc) are in another directory, | ||
| # add these directories to sys.path here. If the directory is relative to the | ||
| # documentation root, use os.path.abspath to make it absolute, like shown here. | ||
| # | ||
| import os | ||
| import sys | ||
| sys.path.insert(0, os.path.abspath('..')) | ||
|
|
||
| # -- General configuration ------------------------------------------------ | ||
|
|
||
| # If your documentation needs a minimal Sphinx version, state it here. | ||
| # | ||
| # needs_sphinx = '1.0' | ||
|
|
||
| # Add any Sphinx extension module names here, as strings. They can be | ||
| # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | ||
| # ones. | ||
| extensions = [ | ||
| 'sphinx.ext.autodoc', | ||
| 'sphinx.ext.doctest', | ||
| 'sphinx.ext.coverage', | ||
| ] | ||
|
|
||
| # Add any paths that contain templates here, relative to this directory. | ||
| templates_path = ['_templates'] | ||
|
|
||
| # The suffix(es) of source filenames. | ||
| # You can specify multiple suffix as a list of string: | ||
| # | ||
| # source_suffix = ['.rst', '.md'] | ||
| source_suffix = '.rst' | ||
|
|
||
| # The encoding of source files. | ||
| # | ||
| # source_encoding = 'utf-8-sig' | ||
|
|
||
| # The master toctree document. | ||
| master_doc = 'index' | ||
|
|
||
| # General information about the project. | ||
| project = 'PythonTDD' | ||
| copyright = '2016, Hauer Miriam' | ||
| author = 'Hauer Miriam' | ||
|
|
||
| # The version info for the project you're documenting, acts as replacement for | ||
| # |version| and |release|, also used in various other places throughout the | ||
| # built documents. | ||
| # | ||
| # The short X.Y version. | ||
| version = '1' | ||
| # The full version, including alpha/beta/rc tags. | ||
| release = '1' | ||
|
|
||
| # The language for content autogenerated by Sphinx. Refer to documentation | ||
| # for a list of supported languages. | ||
| # | ||
| # This is also used if you do content translation via gettext catalogs. | ||
| # Usually you set "language" from the command line for these cases. | ||
| language = None | ||
|
|
||
| # There are two options for replacing |today|: either, you set today to some | ||
| # non-false value, then it is used: | ||
| # | ||
| # today = '' | ||
| # | ||
| # Else, today_fmt is used as the format for a strftime call. | ||
| # | ||
| # today_fmt = '%B %d, %Y' | ||
|
|
||
| # List of patterns, relative to source directory, that match files and | ||
| # directories to ignore when looking for source files. | ||
| # This patterns also effect to html_static_path and html_extra_path | ||
| exclude_patterns = [] | ||
|
|
||
| # The reST default role (used for this markup: `text`) to use for all | ||
| # documents. | ||
| # | ||
| # default_role = None | ||
|
|
||
| # If true, '()' will be appended to :func: etc. cross-reference text. | ||
| # | ||
| # add_function_parentheses = True | ||
|
|
||
| # If true, the current module name will be prepended to all description | ||
| # unit titles (such as .. function::). | ||
| # | ||
| # add_module_names = True | ||
|
|
||
| # If true, sectionauthor and moduleauthor directives will be shown in the | ||
| # output. They are ignored by default. | ||
| # | ||
| # show_authors = False | ||
|
|
||
| # The name of the Pygments (syntax highlighting) style to use. | ||
| pygments_style = 'sphinx' | ||
|
|
||
| # A list of ignored prefixes for module index sorting. | ||
| # modindex_common_prefix = [] | ||
|
|
||
| # If true, keep warnings as "system message" paragraphs in the built documents. | ||
| # keep_warnings = False | ||
|
|
||
| # If true, `todo` and `todoList` produce output, else they produce nothing. | ||
| todo_include_todos = False | ||
|
|
||
|
|
||
| # -- Options for HTML output ---------------------------------------------- | ||
|
|
||
| # The theme to use for HTML and HTML Help pages. See the documentation for | ||
| # a list of builtin themes. | ||
| # | ||
| html_theme = 'alabaster' | ||
|
|
||
| # Theme options are theme-specific and customize the look and feel of a theme | ||
| # further. For a list of options available for each theme, see the | ||
| # documentation. | ||
| # | ||
| # html_theme_options = {} | ||
|
|
||
| # Add any paths that contain custom themes here, relative to this directory. | ||
| # html_theme_path = [] | ||
|
|
||
| # The name for this set of Sphinx documents. | ||
| # "<project> v<release> documentation" by default. | ||
| # | ||
| # html_title = 'PythonTDD v1' | ||
|
|
||
| # A shorter title for the navigation bar. Default is the same as html_title. | ||
| # | ||
| # html_short_title = None | ||
|
|
||
| # The name of an image file (relative to this directory) to place at the top | ||
| # of the sidebar. | ||
| # | ||
| # html_logo = None | ||
|
|
||
| # The name of an image file (relative to this directory) to use as a favicon of | ||
| # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 | ||
| # pixels large. | ||
| # | ||
| # html_favicon = None | ||
|
|
||
| # Add any paths that contain custom static files (such as style sheets) here, | ||
| # relative to this directory. They are copied after the builtin static files, | ||
| # so a file named "default.css" will overwrite the builtin "default.css". | ||
| html_static_path = ['_static'] | ||
|
|
||
| # Add any extra paths that contain custom files (such as robots.txt or | ||
| # .htaccess) here, relative to this directory. These files are copied | ||
| # directly to the root of the documentation. | ||
| # | ||
| # html_extra_path = [] | ||
|
|
||
| # If not None, a 'Last updated on:' timestamp is inserted at every page | ||
| # bottom, using the given strftime format. | ||
| # The empty string is equivalent to '%b %d, %Y'. | ||
| # | ||
| # html_last_updated_fmt = None | ||
|
|
||
| # If true, SmartyPants will be used to convert quotes and dashes to | ||
| # typographically correct entities. | ||
| # | ||
| # html_use_smartypants = True | ||
|
|
||
| # Custom sidebar templates, maps document names to template names. | ||
| # | ||
| # html_sidebars = {} | ||
|
|
||
| # Additional templates that should be rendered to pages, maps page names to | ||
| # template names. | ||
| # | ||
| # html_additional_pages = {} | ||
|
|
||
| # If false, no module index is generated. | ||
| # | ||
| # html_domain_indices = True | ||
|
|
||
| # If false, no index is generated. | ||
| # | ||
| # html_use_index = True | ||
|
|
||
| # If true, the index is split into individual pages for each letter. | ||
| # | ||
| # html_split_index = False | ||
|
|
||
| # If true, links to the reST sources are added to the pages. | ||
| # | ||
| # html_show_sourcelink = True | ||
|
|
||
| # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. | ||
| # | ||
| # html_show_sphinx = True | ||
|
|
||
| # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. | ||
| # | ||
| # html_show_copyright = True | ||
|
|
||
| # If true, an OpenSearch description file will be output, and all pages will | ||
| # contain a <link> tag referring to it. The value of this option must be the | ||
| # base URL from which the finished HTML is served. | ||
| # | ||
| # html_use_opensearch = '' | ||
|
|
||
| # This is the file name suffix for HTML files (e.g. ".xhtml"). | ||
| # html_file_suffix = None | ||
|
|
||
| # Language to be used for generating the HTML full-text search index. | ||
| # Sphinx supports the following languages: | ||
| # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja' | ||
| # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh' | ||
| # | ||
| # html_search_language = 'en' | ||
|
|
||
| # A dictionary with options for the search language support, empty by default. | ||
| # 'ja' uses this config value. | ||
| # 'zh' user can custom change `jieba` dictionary path. | ||
| # | ||
| # html_search_options = {'type': 'default'} | ||
|
|
||
| # The name of a javascript file (relative to the configuration directory) that | ||
| # implements a search results scorer. If empty, the default will be used. | ||
| # | ||
| # html_search_scorer = 'scorer.js' | ||
|
|
||
| # Output file base name for HTML help builder. | ||
| htmlhelp_basename = 'PythonTDDdoc' | ||
|
|
||
| # -- Options for LaTeX output --------------------------------------------- | ||
|
|
||
| latex_elements = { | ||
| # The paper size ('letterpaper' or 'a4paper'). | ||
| # | ||
| # 'papersize': 'letterpaper', | ||
|
|
||
| # The font size ('10pt', '11pt' or '12pt'). | ||
| # | ||
| # 'pointsize': '10pt', | ||
|
|
||
| # Additional stuff for the LaTeX preamble. | ||
| # | ||
| # 'preamble': '', | ||
|
|
||
| # Latex figure (float) alignment | ||
| # | ||
| # 'figure_align': 'htbp', | ||
| } | ||
|
|
||
| # Grouping the document tree into LaTeX files. List of tuples | ||
| # (source start file, target name, title, | ||
| # author, documentclass [howto, manual, or own class]). | ||
| latex_documents = [ | ||
| (master_doc, 'PythonTDD.tex', 'PythonTDD Documentation', | ||
| 'Hauer Miriam', 'manual'), | ||
| ] | ||
|
|
||
| # The name of an image file (relative to this directory) to place at the top of | ||
| # the title page. | ||
| # | ||
| # latex_logo = None | ||
|
|
||
| # For "manual" documents, if this is true, then toplevel headings are parts, | ||
| # not chapters. | ||
| # | ||
| # latex_use_parts = False | ||
|
|
||
| # If true, show page references after internal links. | ||
| # | ||
| # latex_show_pagerefs = False | ||
|
|
||
| # If true, show URL addresses after external links. | ||
| # | ||
| # latex_show_urls = False | ||
|
|
||
| # Documents to append as an appendix to all manuals. | ||
| # | ||
| # latex_appendices = [] | ||
|
|
||
| # It false, will not define \strong, \code, itleref, \crossref ... but only | ||
| # \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added | ||
| # packages. | ||
| # | ||
| # latex_keep_old_macro_names = True | ||
|
|
||
| # If false, no module index is generated. | ||
| # | ||
| # latex_domain_indices = True | ||
|
|
||
|
|
||
| # -- Options for manual page output --------------------------------------- | ||
|
|
||
| # One entry per manual page. List of tuples | ||
| # (source start file, name, description, authors, manual section). | ||
| man_pages = [ | ||
| (master_doc, 'pythontdd', 'PythonTDD Documentation', | ||
| [author], 1) | ||
| ] | ||
|
|
||
| # If true, show URL addresses after external links. | ||
| # | ||
| # man_show_urls = False | ||
|
|
||
|
|
||
| # -- Options for Texinfo output ------------------------------------------- | ||
|
|
||
| # Grouping the document tree into Texinfo files. List of tuples | ||
| # (source start file, target name, title, author, | ||
| # dir menu entry, description, category) | ||
| texinfo_documents = [ | ||
| (master_doc, 'PythonTDD', 'PythonTDD Documentation', | ||
| author, 'PythonTDD', 'One line description of project.', | ||
| 'Miscellaneous'), | ||
| ] | ||
|
|
||
| # Documents to append as an appendix to all manuals. | ||
| # | ||
| # texinfo_appendices = [] | ||
|
|
||
| # If false, no module index is generated. | ||
| # | ||
| # texinfo_domain_indices = True | ||
|
|
||
| # How to display URL addresses: 'footnote', 'no', or 'inline'. | ||
| # | ||
| # texinfo_show_urls = 'footnote' | ||
|
|
||
| # If true, do not generate a @detailmenu in the "Top" node's menu. | ||
| # | ||
| # texinfo_no_detailmenu = False |
| @@ -0,0 +1,389 @@ | ||
| <?xml version="1.0" encoding="utf-8" ?> | ||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
| <meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" /> | ||
| <title></title> | ||
| <style type="text/css"> | ||
|
|
||
| /* | ||
| :Author: David Goodger (goodger@python.org) | ||
| :Id: $Id: html4css1.css 7614 2013-02-21 15:55:51Z milde $ | ||
| :Copyright: This stylesheet has been placed in the public domain. | ||
| Default cascading style sheet for the HTML output of Docutils. | ||
| See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to | ||
| customize this style sheet. | ||
| */ | ||
|
|
||
| /* used to remove borders from tables and images */ | ||
| .borderless, table.borderless td, table.borderless th { | ||
| border: 0 } | ||
|
|
||
| table.borderless td, table.borderless th { | ||
| /* Override padding for "table.docutils td" with "! important". | ||
| The right padding separates the table cells. */ | ||
| padding: 0 0.5em 0 0 ! important } | ||
|
|
||
| .first { | ||
| /* Override more specific margin styles with "! important". */ | ||
| margin-top: 0 ! important } | ||
|
|
||
| .last, .with-subtitle { | ||
| margin-bottom: 0 ! important } | ||
|
|
||
| .hidden { | ||
| display: none } | ||
|
|
||
| a.toc-backref { | ||
| text-decoration: none ; | ||
| color: black } | ||
|
|
||
| blockquote.epigraph { | ||
| margin: 2em 5em ; } | ||
|
|
||
| dl.docutils dd { | ||
| margin-bottom: 0.5em } | ||
|
|
||
| object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| /* Uncomment (and remove this text!) to get bold-faced definition list terms | ||
| dl.docutils dt { | ||
| font-weight: bold } | ||
| */ | ||
|
|
||
| div.abstract { | ||
| margin: 2em 5em } | ||
|
|
||
| div.abstract p.topic-title { | ||
| font-weight: bold ; | ||
| text-align: center } | ||
|
|
||
| div.admonition, div.attention, div.caution, div.danger, div.error, | ||
| div.hint, div.important, div.note, div.tip, div.warning { | ||
| margin: 2em ; | ||
| border: medium outset ; | ||
| padding: 1em } | ||
|
|
||
| div.admonition p.admonition-title, div.hint p.admonition-title, | ||
| div.important p.admonition-title, div.note p.admonition-title, | ||
| div.tip p.admonition-title { | ||
| font-weight: bold ; | ||
| font-family: sans-serif } | ||
|
|
||
| div.attention p.admonition-title, div.caution p.admonition-title, | ||
| div.danger p.admonition-title, div.error p.admonition-title, | ||
| div.warning p.admonition-title, .code .error { | ||
| color: red ; | ||
| font-weight: bold ; | ||
| font-family: sans-serif } | ||
|
|
||
| /* Uncomment (and remove this text!) to get reduced vertical space in | ||
| compound paragraphs. | ||
| div.compound .compound-first, div.compound .compound-middle { | ||
| margin-bottom: 0.5em } | ||
| div.compound .compound-last, div.compound .compound-middle { | ||
| margin-top: 0.5em } | ||
| */ | ||
|
|
||
| div.dedication { | ||
| margin: 2em 5em ; | ||
| text-align: center ; | ||
| font-style: italic } | ||
|
|
||
| div.dedication p.topic-title { | ||
| font-weight: bold ; | ||
| font-style: normal } | ||
|
|
||
| div.figure { | ||
| margin-left: 2em ; | ||
| margin-right: 2em } | ||
|
|
||
| div.footer, div.header { | ||
| clear: both; | ||
| font-size: smaller } | ||
|
|
||
| div.line-block { | ||
| display: block ; | ||
| margin-top: 1em ; | ||
| margin-bottom: 1em } | ||
|
|
||
| div.line-block div.line-block { | ||
| margin-top: 0 ; | ||
| margin-bottom: 0 ; | ||
| margin-left: 1.5em } | ||
|
|
||
| div.sidebar { | ||
| margin: 0 0 0.5em 1em ; | ||
| border: medium outset ; | ||
| padding: 1em ; | ||
| background-color: #ffffee ; | ||
| width: 40% ; | ||
| float: right ; | ||
| clear: right } | ||
|
|
||
| div.sidebar p.rubric { | ||
| font-family: sans-serif ; | ||
| font-size: medium } | ||
|
|
||
| div.system-messages { | ||
| margin: 5em } | ||
|
|
||
| div.system-messages h1 { | ||
| color: red } | ||
|
|
||
| div.system-message { | ||
| border: medium outset ; | ||
| padding: 1em } | ||
|
|
||
| div.system-message p.system-message-title { | ||
| color: red ; | ||
| font-weight: bold } | ||
|
|
||
| div.topic { | ||
| margin: 2em } | ||
|
|
||
| h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, | ||
| h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { | ||
| margin-top: 0.4em } | ||
|
|
||
| h1.title { | ||
| text-align: center } | ||
|
|
||
| h2.subtitle { | ||
| text-align: center } | ||
|
|
||
| hr.docutils { | ||
| width: 75% } | ||
|
|
||
| img.align-left, .figure.align-left, object.align-left { | ||
| clear: left ; | ||
| float: left ; | ||
| margin-right: 1em } | ||
|
|
||
| img.align-right, .figure.align-right, object.align-right { | ||
| clear: right ; | ||
| float: right ; | ||
| margin-left: 1em } | ||
|
|
||
| img.align-center, .figure.align-center, object.align-center { | ||
| display: block; | ||
| margin-left: auto; | ||
| margin-right: auto; | ||
| } | ||
|
|
||
| .align-left { | ||
| text-align: left } | ||
|
|
||
| .align-center { | ||
| clear: both ; | ||
| text-align: center } | ||
|
|
||
| .align-right { | ||
| text-align: right } | ||
|
|
||
| /* reset inner alignment in figures */ | ||
| div.align-right { | ||
| text-align: inherit } | ||
|
|
||
| /* div.align-center * { */ | ||
| /* text-align: left } */ | ||
|
|
||
| ol.simple, ul.simple { | ||
| margin-bottom: 1em } | ||
|
|
||
| ol.arabic { | ||
| list-style: decimal } | ||
|
|
||
| ol.loweralpha { | ||
| list-style: lower-alpha } | ||
|
|
||
| ol.upperalpha { | ||
| list-style: upper-alpha } | ||
|
|
||
| ol.lowerroman { | ||
| list-style: lower-roman } | ||
|
|
||
| ol.upperroman { | ||
| list-style: upper-roman } | ||
|
|
||
| p.attribution { | ||
| text-align: right ; | ||
| margin-left: 50% } | ||
|
|
||
| p.caption { | ||
| font-style: italic } | ||
|
|
||
| p.credits { | ||
| font-style: italic ; | ||
| font-size: smaller } | ||
|
|
||
| p.label { | ||
| white-space: nowrap } | ||
|
|
||
| p.rubric { | ||
| font-weight: bold ; | ||
| font-size: larger ; | ||
| color: maroon ; | ||
| text-align: center } | ||
|
|
||
| p.sidebar-title { | ||
| font-family: sans-serif ; | ||
| font-weight: bold ; | ||
| font-size: larger } | ||
|
|
||
| p.sidebar-subtitle { | ||
| font-family: sans-serif ; | ||
| font-weight: bold } | ||
|
|
||
| p.topic-title { | ||
| font-weight: bold } | ||
|
|
||
| pre.address { | ||
| margin-bottom: 0 ; | ||
| margin-top: 0 ; | ||
| font: inherit } | ||
|
|
||
| pre.literal-block, pre.doctest-block, pre.math, pre.code { | ||
| margin-left: 2em ; | ||
| margin-right: 2em } | ||
|
|
||
| pre.code .ln { color: grey; } /* line numbers */ | ||
| pre.code, code { background-color: #eeeeee } | ||
| pre.code .comment, code .comment { color: #5C6576 } | ||
| pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } | ||
| pre.code .literal.string, code .literal.string { color: #0C5404 } | ||
| pre.code .name.builtin, code .name.builtin { color: #352B84 } | ||
| pre.code .deleted, code .deleted { background-color: #DEB0A1} | ||
| pre.code .inserted, code .inserted { background-color: #A3D289} | ||
|
|
||
| span.classifier { | ||
| font-family: sans-serif ; | ||
| font-style: oblique } | ||
|
|
||
| span.classifier-delimiter { | ||
| font-family: sans-serif ; | ||
| font-weight: bold } | ||
|
|
||
| span.interpreted { | ||
| font-family: sans-serif } | ||
|
|
||
| span.option { | ||
| white-space: nowrap } | ||
|
|
||
| span.pre { | ||
| white-space: pre } | ||
|
|
||
| span.problematic { | ||
| color: red } | ||
|
|
||
| span.section-subtitle { | ||
| /* font-size relative to parent (h1..h6 element) */ | ||
| font-size: 80% } | ||
|
|
||
| table.citation { | ||
| border-left: solid 1px gray; | ||
| margin-left: 1px } | ||
|
|
||
| table.docinfo { | ||
| margin: 2em 4em } | ||
|
|
||
| table.docutils { | ||
| margin-top: 0.5em ; | ||
| margin-bottom: 0.5em } | ||
|
|
||
| table.footnote { | ||
| border-left: solid 1px black; | ||
| margin-left: 1px } | ||
|
|
||
| table.docutils td, table.docutils th, | ||
| table.docinfo td, table.docinfo th { | ||
| padding-left: 0.5em ; | ||
| padding-right: 0.5em ; | ||
| vertical-align: top } | ||
|
|
||
| table.docutils th.field-name, table.docinfo th.docinfo-name { | ||
| font-weight: bold ; | ||
| text-align: left ; | ||
| white-space: nowrap ; | ||
| padding-left: 0 } | ||
|
|
||
| /* "booktabs" style (no vertical lines) */ | ||
| table.docutils.booktabs { | ||
| border: 0px; | ||
| border-top: 2px solid; | ||
| border-bottom: 2px solid; | ||
| border-collapse: collapse; | ||
| } | ||
| table.docutils.booktabs * { | ||
| border: 0px; | ||
| } | ||
| table.docutils.booktabs th { | ||
| border-bottom: thin solid; | ||
| text-align: left; | ||
| } | ||
|
|
||
| h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, | ||
| h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { | ||
| font-size: 100% } | ||
|
|
||
| ul.auto-toc { | ||
| list-style-type: none } | ||
|
|
||
| </style> | ||
| </head> | ||
| <body> | ||
| <div class="document"> | ||
|
|
||
|
|
||
| <!-- PythonTDD documentation master file, created by | ||
| sphinx-quickstart on Sun Oct 23 23:05:12 2016. | ||
| You can adapt this file completely to your liking, but it should at least | ||
| contain the root `toctree` directive. --> | ||
| <div class="section" id="welcome-to-pythontdd-s-documentation"> | ||
| <h1>Welcome to PythonTDD's documentation!</h1> | ||
| <p>Contents:</p> | ||
| <div class="system-message"> | ||
| <p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">C:/Users/Miriam/PycharmProjects/PythonTDD/source/index.rst</tt>, line 11)</p> | ||
| <p>Unknown directive type "toctree".</p> | ||
| <pre class="literal-block"> | ||
| .. toctree:: | ||
| :maxdepth: 2 | ||
|
|
||
|
|
||
| PythonTDDDoc | ||
|
|
||
| </pre> | ||
| </div> | ||
| </div> | ||
| <div class="section" id="indices-and-tables"> | ||
| <h1>Indices and tables</h1> | ||
| <ul> | ||
| <li><p class="first"><a href="#id1"><span class="problematic" id="id2">:ref:`genindex`</span></a></p> | ||
| <div class="system-message" id="id1"> | ||
| <p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">C:/Users/Miriam/PycharmProjects/PythonTDD/source/index.rst</tt>, line 20); <em><a href="#id2">backlink</a></em></p> | ||
| <p>Unknown interpreted text role "ref".</p> | ||
| </div> | ||
| </li> | ||
| <li><p class="first"><a href="#id3"><span class="problematic" id="id4">:ref:`modindex`</span></a></p> | ||
| <div class="system-message" id="id3"> | ||
| <p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">C:/Users/Miriam/PycharmProjects/PythonTDD/source/index.rst</tt>, line 21); <em><a href="#id4">backlink</a></em></p> | ||
| <p>Unknown interpreted text role "ref".</p> | ||
| </div> | ||
| </li> | ||
| <li><p class="first"><a href="#id5"><span class="problematic" id="id6">:ref:`search`</span></a></p> | ||
| <div class="system-message" id="id5"> | ||
| <p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">C:/Users/Miriam/PycharmProjects/PythonTDD/source/index.rst</tt>, line 22); <em><a href="#id6">backlink</a></em></p> | ||
| <p>Unknown interpreted text role "ref".</p> | ||
| </div> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,35 @@ | ||
| .. PythonTDD documentation master file, created by | ||
| sphinx-quickstart on Sun Oct 23 23:05:12 2016. | ||
| You can adapt this file completely to your liking, but it should at least | ||
| contain the root `toctree` directive. | ||
| Welcome to PythonTDD's documentation! | ||
| ===================================== | ||
|
|
||
| Contents: | ||
|
|
||
| .. toctree:: | ||
| :maxdepth: 2 | ||
|
|
||
|
|
||
|
|
||
| Indices and tables | ||
| ================== | ||
|
|
||
| * :ref:`genindex` | ||
| * :ref:`modindex` | ||
| * :ref:`search` | ||
|
|
||
|
|
||
| bruch module | ||
| ============ | ||
|
|
||
| .. automodule:: bruch.Bruch | ||
| .. autoclass:: Bruch | ||
| :members: | ||
| :private-members: | ||
| :undoc-members: | ||
| :special-members: | ||
| :show-inheritance: | ||
| :exclude-members: __weakref__,__module__,__dict__,__hash__ | ||
|
|