<commit_before>//
//  SubscriptionPeriodAPI.swift
//  SwiftAPITester
//
//  Created by <NAME> on 1/5/22.
//

import RevenueCat

var period: SubscriptionPeriod!

func checkSubscriptionPeriodAPI() {
    _ = SubscriptionPeriod(value: 0, unit: .day)

    let value: Int = period.value
    let unit: SubscriptionPeriod.Unit = period.unit

    print(value, unit)
}

func checkSubscriptionPeriodUnit() {
    let unit: SubscriptionPeriod.Unit = .day

    switch unit {
    case
            .day,<commit_msg>`APITester`: fixed warning in `SubscriptionPeriodAPI` (#2054)<commit_after>//
//  SubscriptionPeriodAPI.swift
//  SwiftAPITester
//
//  Created by <NAME> on 1/5/22.
//

import RevenueCat

var period: SubscriptionPeriod!

func checkSubscriptionPeriodAPI() {
    _ = SubscriptionPeriod(value: 0, unit: .day)

    let value: Int = period.value
    let unit: SubscriptionPeriod.Unit = period.unit

    print(value, unit)
}

func checkSubscriptionPeriodUnit(_ unit: SubscriptionPeriod.Unit = .day) {
    switch unit {
    case
            .day,
{'fraction_non_alphanumeric': 0.11175337186897881, 'fraction_numerical': 0.01348747591522158, 'mean_word_length': 3.156, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2894848', 'n_tokens_mistral': 342, 'n_tokens_neox': 323, 'n_words': 81}