Lines Matching refs:tc
872 int tc = (n <= 0) ? 0 : n; in main() local
873 expectEquals(12345 + tc * 5, closedFormInductionUpN(n)); in main()
874 expectEquals(12345 - tc * 5, closedFormInductionInAndDownN(12345, n)); in main()
875 expectEquals(tc * 10, closedFormNestedN(n)); in main()
876 expectEquals(12345 + tc * 23 * 7, closedFormNestedNAlt(n)); in main()
877 expectEquals(tc * (tc + 1), closedFormNestedMN(n, n + 1)); in main()
878 expectEquals(12345 + tc * (tc + 1) * 7, closedFormNestedMNAlt(n, n + 1)); in main()
887 int tc = (n <= 0) ? 0 : n; in main() local
888 expectEquals(tc, mainIndexReturnedN(n)); in main()
889 expectEquals(tc, mainIndexShort1((short) n)); in main()
890 expectEquals(tc, mainIndexShort2((short) n)); in main()
891 expectEquals(tc & 1, periodicReturnedN(n)); in main()
892 expectEquals((tc * (tc + 1)) / 2, getSumN(n)); in main()
905 int tc = (n <= 0) ? 0 : n; in main() local
906 boolean even = (tc & 1) == 0; in main()