Code Monkey home page Code Monkey logo

buaa-oo-unit3-test's Introduction

BUAA-OO-Unit3-Test

第三单元残废对拍版评测机

Hw10

这只是一个对拍器,只提供数据生成和对拍功能,不支持全自动测试。

使用说明

# --------------------config-----------------------
    n = 100  # 设置测试点总数
    generator = 'code.jar'  # 用于数据生成的jar包
    tester = 'mine.jar'  # 用于对拍的jar包
    file_add = "data"
    echo_on = False  # 是否显示输出信息
# -------------------------------------------------

需要在main.py中修改以上信息:

generator的作用是运行测试数据,并得到结果在ans文件夹中。

tester的作用是运行测试数据,并与ans中的结果做对比。

file_add是测试数据的文件夹名,暂时不需要改。

echo_on的作用是是否显示对比结果,如果为True,将比较结果输出在终端上,反之会输出在diff文件夹中。

设置完成后运行main.py即可。

说明

对拍结果和对拍对象有关,结果仅供参考。

buaa-oo-unit3-test's People

Contributors

augetyvolta avatar

Stargazers

Udeyx avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.