Refactor entire codebase and rewrite documentation
This commit is contained in:
parent
b4e9755c15
commit
8e471f2b9f
74 changed files with 3341 additions and 4085 deletions
|
|
@ -5,7 +5,7 @@ import DataLiteCore
|
|||
struct RawRepresentableTests {
|
||||
@Test func testRawRepresentableToSQLiteRawValue() {
|
||||
let color: Color = .green
|
||||
#expect(color.sqliteRawValue == .int(1))
|
||||
#expect(color.sqliteValue == .int(1))
|
||||
}
|
||||
|
||||
@Test func testSQLiteRawValueToRawRepresentable() {
|
||||
|
|
@ -19,7 +19,7 @@ struct RawRepresentableTests {
|
|||
}
|
||||
|
||||
private extension RawRepresentableTests {
|
||||
enum Color: Int, SQLiteRawRepresentable {
|
||||
enum Color: Int, SQLiteRepresentable {
|
||||
case red
|
||||
case green
|
||||
case blue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue