[T] Test GPA calculations

This commit is contained in:
Hykilpikonna
2019-09-16 22:24:06 -04:00
parent 4095041925
commit 0ebce968b9
+4
View File
@@ -6,6 +6,7 @@ import Constants from '@/constants';
import JsonUtils from '@/utils/json-utils'; import JsonUtils from '@/utils/json-utils';
import pWaitFor from 'p-wait-for'; import pWaitFor from 'p-wait-for';
import {HttpUtils} from '@/utils/http-utils'; import {HttpUtils} from '@/utils/http-utils';
import {GPAUtils} from '@/utils/gpa-utils';
/** /**
* Objects of this interface represent assignment grades. * Objects of this interface represent assignment grades.
@@ -108,6 +109,9 @@ export default class App extends Vue
// Save courses // Save courses
this.courses = response.data; this.courses = response.data;
// TODO: Delete this
console.log(GPAUtils.getGPA(this.courses));
// Load assignments // Load assignments
this.loadAssignments(); this.loadAssignments();
} }