summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/Graph/graphs_test.m
diff options
context:
space:
mode:
authoralex <aletu130@student.liu.se>2019-10-20 15:54:33 +0200
committeralex <aletu130@student.liu.se>2019-10-20 15:54:33 +0200
commit13f22ba6b4a6e530be779ef96d71850e767e9366 (patch)
tree04840aaf2a896a65c8cd2005fcc2019c96f0a6fb /Kod/bilbana/Graph/graphs_test.m
parent483d5184a309a396be7310afcddb913d9e24efe2 (diff)
parent7978f8c42029b59e479ec918b67d968b1385081c (diff)
downloadtfyy51-13f22ba6b4a6e530be779ef96d71850e767e9366.tar.gz
Merge branch 'freeze'
Diffstat (limited to 'Kod/bilbana/Graph/graphs_test.m')
-rw-r--r--Kod/bilbana/Graph/graphs_test.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/Kod/bilbana/Graph/graphs_test.m b/Kod/bilbana/Graph/graphs_test.m
new file mode 100644
index 0000000..3a2a2e5
--- /dev/null
+++ b/Kod/bilbana/Graph/graphs_test.m
@@ -0,0 +1,11 @@
+%% Data needed
+car1.seg_times = [3.9,1.1,2.2,1.8,1.4,3.9,1.5,3.4,1.4;
+ 4.2,1.1,2.2,1.8,1.4,3.4,1.5,3.4,1.4;
+ 3.2,1.1,2.2,1.8,1.4,3.2,1.5,3.4,1.4;
+ 4.0,1.4,2.2,1.8,1.4,3.4,1.5,3.4,1.4;
+ 4.0,1.1,2.2,1.8,1.4,3.6,1.5,3.4,1.4;
+ 4.1,1.1,2.2,1.8,1.4,3.8,1.5,3.4,1.4];
+car1.lap_times = [14.1,13.8,14.15,13.9,14.1,14];
+ref_lap_time = 14;
+%% Actual test
+graphs(car1.lap_times,ref_lap_time,car1.seg_times,1) \ No newline at end of file