这段代码正确地报告了完全数,但是由于反向测试的原因,代码运行得非常慢,因为我需要检查大量数字。
This code correctly reports perfect Numbers, but it runs very slowly for the negative test because I'm checking so many Numbers.
在Wikipedia上查找到前几个完全数之后,我可以编写一个测试,它检查实际上是否可以找到完全数。
After checking with Wikipedia to find the first few perfect Numbers, I can write a test that verifies that I can in fact find perfect Numbers.
我至少需要两个测试:一个测试用于查看是否正确报告了完全数,另一个测试用于检查我没有得到误判断(falsepositives)。
I need at least two tests: one to see if the perfect Numbers report correctly and another to check that I don't get false positives. The unit tests are in Listing 2.
航摄像片是全数字摄影测量的重要依据,直接影响成图质量,必须认真进行航摄资料的检查验收工作。
Aerial photos are the basis of the full digital photogrammetry and directly affect the quality of mapping, therefore, aerial data should be carefully checked and accepted.
该系统实现医学影像检查工作的全数字化管理,以及影像检查设备、RIS、HIS和社区电子病历的无缝连接与集成。
This presentation gave a new approach to realize full digital management in department of radiology and seamless integration with modalities, RIS, HIS and community electronic patient records (EPR).
该系统实现医学影像检查工作的全数字化管理,以及影像检查设备、RIS、HIS和社区电子病历的无缝连接与集成。
This presentation gave a new approach to realize full digital management in department of radiology and seamless integration with modalities, RIS, HIS and community electronic patient records (EPR).
应用推荐