Created
August 21, 2022 11:45
-
-
Save dvt32/be078cbffad72d6a700be12537868137 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyOwnClass { | |
// Probably should be avoided in most cases, but nice to have the flexibility | |
val `my strange field name` = mutableListOf("a", "b", "c") | |
fun `some method`() { } | |
fun anotherMethod() { | |
`my strange field name`[1] = "d" | |
`some method`() | |
} | |
// Can be very useful when writing JUnit tests | |
fun `someMethod() SHOULD do something WHEN some condition`() { | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment