MCPcopy Create free account
hub / github.com/antvis/F2Native / testScaleController

Function testScaleController

tests/main.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void testScaleController() {
50 XCTAssertEqual(unit::ScaleController::MakeScaleWithEmptyData(), YES);
51 XCTAssertEqual(unit::ScaleController::MakeLinearScale(), YES);
52 XCTAssertEqual(unit::ScaleController::MakeTimeSharingLinearScale(), YES);
53 XCTAssertEqual(unit::ScaleController::MakeCategoryScale(), YES);
54 XCTAssertEqual(unit::ScaleController::MakeTimeCatScale(), YES);
55 XCTAssertEqual(unit::ScaleController::MakeKLineScale(), YES);
56 XCTAssertEqual(unit::ScaleController::ClearScale(), YES);
57}
58
59//单测的入口
60extern "C"

Calls

no outgoing calls

Tested by

no test coverage detected