File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
lesson_03/quiz/src/quizzes Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
-
2
1
import {
3
-
4
2
AnswerChoice ,
5
3
MultipleChoiceQuizQuestion ,
6
4
QuizQuestion ,
7
5
QuizQuestionProvider ,
8
6
} from 'codedifferently-instructional' ;
9
7
10
-
11
8
export class DylanLaffertyQuiz implements QuizQuestionProvider {
12
9
getProviderName ( ) : string {
13
10
return 'dylanlafferty' ;
14
11
}
15
12
16
13
makeQuizQuestions ( ) : QuizQuestion [ ] {
17
-
18
14
return [
19
15
DylanLaffertyQuiz . makeQuestion0 ( ) ,
20
16
DylanLaffertyQuiz . makeQuestion1 ( ) ,
21
17
DylanLaffertyQuiz . makeQuestion2 ( ) ,
22
18
] ;
23
19
24
- return [ DylanLaffertyQuiz . makeQuestion0 ( ) , DylanLaffertyQuiz . makeQuestion0 ( ) ] ;
20
+ return [
21
+ DylanLaffertyQuiz . makeQuestion0 ( ) ,
22
+ DylanLaffertyQuiz . makeQuestion0 ( ) ,
23
+ ] ;
25
24
}
26
25
27
26
private static makeQuestion0 ( ) : QuizQuestion {
@@ -60,8 +59,8 @@ export class DylanLaffertyQuiz implements QuizQuestionProvider {
60
59
[ AnswerChoice . B , 'SSD' ] ,
61
60
[ AnswerChoice . C , 'GPU' ] ,
62
61
[ AnswerChoice . D , 'RAM' ] ,
62
+ ] ) ,
63
63
AnswerChoice . UNANSWERED ,
64
64
) ;
65
65
}
66
66
}
67
-
You can’t perform that action at this time.
0 commit comments