Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- calculateResult()
- test for each type
- test jenis pil
- if answer key = "A"
- ✓ should correct with answer = "A" (5 ms)
- ✓ should incorrect with answer = "B" (1 ms)
- ✓ should incorrect with answer = "C" (1 ms)
- ✓ should incorrect with answer = "D"
- ✓ should incorrect with answer = "E"
- ✓ should incorrect with answer = "F" (1 ms)
- if answer key = "B"
- ✓ should incorrect with answer = "A"
- ✓ should correct with answer = "B"
- ✓ should incorrect with answer = "C"
- ✓ should incorrect with answer = "D"
- ✓ should incorrect with answer = "E" (1 ms)
- ✓ should incorrect with answer = "F"
- if answer key = "C"
- ✓ should incorrect with answer = "A"
- ✓ should incorrect with answer = "B" (1 ms)
- ✓ should correct with answer = "C"
- ✓ should incorrect with answer = "D" (1 ms)
- ✓ should incorrect with answer = "E"
- ✓ should incorrect with answer = "F"
- if answer key = "D"
- ✓ should incorrect with answer = "A" (1 ms)
- ✓ should incorrect with answer = "B"
- ✓ should incorrect with answer = "C"
- ✓ should correct with answer = "D" (1 ms)
- ✓ should incorrect with answer = "E"
- ✓ should incorrect with answer = "F"
- if answer key = "E"
- ✓ should incorrect with answer = "A" (1 ms)
- ✓ should incorrect with answer = "B"
- ✓ should incorrect with answer = "C" (1 ms)
- ✓ should incorrect with answer = "D"
- ✓ should correct with answer = "E"
- ✓ should incorrect with answer = "F" (1 ms)
- if answer key = "F"
- ✓ should incorrect with answer = "A"
- ✓ should incorrect with answer = "B" (1 ms)
- ✓ should incorrect with answer = "C"
- ✓ should incorrect with answer = "D"
- ✓ should incorrect with answer = "E" (1 ms)
- ✓ should correct with answer = "F"
- test jenis mlt
- if answer key = "ACE"
- ✓ should correct "1" with answer = "A" (1 ms)
- ✓ should correct "1" with answer = "C"
- ✓ should correct "1" with answer = "E" (1 ms)
- ✓ should correct "2" with answer = "AC"
- ✓ should correct "3" with answer = "ACE"
- ✓ should correct "2" with answer = "ABCE"
- ✓ should correct "2" with answer = "ACED"
- ✓ should correct "1" with answer = "ABC"
- ✓ should correct "0" with answer = "ABCD" (1 ms)
- ✓ should correct "0" with answer = "B"
- ✓ should correct "0" with answer = "D"
- ✓ should correct "0" with answer = "BD"
- ✓ should correct "0" with answer = "BDF" (1 ms)
- test jenis isi
- if answer key = "Joni|Om Jon|joni"
- ✓ should correct "0" with answer = "" (1 ms)
- ✓ should correct "0" with answer = " "
- ✓ should correct "0" with answer = " | | " (1 ms)
- ✓ should correct "0" with answer = "Joni| | " (1 ms)
- ✓ should correct "0" with answer = " |Om Jon| "
- ✓ should correct "0" with answer = " | |joni"
- ✓ should correct "1" with answer = "Joni|Om Jon| " (1 ms)
- ✓ should correct "1" with answer = "Joni| |joni"
- ✓ should correct "1" with answer = " |Om Jon|joni" (1 ms)
- ✓ should correct "3" with answer = "Joni|Om Jon|joni"
- ✓ should correct "1" with answer = "Joni|om jon|joni"
- ✓ should correct "0" with answer = "joni|om jon|joni"
- ✓ should correct "0" with answer = "joni|Om Jon|Joni"
- test jenis drag
- if answer key = "123|456|789"
- ✓ should correct "0" with answer = "" (1 ms)
- ✓ should correct "0" with answer = " " (1 ms)
- ✓ should correct "0" with answer = " | | " (1 ms)
- ✓ should correct "0" with answer = "123| | "
- ✓ should correct "0" with answer = " |456| " (1 ms)
- ✓ should correct "0" with answer = " | |789"
- ✓ should correct "1" with answer = "123|456| "
- ✓ should correct "1" with answer = "123| |789" (1 ms)
- ✓ should correct "1" with answer = " |456|789"
- ✓ should correct "3" with answer = "123|456|789"
- ✓ should correct "0" with answer = "123|789|456"
- ✓ should correct "0" with answer = "789|123|456"
- test jenis als
- if answer key = "AB"
- ✓ should correct with answer = "A" (1 ms)
- ✓ should correct with answer = "B"
- ✓ should incorrect with answer = "C" (1 ms)
- ✓ should incorrect with answer = "D"
- ✓ should incorrect with answer = "E"
- ✓ should incorrect with answer = "F" (1 ms)
- if answer key = "CD"
- ✓ should incorrect with answer = "A"
- ✓ should incorrect with answer = "B"
- ✓ should correct with answer = "C" (1 ms)
- ✓ should correct with answer = "D"
- ✓ should incorrect with answer = "E"
- ✓ should incorrect with answer = "F" (1 ms)
- if answer key = "EF"
- ✓ should incorrect with answer = "A"
- ✓ should incorrect with answer = "B"
- ✓ should incorrect with answer = "C" (1 ms)
- ✓ should incorrect with answer = "D" (1 ms)
- ✓ should correct with answer = "E"
- ✓ should correct with answer = "F"
- test jenis cck
- if answer key = "B|S|B"
- ✓ should correct "0" with answer = "" (1 ms)
- ✓ should correct "0" with answer = " "
- ✓ should correct "1" with answer = "B "
- ✓ should correct "1" with answer = " S "
- ✓ should correct "1" with answer = " B" (1 ms)
- ✓ should correct "2" with answer = "BS " (1 ms)
- ✓ should correct "2" with answer = "B B"
- ✓ should correct "2" with answer = " SB"
- ✓ should correct "3" with answer = "BSB"
- ✓ should correct "2" with answer = "BBB" (1 ms)
- ✓ should correct "2" with answer = "SSB"
- ✓ should correct "2" with answer = "BSS"
- ✓ should correct "1" with answer = "SSS" (1 ms)
- ✓ should correct "0" with answer = "SBS" (1 ms)
- test jenis sort
- ✓ should correct with answer = "1" (1 ms)
- ✓ should correct with answer = "2" (1 ms)
- ✓ should correct with answer = "3"
- ✓ should correct with answer = "4"
- ✓ should correct with answer = "5" (1 ms)
- ✓ should correct with answer = "6"
- ✓ should correct with answer = "123"
- ✓ should correct with answer = "321"
- ✓ should incorrect with answer = "" (1 ms)
- ✓ should incorrect with answer = " " (1 ms)
- test jenis lik
- ✓ should correct with answer = "A" (1 ms)
- ✓ should correct with answer = "B"
- ✓ should correct with answer = "C" (1 ms)
- ✓ should correct with answer = "D"
- ✓ should correct with answer = "E"
- ✓ should correct with answer = "F" (1 ms)
- ✓ should incorrect with answer = "" (1 ms)
- ✓ should incorrect with answer = " " (1 ms)
- test jenis sjt
- ✓ should correct with answer = "A"
- ✓ should correct with answer = "B"
- ✓ should correct with answer = "C" (1 ms)
- ✓ should correct with answer = "D" (1 ms)
- ✓ should correct with answer = "E"
- ✓ should correct with answer = "F"
- ✓ should incorrect with answer = "" (1 ms)
- ✓ should incorrect with answer = " "
Add Comment
Please, Sign In to add comment