2023W-EFFPROG

Magic Hexagon.
Log | Files | Refs | README

README.md (558B)


      1 # 2023W-EFFPROG - magichex
      2 
      3 
      4 ## Building the program
      5 ```
      6 make
      7 ```
      8 
      9 The executable will be located in `./bin/magichex`
     10 
     11 ## Testing the program against reference output
     12 
     13 ```
     14 make test
     15 ```
     16 
     17 Will execute `magichex` three times with some predefined parameters and compare its
     18 outputs with some reference output. 
     19 
     20 The test cases can also be executed one at a time by calling
     21 
     22 ```
     23 make test1
     24 ```
     25 ```
     26 make test2
     27 ```
     28 ```
     29 make test3
     30 ```
     31 
     32 ## Profiling
     33 
     34 There are two pre-defined targets to run `perf` on `magichex`
     35 
     36 ```
     37 make profile
     38 ```
     39 
     40 ```
     41 make profile-with-test
     42 ```