Skip to content

Commit e196af2

Browse files
Merge pull request #189 from UCL/review-test-notes
review test chapter - fixed a typo and added some clarifications
2 parents 7745d5c + 17540d7 commit e196af2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ch03tests/01testingbasics.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"### Not a panacea\n",
6969
"\n",
7070
"> Trying to improve the quality of software by doing more testing is like trying to lose weight by\n",
71-
"> weighting yourself more often.\n",
71+
"> weighing yourself more often.\n",
7272
" - Steve McConnell"
7373
]
7474
},

ch03tests/07CI.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"2. run tests after each commit to github (or other)\n",
1515
"3. run tests on different platforms\n",
1616
"\n",
17-
"Various groups run servers that can be used to do this automatically.\n",
17+
"Various UCL research groups run servers that can be used to do this automatically.\n",
1818
"\n",
1919
"RITS run a [university-wide one](https://www.ucl.ac.uk/isd/services/research-it/research-software-development-tools/support-for-ucl-researchers-to-use-travis)."
2020
]

ch03tests/08DiffusionExample.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"1. If second energy is lower, accept move.\n",
2323
"1. $\\beta$ is a parameter which determines how likely\n",
2424
" the simulation is to move from a 'less favourable' situation to a 'more favourable' one.\n",
25-
"1. Compute $P_0=e^{-\\beta (E_1 - E_0)}$ and $P_1$ a random number between 0 and 1,\n",
25+
"1. Compute $P_0=e^{-\\beta (E_1 - E_0)}$ and $P_1$ a uniformly distributed random number between 0 and 1,\n",
2626
"1. If $P_0 > P_1$, do the move anyway.\n",
2727
"1. Repeat."
2828
]

0 commit comments

Comments
 (0)