Warning
This page is located in archive.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
courses:be5b33prg:homeworks:vectorlib [2016/11/04 16:03]
xposik
courses:be5b33prg:homeworks:vectorlib [2017/11/15 15:02]
petrito1 Tests made optional.
Line 5: Line 5:
 </​WRAP>​ </​WRAP>​
  
 +<​html><​!--
 +TP: Tests made optional.
 +Concentrate your test suite into a ''​main.py''​ file. Zip ''​vectorlib.py''​ and ''​main.py''​ into one archive file and upload it, i.e. both the library and the test suite is expected. Quality and thorougness of you testing will be evaluated. ​
 +--></​html>​
  
-Create ''​vectorlib.py''​ file-library that will contain the functions listed below. Your library is going to be imported, it must work as as a library (pure functions). ​Concentrate ​your test suite into a ''​main.py''​ fileZip ''​vectorlib.py'' ​and ''​main.py''​ into one archive file and upload it, i.e. both the library and the test suite is expected. Quality and thorougness of you testing ​will be evaluated. ​+Create ''​vectorlib.py''​ file-library that will contain the functions listed below. Your library is going to be imported, it must work as as a library (pure functions). 
 +Optionally, include example usage of the functions within docstrings and test your module using ''​[[https://​docs.python.org/​3/​library/​doctest.html|doctest]]''​. ​The tests will not be evaluated.
  
 Vectors will be lists. You can define some auxiliary function in your library. Also think about re-using functions within other functions. If you have problems with the math backround ask your teachers or a book or wikipedia or any other math resource. Vectors will be lists. You can define some auxiliary function in your library. Also think about re-using functions within other functions. If you have problems with the math backround ask your teachers or a book or wikipedia or any other math resource.
courses/be5b33prg/homeworks/vectorlib.txt · Last modified: 2017/11/15 15:02 by petrito1