Module talk:Repr/testcases

checkY All tests passed.

Name Expected Actual
checkY testIsLuaIdentifier_containingLowerCaseCharacters_isTrue
checkY testIsLuaIdentifier_containingUpperCaseCharacters_isTrue
checkY testIsLuaIdentifier_containingDigitsAfterFirstPosition_isTrue
checkY testIsLuaIdentifier_containingUnderscores_isTrue
checkY testIsLuaIdentifier_nonString_isFalse
checkY testIsLuaIdentifier_emptyString_isFalse
checkY testIsLuaIdentifier_startingWithNumber_isFalse
checkY testIsLuaIdentifier_containingMultibyteCharacter_isFalse
checkY testIsLuaIdentifier_containingPeriod_isFalse
checkY testIsLuaIdentifier_containingHyphen_isFalse
checkY testIsLuaIdentifier_keyword_and_isFalse
checkY testIsLuaIdentifier_keyword_break_isFalse
checkY testIsLuaIdentifier_keyword_do_isFalse
checkY testIsLuaIdentifier_keyword_else_isFalse
checkY testIsLuaIdentifier_keyword_elseif_isFalse
checkY testIsLuaIdentifier_keyword_end_isFalse
checkY testIsLuaIdentifier_keyword_false_isFalse
checkY testIsLuaIdentifier_keyword_for_isFalse
checkY testIsLuaIdentifier_keyword_function_isFalse
checkY testIsLuaIdentifier_keyword_if_isFalse
checkY testIsLuaIdentifier_keyword_in_isFalse
checkY testIsLuaIdentifier_keyword_local_isFalse
checkY testIsLuaIdentifier_keyword_nil_isFalse
checkY testIsLuaIdentifier_keyword_not_isFalse
checkY testIsLuaIdentifier_keyword_or_isFalse
checkY testIsLuaIdentifier_keyword_repeat_isFalse
checkY testIsLuaIdentifier_keyword_return_isFalse
checkY testIsLuaIdentifier_keyword_then_isFalse
checkY testIsLuaIdentifier_keyword_true_isFalse
checkY testIsLuaIdentifier_keyword_until_isFalse
checkY testIsLuaIdentifier_keyword_while_isFalse
checkY testRepr_nil
checkY testRepr_true
checkY testRepr_false
checkY testRepr_integer
checkY testRepr_float
checkY testRepr_largeInt
checkY testRepr_positiveInfinity
checkY testRepr_negativeInfinity
checkY testRepr_NaN
checkY testRepr_emptyString
checkY testRepr_normalString
checkY testRepr_stringWithQuotes
checkY testRepr_stringWithNewline
checkY testRepr_emptyTable
checkY testRepr_sequenceWithSimpleValues
checkY testRepr_sparseSequence
checkY testRepr_mixedSequenceAndKeys
checkY testRepr_tableWithZeroKey
checkY testRepr_tableWithNegativeIntegerKey
checkY testRepr_tableWithFloatKeys
checkY testRepr_tableWithHugeKey
checkY testRepr_tableWithEmptyStringKey
checkY testRepr_tableWithIdentifierKeys
checkY testRepr_tableWithStringKeysStartingWithNumbers
checkY testRepr_tableWithStringKeysContainingMultibyteCharacters
checkY testRepr_tableWithLuaKeywordKey
checkY testRepr_tableWithBooleanKey
checkY testRepr_tableWithEmptyTableKey
checkY testRepr_nestedSequence
checkY testRepr_nestedTableWithIdentifierKeys
checkY testRepr_tableWithNestedTableKey
checkY testRepr_sequenceKey
checkY testRepr_cyclicSequence
checkY testRepr_cyclicTable
checkY testRepr_cyclicTablePair
checkY testRepr_tableWithSharedSubtables
checkY testRepr_tableWithToStringMethod
checkY testRepr_tableWithToStringMetamethod
checkY testRepr_function
checkY testRepr_tableKeySorting_withExplicitSetting
checkY testRepr_tableKeySorting_withDefaultSetting
checkY testRepr_tableKeySorting_withInheritedSetting
checkY testRepr_prettyPrint_withDefaultSettings
checkY testRepr_prettyPrint_withDefaultSpaces
checkY testRepr_prettyPrint_withTwoSpaces
checkY testRepr_prettyPrint_withSemicolons
checkY testRepr_prettyPrint_withDepthOf1
checkY testRepr_prettyPrint_withNestedTableKey
checkY testRepr_nestedTable_withSemicolons
checkY testInvocationRepr_nameOnly
checkY testInvocationRepr_nameOnly_withNilArgsAndOptions
checkY testInvocationRepr_withSimpleArguments
checkY testInvocationRepr_withTableArguments
checkY testInvocationRepr_withNestedTableArgument
checkY testInvocationRepr_withNestedTableArgument_prettyPrinted
checkY testInvocationRepr_withNestedTableArgument_prettyPrintedWithDepthOf1

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.