debuggingreport.txt

来自「ssd3部分quiz、exercise、exam的参考答案」· 文本 代码 · 共 48 行

TXT
48
字号
---------------------------------------------------------------------------
Bug #1


Description of the bug:
Test case 1: get methods failed !!!

Lines of source code that contain the bug:
86	int numberOfA = 0;
87	int numberOfT = 0;
88	int numberOfC = 0;
89	int numberOfG = 0;


Lines of the fixed code:
86	numberOfA = 0;
87	numberOfT = 0;
88	numberOfC = 0;
89	numberOfG = 0;

---------------------------------------------------------------------------
Bug #2


Description of the bug:
Test case4: method twoConsecutive passed

Lines of source code that contain the bug:
172	if ((firstNucleotide == input) || (secondNucleotide == input)) 
	

Lines of the fixed code:
172	if ((firstNucleotide == input) && (secondNucleotide == input)) 


---------------------------------------------------------------------------
Bug #3


Description of the bug:
Test case3: method twoConsecutive passed

Lines of source code that contain the bug:
165	while (index < sequence.length() - 1) 


Lines of the fixed code:
165	while (index < sequence.length()) 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?