ABSplitTest

@objc(FWABSplitTest)
@objcMembers
public class ABSplitTest : NSObject

AB分离测试类

Accessor

Lifecycle

Public

  • 添加版本并指定权重

    Declaration

    Swift

    public func addVersion(_ version: ABVersion, weight: Double)
  • 设置随机数

    Declaration

    Swift

    public func setRandomNumber(_ randomNumber: Int)
  • 移除随机数

    Declaration

    Swift

    public func removeRandomNumber()
  • 运行测试

    Declaration

    Swift

    public func run()