Skip to content

Commit be40ecc

Browse files
committed
Correct titles and add links
1 parent 0799739 commit be40ecc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

episodes/7-refactoring-fortran/challenge/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Introduction to Unit Testing in Fortran - Challenge: Identify bad practice for unit testing Fortran
1+
# Refactoring Fortran
22

33
This exercise aims to teach principles of writing better Fortran; that is Fortran which is clear, maintainable and testable.
44

@@ -20,7 +20,7 @@ cmake --build build
2020

2121
## Tasks
2222

23-
Implement the principles described in [the refactoring lesson](#tasks).
23+
Implement the principles described in [the refactoring lesson](https://github-pages.arc.ucl.ac.uk/fortran-unit-testing-lesson/2-refactor-fortran.html).
2424

2525
To ensure you are not changing the actual behaviour of the src code, every time you make a change,
2626
compare the output before and after. To do this store the output before making a change in a file
@@ -30,7 +30,7 @@ called `before.dat`
3030
./build/game-of-life path/to/model/file > before.dat
3131
```
3232

33-
Then, after you make a change regenerate the output and store within a file `after.dat`
33+
Then, after you make a change regenerate the output and store within a file `after.dat`
3434

3535
```sh
3636
./build/game-of-life path/to/model/file > after.dat

episodes/7-refactoring-fortran/solution/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Introduction to Unit Testing in Fortran - Solution: Identify bad practice for unit testing Fortran
1+
# Refactoring Fortran - Solution
22

33
The solution provided here is an entirely self-contained project which can be run, as before, using
44
the following commands from within this dir.
@@ -11,7 +11,7 @@ cmake --build build
1111

1212
## Tasks
1313

14-
> Implement the principles described in [the refactoring lesson](#tasks)
14+
> Implement the principles described in [the refactoring lesson](https://github-pages.arc.ucl.ac.uk/fortran-unit-testing-lesson/2-refactor-fortran.html)
1515
1616
1. Replace magic numbers with constants
1717
2. Change of variable name

0 commit comments

Comments
 (0)