⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hugemain.plg

📁 巨型整形实现,长度不受windows机器字长限制,实现了基本的加减乘除等运行.
💻 PLG
📖 第 1 页 / 共 5 页
字号:

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(713): 'Hugeint operator*(const Hugeint &)'

 

METHOD: Hugeint operator*(const long &)(8 test cases)

TEST 1
Name:            AUTO_1_EP_0
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=104 (0x00000068)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(736): 'Hugeint operator*(const long &)'

 

TEST 2
Name:            AUTO_1_EP_1
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=-2147483648 (0x80000000)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(736): 'Hugeint operator*(const long &)'

 

TEST 3
Name:            AUTO_1_EP_2
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=-1 (0xffffffff)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(736): 'Hugeint operator*(const long &)'

 

TEST 4
Name:            AUTO_1_EP_3
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=2147483647 (0x7fffffff)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(736): 'Hugeint operator*(const long &)'

 

TEST 5
Name:            AUTO_1_EP_4
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=615805 (0x0009657d)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(736): 'Hugeint operator*(const long &)'

 

TEST 6
Name:            AUTO_1_EP_5
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=0 (0x00000000)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(736): 'Hugeint operator*(const long &)'

 

TEST 7
Name:            AUTO_1_EP_6
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=1 (0x00000001)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(736): 'Hugeint operator*(const long &)'

 

TEST 8
Name:            AUTO_1_EP_7
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=2 (0x00000002)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(736): 'Hugeint operator*(const long &)'

 

METHOD: Hugeint operator+(const Hugeint &)(1 test case)

TEST 1
Name:            AUTO_1_9L_0
Pre Conditions:  ::Hugeint(), ::ostream_withassign(), 
Arguments:       ::Hugeint()
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(229): 'Hugeint & operator=(const Hugeint &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(398): 'Hugeint hugeabs(const Hugeint &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(477): 'Hugeint operator+(const Hugeint &)'

 

METHOD: Hugeint operator+(const long &)(6 test cases)

TEST 1
Name:            AUTO_1_JM_0
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=-1 (0xffffffff)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(536): 'Hugeint operator+(const long &)'

 

TEST 2
Name:            AUTO_1_JM_1
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=2147483647 (0x7fffffff)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(536): 'Hugeint operator+(const long &)'

 

TEST 3
Name:            AUTO_1_JM_2
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=1 (0x00000001)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(536): 'Hugeint operator+(const long &)'

 

TEST 4
Name:            AUTO_1_JM_3
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=0 (0x00000000)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(536): 'Hugeint operator+(const long &)'

 

TEST 5
Name:            AUTO_1_JM_4
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=-2147483648 (0x80000000)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(536): 'Hugeint operator+(const long &)'

 

TEST 6
Name:            AUTO_1_JM_5
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       value=15557 (0x00003cc5)
Arguments Post:  
Return:          
Post Conditions: 
Status:          TEST FAILED

 Post condition failed for execution result type:

 expected type:    Normal return

 obtained type:    Access violation exception

 

 E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): Access violation exception

 

 Stack trace:

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(140): 'void makeempty(void)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(171): 'Hugeint & operator=(const long &)'

        E:\UpLoad\code\vc\算法.数据结构\Hugeint\Hugeint.cpp(536): 'Hugeint operator+(const long &)'

 

METHOD: Hugeint & operator++(void)(1 test case)

TEST 1
Name:            AUTO_1_QP_0
Pre Conditions:  ::Hugeint(), ::ostream_withassign()
Arguments:       
Arguments Post:  
Return:          
Post Conditions: 

⌨️ 快捷键说明

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