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
1. Прости заявки | |
Езикът за създаване на заявки към релационни СУБД | |
(Система за Управление на Бази от Данни) - SQL | |
СУБД = DBMS (Database Management System) | |
SQL - Structured Query Language | |
В името на примерите, дефинираме релацията - Movie(title, year, length, incolor, studioName, producerC#) |
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
package main | |
import "testing" | |
func testSquareSumDiff(n uint64, expected uint64, t *testing.T) { | |
result := SquareSumDifference(n) | |
if result != expected { | |
t.Error("Expected ", expected, ", got ", result) | |
} | |
} |